RFR(S/M): 8069160: serviceability/dcmd/compiler/CompilerQueueTest.java fails due to class not found
vladimir.kozlov at oracle.com
Thu Feb 25 00:40:01 UTC 2016
On 2/24/16 6:06 AM, Nils Eliasson wrote:
> I need a review of this fix of the CompilerQueueTest.
> This test was checking the output from the Compiler.queue diagnostic
> command - testing each queue entry by reflection. This was fragile
> because different methods end up in the queue every run and what classes
> are reflectable changes over time.
> In the improved version the whitebox API is used to block compilation
> and then enqueue methods for all available compilation levels. Then the
> jcmd is executed and the output is verified to contain the specific test
> methods. In some scenarios where the compile queue is overwhelmed by
> requestm, entries might get evicted. The test take that into account too.
> Run test on all platforms
> Bug: https://bugs.openjdk.java.net/browse/JDK-8069160
> Webrev: http://cr.openjdk.java.net/~neliasso/8069160/webrev.03/
> Best regards,
> Nils Eliasson
More information about the hotspot-compiler-dev