RFR: 8304996: Add missing HandleMarks [v2]

David Holmes dholmes at openjdk.org
Tue Apr 4 02:08:16 UTC 2023


On Thu, 30 Mar 2023 00:46:08 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> David Holmes has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Shipilev feedback - moved HMs back inside the loops.
>
> What are the rules for using HandleMarks? In the HotSpot code, there are plenty of cases where we create a HandleMark without creating any Handles in the immediately following code. There are also plenty of cases where Handles are created in functions that do not have any HandleMarks.

Thanks @iklam !

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

PR Comment: https://git.openjdk.org/jdk/pull/13215#issuecomment-1495234143


More information about the hotspot-runtime-dev mailing list