RFR: JDK-8289524: Add JFR JIT restart event [v5]

Matthias Baesken mbaesken at openjdk.org
Mon Jul 18 09:16:04 UTC 2022


On Mon, 18 Jul 2022 08:07:42 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> test/jdk/jdk/jfr/event/compiler/TestJitRestart.java line 33:
>> 
>>> 31: import jdk.test.lib.jfr.EventNames;
>>> 32: import jdk.test.lib.jfr.Events;
>>> 33: import sun.hotspot.WhiteBox;
>> 
>> This package has been removed. Please use jdk.test.whitebox.WhiteBox.
>
> Hi Coleen thanks for the advice.  After switching to the new package  jdk.test.whitebox.WhiteBox  I get 
> java.lang.UnsatisfiedLinkError: 'void sun.hotspot.WhiteBox.registerNatives()'
> Do I need to do more than just renaming the package ?

Had to change BlobType import  too, this one is also in a new package.

-------------

PR: https://git.openjdk.org/jdk/pull/9334


More information about the hotspot-dev mailing list