I don't see anywhere in HotSpot that uses
java_lang_invoke_ResolvedMethodName::_vmholder_offset, which is declared
here:
http://hg.openjdk.java.net/jdk/jdk/file/7444101401b2/src/hotspot/share/classfile/javaClasses.hpp#l1057
http://hg.openjdk.java.net/jdk/jdk/file/9608f7f41c4e/src/java.base/shar
Ioi,
Though the field is never accessed directly,
ResolvedMethodName::vmholder is still tracked by GC and keeps the
metadata it accompanies (RMN::vmtarget) alive until RMN is reachable.
Best regards,
Vladimir Ivanov
On 5/7/18 17:29, Ioi Lam wrote:
I don't see anywhere in HotSpot that uses
j
Hi Vladimir,
Where does the GC tracks the vmholder? I did a grep of 'vmholder' in all
the source code and I can't find anything.
Thanks
- Ioi
On 5/7/18 5:45 PM, Vladimir Ivanov wrote:
Ioi,
Though the field is never accessed directly,
ResolvedMethodName::vmholder is still tracked by GC an
Where does the GC tracks the vmholder? I did a grep of 'vmholder' in all
the source code and I can't find anything.
There's a notion of injected fields in HotSpot which aren't present in
class declaration, but present in the class at runtime (for details see
JavaClasses::get_injected() calle