hg: valhalla/valhalla: VM support for classData

David Holmes david.holmes at oracle.com
Wed Nov 14 09:52:15 UTC 2018


FYI this replaces the initial prototype implementation of classData 
(using a table in Java code) with a VM based implementation using an 
injected field. We need to use the VM for this to ensure the classData 
is set before the newly defined class is visible and its code executed.

David

On 14/11/2018 7:44 pm, david.holmes at oracle.com wrote:
> Changeset: 0d1ec73b6d87
> Author:    dholmes
> Date:      2018-11-14 04:44 -0500
> URL:       http://hg.openjdk.java.net/valhalla/valhalla/rev/0d1ec73b6d87
> 
> VM support for classData
> Summary: store classData in an injected filed of the java.lang.Class instance
> Reviewed-by: lfoltan, mchung
> 
> ! src/hotspot/share/classfile/classFileParser.cpp
> ! src/hotspot/share/classfile/classFileParser.hpp
> ! src/hotspot/share/classfile/classLoader.cpp
> ! src/hotspot/share/classfile/classLoaderExt.cpp
> ! src/hotspot/share/classfile/javaClasses.cpp
> ! src/hotspot/share/classfile/javaClasses.hpp
> ! src/hotspot/share/classfile/klassFactory.cpp
> ! src/hotspot/share/classfile/klassFactory.hpp
> ! src/hotspot/share/classfile/systemDictionary.cpp
> ! src/hotspot/share/classfile/systemDictionary.hpp
> ! src/hotspot/share/classfile/vmSymbols.hpp
> ! src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp
> ! src/hotspot/share/oops/arrayKlass.cpp
> ! src/hotspot/share/oops/klass.cpp
> ! src/hotspot/share/prims/jvm.cpp
> ! src/hotspot/share/prims/methodHandles.cpp
> ! src/hotspot/share/prims/unsafe.cpp
> ! src/java.base/share/classes/java/lang/invoke/MethodHandleNatives.java
> ! src/java.base/share/classes/java/lang/invoke/MethodHandles.java
> 


More information about the valhalla-dev mailing list