Digital Library

cab1

 
Title:      PERFORMANCE ANALYSIS BETWEEN HASHMAP AND CONCURRENT HASHMAP UPON BUCKET SIZE AND THREAD NUMBERS WITH CONCURRENCY LEVEL
Author(s):      Haklin Kimm and Eun-Joo Lee
ISBN:      978-989-8704-71-9
Editors:      Paula Miranda and Pedro Isaías
Year:      2025
Edition:      Single
Keywords:      Hashing, Java Hashmap, Java Concurrent Hashmap, Threads, Buckets, Concurrency Level
Type:      Short Paper
First Page:      245
Last Page:      249
Language:      English
Cover:      cover          
Full Contents:      if you are a member please login Download
Paper Abstract:      A HashMap is a data structure that enables efficient storage and retrieval of key-value pairs. In this paper, we focus specifically on the Java HashMap and ConcurrentHashMap implementations due to Java's widespread adoption across various industries. To evaluate their performance, we implemented and tested both data structures of HashMaps under multiple conditions—such as bucket size vs. data size, number of threads vs. data size, and bucket size vs. number of threads. We also examined how concurrency levels correlate with the number of threads in ConcurrentHashMap. Our experimental results show that ConcurrentHashMap maintains its accuracy even as the number of updates over HashMap increases, whereas the accuracy of a regular HashMap declines under the same conditions. Additionally, increasing the number of threads improves runtime performance significantly—up to approximately 16 threads—after which the performance gains become marginal.
   

Social Media Links

Search

Login