test/compiler/rtm/locking/TestRTMAfterNonRTMDeopt.java

Print this page
rev 6415 : [mq]: 8011397.WhiteBoxPermission

*** 29,40 **** * caused by reason other then rtm_state_change will reset * method's RTM state. And if we don't use RTMDeopt, then * RTM state remain the same after such deoptimization. * @library /testlibrary /testlibrary/whitebox /compiler/testlibrary * @build TestRTMAfterNonRTMDeopt ! * @run main ClassFileInstaller sun.hotspot.WhiteBox ! * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI TestRTMAfterNonRTMDeopt */ import java.util.List; import com.oracle.java.testlibrary.*; --- 29,39 ---- * caused by reason other then rtm_state_change will reset * method's RTM state. And if we don't use RTMDeopt, then * RTM state remain the same after such deoptimization. * @library /testlibrary /testlibrary/whitebox /compiler/testlibrary * @build TestRTMAfterNonRTMDeopt ! * @run main/othervm/bootclasspath -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI TestRTMAfterNonRTMDeopt */ import java.util.List; import com.oracle.java.testlibrary.*;