RFR (M) #5 CR 8003985: Support @Contended annotation
Aleksey Shipilev
aleksey.shipilev at oracle.com
Wed Jan 16 01:18:04 PST 2013
On 01/16/2013 01:07 PM, Staffan Larsen wrote:
>>> If you run the jstack launcher from the jdk bin directory you have to
>>> run with the -F flag to use the SA version of jstack. Normally it
>>> uses code in Hotspot to do deadlock detection and print
>>> stacktraces.
>>
>> Ok, I see, thanks. "jstack -F" fails on all combinations, including
>> jdk7u12-ea vs. jdk7u12-ea with:
>>
>> Attaching to process ID 20721, please wait...
>> Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException:
>> Can't attach to the process
>>
>> I will be glad to follow up on this, if only I could reproduce this
>> locally. Is there something else should be enabled to reproduce this?
>
> It needs to be run as root to be able to attach to the process as a debugger.
Gotcha. hotspot-rt -> hotspot-rt fails with the exception you mention.
Looking. Thanks!
-Aleksey.
More information about the hotspot-dev
mailing list