Two reasons to do this. GC doesn't have to walk ClassLoaderData::_handles. The other reason is that in MVM the resolved references are per-task so not shared in the ClassLoaderData.
Make sure this doesn't affect performance since the interpreter code needs to change to find the mirror from the constant_pool but it's not any more levels of indirection than we have now.
- relates to
-
JDK-8137160 Use Compile::live_nodes instead of Compile::unique() in appropriate places -- followup
-
- Resolved
-
-
JDK-8003421 NPG: Move oops out of InstanceKlass into mirror
-
- Closed
-