Archives mensuelles : février 2018

HashMap and ConcurrentHashMap Microbenchmark

Is ConcurrentHashMap always faster than HashMap for concurrent access ? If the map is accessible by concurrent threads, ConcurrentHashMap without additional synchronization mechanisms is often enough for reading operations. We may have some delay in the returned values by the … Continuer la lecture

Publié dans benchmark, java, map, microbenchmark, performance en JAVA | Marqué avec | Laisser un commentaire

JMX command line

jmxterm tool (command line tool) Run the command line program : java -jar jmxterm-1.0.0-uber.jar Useful args : -l  host:port to specify a remote jmx connection -u foo -p pass  to specify the jmx user/password Commands :  Open a JMX session : open … Continuer la lecture

Publié dans Non classé | Laisser un commentaire