RFR: 8319932: [JVMCI] class unloading related tests can fail on libgraal

David Holmes dholmes at openjdk.org
Fri Mar 1 05:52:42 UTC 2024


On Fri, 1 Mar 2024 05:48:12 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Because `TypeProfileWidth` is only 2 when Graal is not being used so there's very little chance of `InitExceptionUnloadTest$SpecialException` being in a type profile (see PR description).
>> 
>> Just to be clear, you're saying I should add `ClassUnloadCommon.triggerUnloading(String... namesOfClassesToBeUnloaded)` in this PR?
>
> Yes please add that and have the test use it. Thanks

> Because TypeProfileWidth is only 2 when Graal is not being used

Okay - I have no idea what TypeProfileWidth is or does.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18044#discussion_r1508510494


More information about the hotspot-runtime-dev mailing list