Skip to content

Commit

Permalink
[Misc] Fix package jdk.internal.misc in test TestPreemptWisp2Internal…
Browse files Browse the repository at this point in the history
…Bug.java.

Summary:
Fix package jdk.internal.misc in test TestPreemptWisp2InternalBug.java.

Test Plan: test/jdk/com/alibaba/wisp2/bug/TestPreemptWisp2InternalBug.java

Issue:
#105
  • Loading branch information
nebula-xm authored and ZhaiMo15 committed Aug 1, 2023
1 parent ae4b0d6 commit f4f8856
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static void main(String[] args) throws Exception {
for (int i = 0; i < tasks.length; i++) {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
"-XX:+UseWisp2", "-XX:+UnlockDiagnosticVMOptions", "-XX:+VerboseWisp", "-XX:-Inline",
"--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED",
"--add-exports=java.base/jdk.internal.access=ALL-UNNAMED",
TestPreemptWisp2InternalBug.class.getName(), tasks[i]);
OutputAnalyzer output = new OutputAnalyzer(pb.start());
output.shouldContain("[WISP] preempt was blocked, because wisp internal method on the stack");
Expand Down

0 comments on commit f4f8856

Please sign in to comment.