mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8151880: EnqueueMethodForCompilationTest.java still fails to compile method
Extract SimpleTestCaseHelper inner class Reviewed-by: kvn
This commit is contained in:
parent
7502a7a7f2
commit
c70e07ccbe
12 changed files with 81 additions and 71 deletions
|
@ -29,7 +29,7 @@
|
|||
* @build LockCompilationTest
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -Xmixed -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI LockCompilationTest
|
||||
* @run main/othervm -Xbootclasspath/a:. -Xmixed -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:-UseCounterDecay LockCompilationTest
|
||||
* @summary testing of WB::lock/unlockCompilation()
|
||||
*/
|
||||
|
||||
|
@ -50,7 +50,7 @@ public class LockCompilationTest extends CompilerWhiteBoxTest {
|
|||
// Only compile SimpleTestCase$Helper.method and exclude all other to ensure no
|
||||
// contention on the compile queue causes problems.
|
||||
String directive =
|
||||
"[{ match:\"*SimpleTestCase$Helper.method\", Exclude:false}, " +
|
||||
"[{ match:\"*SimpleTestCaseHelper.method\", Exclude:false}, " +
|
||||
" { match:\"*.*\", Exclude:true}]";
|
||||
if (WHITE_BOX.addCompilerDirective(directive) != 2) {
|
||||
throw new RuntimeException("Could not add directive");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue