(11) RFR (XS): 8205966: [testbug] New Nestmates JDI test times out with Xcomp on sparc

David Holmes david.holmes at oracle.com
Sun Jul 8 23:59:10 UTC 2018


Thanks Serguei!

David

On 7/07/2018 3:47 AM, serguei.spitsyn at oracle.com wrote:
> Hi David,
> 
> It looks good.
> I agree with Mikael, it is a nice speedup!
> 
> Thanks,
> Serguei
> 
> 
> 
> On 7/5/18 22:21, David Holmes wrote:
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8205966
>> webrev: http://cr.openjdk.java.net/~dholmes/8205966/webrev/
>>
>> One of the @run variants was taking around 15x longer to execute. That 
>> variant uses the InMemoryJavaCompiler which involves a lot of classes 
>> and code execution. The test was enabling method entry event 
>> generation for all of main, resulting in the massive slowdown.
>>
>> The fix is to add a new breakpoint() function that gets called after 
>> the in-memory compilation setup is done, and we initially run the test 
>> to that point before enabling the events.
>>
>> The problem @run now only takes 2x the other tests and so should avoid 
>> the timeouts.
>>
>> Testing: mach5 tier4 solaris-sparc
>>          mach5 tier 1-3
>>
>> Thanks,
>> David
> 


More information about the serviceability-dev mailing list