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

Matthias Baesken mbaesken at openjdk.org
Mon Jul 18 08:12:06 UTC 2022


On Fri, 15 Jul 2022 14:25:47 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   add test for JitRestart
>
> 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 ?

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

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


More information about the hotspot-dev mailing list