RFR: 8298059: Linked stack watermarks don't support nesting [v3]
David Holmes
dholmes at openjdk.org
Wed Dec 7 21:19:04 UTC 2022
On Tue, 6 Dec 2022 13:23:29 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:
>> The KeepStackGCProcessedMark facility used to ensure a thread (possibly remote) remains fully processed in its scope, has not yet had to support nesting. As it turns out, they can now nest after JDK-8294924. So this patch adds support for nesting. Tested ZGC specific tests tier 1-8, general testing 1-3 and manually tested the two tests that failed and got problem listed.
>
> Erik Österlund has updated the pull request incrementally with one additional commit since the last revision:
>
> Change from mtInternal to mtThread
Yes please add an assert. Until such code exists that accesses from a different thread you can't really know what the right locking strategy would be - e.g. lock rank, nesting, etc.
-------------
PR: https://git.openjdk.org/jdk/pull/11530
More information about the hotspot-runtime-dev
mailing list