RFR: 8299275: Add resolved_references verification code
Ioi Lam
iklam at openjdk.org
Thu Jan 5 00:28:50 UTC 2023
On Wed, 4 Jan 2023 23:05:36 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> I added some verification code to try to help track down JDK-8296915 (https://bugs.openjdk.org/browse/JDK-8296915).
> Ran Test: runtime/SelectionResolution/InvokeInterfaceSuccessTest.java 100x with -XX:+VerifyBefore/AfterGC.
> Tested with tier1-4.
Although the title of this PR is "Add resolved_references verification code", it's not obvious to me how resolved_references are touched by the changes.
src/hotspot/share/classfile/classLoaderData.cpp line 1059:
> 1057: Metadata* m = _deallocate_list->at(i);
> 1058: if (m->is_klass()) {
> 1059: ((InstanceKlass*)m)->verify();
There's no `InstanceKlass::verify()` method. Do you mean `((Klass*)m)->verify()` ?
-------------
PR: https://git.openjdk.org/jdk/pull/11856
More information about the hotspot-dev
mailing list