RFR: 8256640: assert(!m->is_old() || ik()->is_being_redefined()) failed: old methods should not be in vtable

Jie Fu jiefu at openjdk.java.net
Thu Nov 19 12:20:07 UTC 2020


Hi all,

java/lang/instrument/IsModifiableClassAgent.java fails after JDK-8256365.
The reason is that the newly added assert [1] doesn't consider the case when the super class had been redefined.

Please review it.

Thanks.
Best regards,
Jie

[1] https://github.com/openjdk/jdk/blob/master/src/hotspot/share/oops/klassVtable.cpp#L564

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

Commit messages:
 - 8256640: assert(!m->is_old() || ik()->is_being_redefined()) failed: old methods should not be in vtable

Changes: https://git.openjdk.java.net/jdk/pull/1313/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1313&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8256640
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1313.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1313/head:pull/1313

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


More information about the hotspot-runtime-dev mailing list