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

serguei.spitsyn at oracle.com serguei.spitsyn at oracle.com
Fri Jul 6 17:47:57 UTC 2018


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