hg: amber/amber/hotspot: Change constant pool entry of CONSTANT_ConstantDyanmic to:

Remi Forax forax at univ-mlv.fr
Thu May 18 19:16:52 UTC 2017


I would prefer 17 to 21, because 21 is already used internally by ASM :)

Rémi

----- Mail original -----
> De: "paul sandoz" <paul.sandoz at oracle.com>
> À: amber-dev at openjdk.java.net
> Envoyé: Mercredi 17 Mai 2017 01:39:05
> Objet: hg: amber/amber/hotspot: Change constant pool entry of CONSTANT_ConstantDyanmic to:

> Changeset: e0858907e5a7
> Author:    psandoz
> Date:      2017-05-16 14:02 -0700
> URL:       http://hg.openjdk.java.net/amber/amber/hotspot/rev/e0858907e5a7
> 
> Change constant pool entry of CONSTANT_ConstantDyanmic to:
> 
> CONSTANT_ConstantDynamic_info {
> ?   u1 tag; // CONSTANT_ConstantDynamic(17)
>    u2 bootstrap_method_attr_index;
>    u2 name_and_type_index; // type == field descriptor
> }
> 
> and pass along the name and type in the upcall to Java.
> 
> ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/ConstantPool.java
> !
> src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/ClassConstants.java
> !
> src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/tools/jcore/ClassWriter.java
> !
> src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/ui/classbrowser/HTMLGenerator.java
> ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/ConstantTag.java
> !
> src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/CompilerToVM.java
> ! src/share/vm/classfile/classFileParser.cpp
> ! src/share/vm/classfile/systemDictionary.cpp
> ! src/share/vm/classfile/systemDictionary.hpp
> ! src/share/vm/classfile/verifier.cpp
> ! src/share/vm/classfile/vmSymbols.hpp
> ! src/share/vm/oops/constantPool.cpp
> ! src/share/vm/oops/constantPool.hpp
> ! src/share/vm/prims/jvmtiRedefineClasses.cpp


More information about the amber-dev mailing list