RFR(S): 8086134 Deadlock detection fails to attach to core file

Dmitry Samersoff dmitry.samersoff at oracle.com
Tue Sep 8 10:14:58 UTC 2015


Everybody,

Please, review:

http://cr.openjdk.java.net/~dsamersoff/JDK-8086134/webrev.03/

Changes to previous version:

1. LingeredAppWithDeadLock moved to <root>/test
2. Use Phaser to deadlock

-Dmitry


On 2015-09-04 12:21, Jaroslav Bachorik wrote:
> Hi Dmitry,
> 
> On 3.9.2015 18:38, Dmitry Samersoff wrote:
>> Everybody,
>>
>> Please, review updated webrev:
>>
>> http://cr.openjdk.java.net/~dsamersoff/JDK-8086134/webrev.02/
>>
>> LingeredApp changed to better work on slow embedded platforms,
>> fixed bug in hotspot version of test.
> 
> Overall it looks good. However, you can use Phaser in the
> LingeredAppWithDeadlock to hit the deadlock for sure. Sorry for not
> noticing this earlier :(
> 
> -JB-
> 
>>
>>
>> On 2015-08-19 20:10, Dmitry Samersoff wrote:
>>> Everybody,
>>>
>>> Please, review test-only fix.
>>>
>>> http://cr.openjdk.java.net/~dsamersoff/JDK-8086134/webrev.01/
>>>
>>> The test is rewritten to use testlibrary and to detect common bad
>>> environment conditions.
>>>
>>> Tests in Hotspot and JDK workspaces are identical, except imports and
>>> the fact that JDK version runs
>>> jstack but hotspot version runs jhsdb (sa launcher).
>>>
>>> -Dmitry
>>>
>>>
>>
>>
> 


-- 
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.


More information about the serviceability-dev mailing list