constantPoolOop.cpp revision 1472
1472N/A * or visit www.oracle.com if you need additional information or have any
0N/A# include "incls/_constantPoolOop.cpp.incl"
0N/A // Acquire lock on constant oop while doing update. After we get the lock, we check if another object
0N/A bool do_resolve = false;
0N/A do_resolve = true;
0N/A if (do_resolve) {
0N/A KlassHandle k;
0N/A if (!HAS_PENDING_EXCEPTION) {
0N/A if (HAS_PENDING_EXCEPTION) {
0N/A bool throw_orig_error = false;
0N/A if (!PENDING_EXCEPTION->
0N/A throw_orig_error = true;
0N/A if (throw_orig_error) {
0N/A if (do_resolve) {
0N/A if (HAS_PENDING_EXCEPTION) {
0N/AklassOop constantPoolOopDesc::klass_ref_at_if_loaded_check(constantPoolHandle this_oop, int index, TRAPS) {
726N/A int signature_index = signature_ref_index_at(impl_name_and_type_ref_index_at(which, uncached));
1059N/A return member_index;
0N/Avoid constantPoolOopDesc::verify_constant_pool_resolve(constantPoolHandle this_oop, KlassHandle k, TRAPS) {
0N/A case JVM_CONSTANT_NameAndType:
0N/A case JVM_CONSTANT_Class:
0N/A case JVM_CONSTANT_Fieldref:
0N/A case JVM_CONSTANT_Methodref:
0N/A case JVM_CONSTANT_Integer:
0N/A case JVM_CONSTANT_Float:
0N/A case JVM_CONSTANT_String:
0N/A case JVM_CONSTANT_Utf8:
0N/A case JVM_CONSTANT_Long:
0N/A case JVM_CONSTANT_Double:
0N/A case JVM_CONSTANT_NameAndType:
0N/A case JVM_CONSTANT_Class:
0N/A case JVM_CONSTANT_Fieldref:
0N/A case JVM_CONSTANT_Methodref:
0N/A case JVM_CONSTANT_Integer:
0N/A case JVM_CONSTANT_Float:
0N/A case JVM_CONSTANT_String:
0N/A case JVM_CONSTANT_Utf8:
0N/A case JVM_CONSTANT_Long:
0N/A case JVM_CONSTANT_Double:
0N/A // that this style of checking will consider resolved/unresolved
0N/A // class pairs and resolved/unresolved string pairs as different.
0N/A case JVM_CONSTANT_Class:
0N/A case JVM_CONSTANT_ClassIndex:
0N/A case JVM_CONSTANT_Double:
0N/A case JVM_CONSTANT_Fieldref:
0N/A case JVM_CONSTANT_Methodref:
0N/A case JVM_CONSTANT_Float:
0N/A case JVM_CONSTANT_Integer:
0N/A case JVM_CONSTANT_Long:
0N/A case JVM_CONSTANT_NameAndType:
0N/A case JVM_CONSTANT_String:
0N/A case JVM_CONSTANT_StringIndex:
0N/A case JVM_CONSTANT_Utf8:
0N/A case JVM_CONSTANT_Double:
0N/A case JVM_CONSTANT_Long:
0N/A case JVM_CONSTANT_Class:
0N/A case JVM_CONSTANT_ClassIndex:
0N/A case JVM_CONSTANT_Double:
0N/A case JVM_CONSTANT_Fieldref:
0N/A case JVM_CONSTANT_Float:
0N/A case JVM_CONSTANT_Integer:
0N/A case JVM_CONSTANT_Long:
0N/A case JVM_CONSTANT_Methodref:
0N/A case JVM_CONSTANT_NameAndType:
0N/A case JVM_CONSTANT_String:
0N/A case JVM_CONSTANT_StringIndex:
0N/A case JVM_CONSTANT_Utf8:
0N/A case JVM_CONSTANT_Invalid: {
0N/A case JVM_CONSTANT_Unicode: {
0N/A case JVM_CONSTANT_Utf8: {
0N/A case JVM_CONSTANT_Integer: {
0N/A case JVM_CONSTANT_Float: {
0N/A case JVM_CONSTANT_Long: {
0N/A case JVM_CONSTANT_Double: {
0N/A case JVM_CONSTANT_Class: {
0N/A case JVM_CONSTANT_String: {
0N/A case JVM_CONSTANT_Fieldref: {
0N/A case JVM_CONSTANT_Methodref: {
0N/A case JVM_CONSTANT_InterfaceMethodref: {
0N/A case JVM_CONSTANT_NameAndType: {
0N/A case JVM_CONSTANT_ClassIndex: {
0N/A case JVM_CONSTANT_UnresolvedClass: {
0N/A case JVM_CONSTANT_StringIndex: {
0N/A case JVM_CONSTANT_UnresolvedString: {
0N/A case JVM_CONSTANT_Invalid:
0N/A case JVM_CONSTANT_Unicode:
0N/A case JVM_CONSTANT_Utf8:
0N/A case JVM_CONSTANT_Class:
0N/A case JVM_CONSTANT_String:
0N/A case JVM_CONSTANT_ClassIndex:
0N/A case JVM_CONSTANT_StringIndex:
0N/A case JVM_CONSTANT_Integer:
0N/A case JVM_CONSTANT_Float:
0N/A case JVM_CONSTANT_Fieldref:
0N/A case JVM_CONSTANT_Methodref:
0N/A case JVM_CONSTANT_NameAndType:
0N/A case JVM_CONSTANT_Long:
0N/A case JVM_CONSTANT_Double:
0N/A case JVM_CONSTANT_Utf8: {
0N/A case JVM_CONSTANT_Class:
0N/A case JVM_CONSTANT_Long:
0N/A case JVM_CONSTANT_Double: {
0N/A case JVM_CONSTANT_Invalid: {
0N/A case JVM_CONSTANT_Unicode: {
0N/A case JVM_CONSTANT_Utf8: {
0N/A case JVM_CONSTANT_Integer: {
0N/A case JVM_CONSTANT_Float: {
0N/A case JVM_CONSTANT_Long: {
0N/A case JVM_CONSTANT_Double: {
0N/A case JVM_CONSTANT_Class:
0N/A case JVM_CONSTANT_String: {
0N/A case JVM_CONSTANT_UnresolvedString: {
0N/A case JVM_CONSTANT_Fieldref:
0N/A case JVM_CONSTANT_Methodref:
0N/A case JVM_CONSTANT_InterfaceMethodref: {
0N/A case JVM_CONSTANT_NameAndType: {
0N/A case JVM_CONSTANT_ClassIndex: {
0N/A case JVM_CONSTANT_StringIndex: {