RFR: 8288064: Class initialization locking
David Holmes
dholmes at openjdk.java.net
Tue Jun 14 23:21:39 UTC 2022
On Mon, 13 Jun 2022 17:02:44 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> Use a native JVM monitor and state for mutual exclusion for class linking and initialization. See CR for more details.
> Tested with tier1-8. tiers 1-4 on Oracle supported platforms and 5-8 on linux-x64-debug. There isn't any platform dependent code in this change.
src/hotspot/share/oops/cpCache.cpp line 269:
> 267: if (invoke_code == Bytecodes::_invokestatic) {
> 268: assert(method->method_holder()->is_initialized() ||
> 269: method->method_holder()->is_reentrant(Thread::current()),
Please change this back - `is_reentrant` has no meaning by itself, reentrant with respect to what?
-------------
PR: https://git.openjdk.org/jdk/pull/9141
More information about the serviceability-dev
mailing list