jcstress Whitebox hooks fail on recent JDKs

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: 'boolean sun.hotspot.WhiteBox.isClassAlive0(java.lang.String)'
      at sun.hotspot.WhiteBox.isClassAlive0(Native Method)
      at sun.hotspot.WhiteBox.isClassAlive(WhiteBox.java:47)
      at org.openjdk.jcstress.vm.WhiteBoxSupport.initAndTest(WhiteBoxSupport.java:72)
      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: