RFR (M) #3 CR 8003985: Support @Contended annotation
John Rose
john.r.rose at oracle.com
Wed Dec 12 12:00:57 PST 2012
On Dec 12, 2012, at 7:08 AM, Aleksey Shipilev wrote:
> he updated version is here:
> http://shipilev.net/pub/jdk/hotspot/contended/webrev-8/
>
> Testing:
> - built and tested on Linux x86_64
> - Test8003985 passes on Linux x86_64
> - JPRT is acting corky today, will try to submit a job later
>
> Meanwhile, please take a look at the code.
It's good. Ship it!
— John
P.S. Your test is the fifth jtreg test to use the hack of grabbing the private field Unsafe.theUnsafe. If there is an alternative to that, we should use it. In particular, if jtreg allows test classes to be loaded on the boot class path, then the public method Unsafe.getUnsafe can be used, and that would be much cleaner.
More information about the hotspot-dev
mailing list