Javamex

Java programming and performance

Discussion of medium to advanced level topics of Java programming, including Java performance.

Latest Activity

Michael R. Dunlavey added a discussion
Neil - I think you've done an impressive job with your thread-profiling package. Let me relay my experience on the subject, which is in plenty of languages, but not yet in Java. Ever play one of those arcade games where something pops up and you n...
10 hours ago
Michael R. Dunlavey is now a member of Javamex
10 hours ago
Please take a look at the updated version of Classmexer I've posted which should resolve the issues you mention.
November 3
Thanks I'll have a look at these issues.
November 3
Günter added a discussion
Hi Neil, first of all, thank you for all your efforts on javamex in general and with classmexer in particular. Unfortunately I have to say that the results of classmexer (0.02b on jdk 1.5.0) are plainly wrong. After some experimentation, I found...
November 3
Günter is now a member of Javamex
November 3
Thanks for the fast and good advise ! Regarding your question whether it matters if a threads continue to reference the old map while the new one is actually loaded. It could matter. But in either case I'll investigate a bit more the first (vola...
October 27
Sorry, some of my answer got chopped. Agh! So with FutureTask, you have a volatile reference to a FutureTask, whose call() method loads the data: private volatile FutureTask < Map> ft; Then your loadMapData() actually replaces the ft: private ...
October 26
There are a number of solutions to this depending on a few details of your requirements. I would probably opt for a plain old (possibly read-only) HashMap to store the data, and concentrate on the problem of how you manage the REFERENCE to this h...
October 26
EDH added a discussion
I've read http://www.javamex.com/tutorials/synchronization_concurrency_8_hashmap.shtml I'm wondering what the best and most performant option is given that my HashMap will be read intensively by multiple threads whereas it will be only sporadical...
October 26
EDH is now a member of Javamex
October 26
Yvonne Morris is now a member of Javamex
September 30
Cory added a discussion
Hi Neil, I would really love to use the classmexer agent. When running it from a standalone application, things work great for me. When I include the file in my web application, deployed to oc4j, I get an IllegalAccessError. I believe this error ...
September 23
Sorry! I do not wish to wait for the CR (Return Key). Thanks.
September 22
Sven Turnau added a discussion
I wish to read from console character after character and not waiting for pushing the key. Thanks.
September 22
Sven Turnau is now a member of Javamex
September 22
 

Forum

Michael R. Dunlavey

On thread profiling

Started by Michael R. Dunlavey in Java Performance 10 hours ago.

Günter

Classmexer gives wrong results 2 Replies

Started by Günter in Miscellaneous Java Topics. Last reply by Neil Coffey Nov 3.

EDH

Concurrent Hashmap 3 Replies

Started by EDH in Collections, Data Structures and Algorithms. Last reply by EDH Oct 27.

Sven Turnau

Not blocking character input 1 Reply

Started by Sven Turnau in Getting Started with Java. Last reply by Sven Turnau Sep 22.

Roman Romm

Volatile arrays in Java 1 Reply

Started by Roman Romm in Java Performance. Last reply by Neil Coffey Jul 21.

Chris Trevarthen

Java Cryptography Tutorial - Very Helpful

Started by Chris Trevarthen in Java Cryptography Jun 22.

Roman Romm

Avoiding Context Switch 1 Reply

Started by Roman Romm in Java Threading and Concurrency. Last reply by Neil Coffey Jun 11.

 
 

About

Neil Coffey Neil Coffey created this social network on Ning.

Create your own social network!

 

© 2009   Created by Neil Coffey on Ning.   Create Your Own Social Network

Badges  |  Report an Issue  |  Privacy  |  Terms of Service

Sign in to chat!