RFR: 8287854: Dangling reference in ClassVerifier::verify_class

Coleen Phillimore coleenp at openjdk.java.net
Wed Jun 8 13:31:31 UTC 2022


On Tue, 7 Jun 2022 23:52:52 GMT, Harold Seigel <hseigel at openjdk.org> wrote:

> Please review this small change to fix JDK_8287854.  The fix was tested with JCK lang and VM tests, Mach5 tiers 1 and 2 on Linux, Mac OS, and Windows (in progress), and Mach5 tiers 3-5 on Linux x64.
> 
> Thanks, Harold

I think this table should be created in the ClassVerifier constructor instead.  Is there only this one caller of verify_class() ?
    ClassVerifier split_verifier(jt, klass);
    // We don't use CHECK here, or on inference_verify below, so that we can log any exception.
    split_verifier.verify_class(THREAD);

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

PR: https://git.openjdk.java.net/jdk/pull/9075


More information about the hotspot-runtime-dev mailing list