[crac] RFR: Do not register MethodHandleNatives
Dan Heidinga
heidinga at openjdk.org
Thu May 25 13:17:28 UTC 2023
On Thu, 25 May 2023 12:12:24 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:
> A simple solution for the lambda problem in the CRaC Core: do not register CALL_SITES at all.
>
> A second part of the PR introduces an interface for Cleaner.register() with priority parameter.
src/java.base/share/classes/java/lang/invoke/MethodHandleNatives.java line 94:
> 92: // CleanerFactory class) until cleanup is performed.
> 93: // This PhantomCleanableRef is not registered in any Context as
> 94: // registration cauesed by the core CRaC code leads to deadlock.
Suggestion:
// registration caused by the core CRaC code leads to deadlock.
-------------
PR Review Comment: https://git.openjdk.org/crac/pull/76#discussion_r1205505791
More information about the crac-dev
mailing list