comparison src/share/vm/prims/jvmtiTagMap.cpp @ 13052:3cb736f232c7

8185301: [MVT] Add JVM support for -Dvalhalla.mangleClassInfo Summary: Introduction of JVM_CONSTANT_Value to support MVT's name mangling specification for value types Reviewed-by: acorn, dsimms
author lfoltan
date Tue, 25 Jul 2017 16:57:58 -0400
parents d342027d6321
children
comparison
equal deleted inserted replaced
58:54c003f17580 59:d6fe07c96e6d
2890 // references from the constant pool 2890 // references from the constant pool
2891 { 2891 {
2892 ConstantPool* pool = ik->constants(); 2892 ConstantPool* pool = ik->constants();
2893 for (int i = 1; i < pool->length(); i++) { 2893 for (int i = 1; i < pool->length(); i++) {
2894 constantTag tag = pool->tag_at(i).value(); 2894 constantTag tag = pool->tag_at(i).value();
2895 if (tag.is_string() || tag.is_klass()) { 2895 if (tag.is_string() || tag.is_klass() || tag.is_value_type()) {
2896 oop entry; 2896 oop entry;
2897 if (tag.is_string()) { 2897 if (tag.is_string()) {
2898 entry = pool->resolved_string_at(i); 2898 entry = pool->resolved_string_at(i);
2899 // If the entry is non-null it is resolved. 2899 // If the entry is non-null it is resolved.
2900 if (entry == NULL) continue; 2900 if (entry == NULL) continue;