jcstress Whitebox hooks fail on JDK 8

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      $ java -jar jcstress-samples/target/jcstress.jar -t JMMSample_01
      ...
      ----- [FAILED] Unlocking Whitebox API for online de-optimization: selected methods
      Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.hotspot.WhiteBox.deoptimizeMethod0(Ljava/lang/reflect/Executable;Z)I
      at sun.hotspot.WhiteBox.deoptimizeMethod0(Native Method)
      at sun.hotspot.WhiteBox.deoptimizeMethod(WhiteBox.java:43)
      at sun.hotspot.WhiteBox.deoptimizeMethod(WhiteBox.java:38)
      at org.openjdk.jcstress.vm.WhiteBoxSupport.initAndTest(WhiteBoxSupport.java:71)
      at org.openjdk.jcstress.vm.WhiteBoxSupport.init(WhiteBoxSupport.java:60)
      at org.openjdk.jcstress.vm.DeoptMethodTestMain.main(DeoptMethodTestMain.java:30)

            Assignee:
            Aleksey Shipilev
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: