comparison src/share/vm/runtime/vmStructs.cpp @ 22234:179db500f6e5

Add Java code for reading the constant pool cache plus sun.reflect.ConstantPool substitutions.
author twisti
date Thu, 16 Jul 2015 07:47:07 -0700
parents be896a1983c0
children c28cb37b2e1d
comparison
equal deleted inserted replaced
22233:47172ee39101 22234:179db500f6e5
1008 nonstatic_field(OopMapSet, _om_data, OopMap**) \ 1008 nonstatic_field(OopMapSet, _om_data, OopMap**) \
1009 \ 1009 \
1010 /*********************************/ \ 1010 /*********************************/ \
1011 /* JNIHandles and JNIHandleBlock */ \ 1011 /* JNIHandles and JNIHandleBlock */ \
1012 /*********************************/ \ 1012 /*********************************/ \
1013 \
1014 nonstatic_field(Handle, _handle, oop*) \
1015 \
1013 static_field(JNIHandles, _global_handles, JNIHandleBlock*) \ 1016 static_field(JNIHandles, _global_handles, JNIHandleBlock*) \
1014 static_field(JNIHandles, _weak_global_handles, JNIHandleBlock*) \ 1017 static_field(JNIHandles, _weak_global_handles, JNIHandleBlock*) \
1015 static_field(JNIHandles, _deleted_handle, oop) \ 1018 static_field(JNIHandles, _deleted_handle, oop) \
1016 \ 1019 \
1017 unchecked_nonstatic_field(JNIHandleBlock, _handles, JNIHandleBlock::block_size_in_oops * sizeof(Oop)) /* Note: no type */ \ 1020 unchecked_nonstatic_field(JNIHandleBlock, _handles, JNIHandleBlock::block_size_in_oops * sizeof(Oop)) /* Note: no type */ \
1739 declare_toplevel_type(VMRegImpl) \ 1742 declare_toplevel_type(VMRegImpl) \
1740 \ 1743 \
1741 /*********************************/ \ 1744 /*********************************/ \
1742 /* JNIHandles and JNIHandleBlock */ \ 1745 /* JNIHandles and JNIHandleBlock */ \
1743 /*********************************/ \ 1746 /*********************************/ \
1747 \
1748 declare_toplevel_type(Handle) \
1744 \ 1749 \
1745 declare_toplevel_type(JNIHandles) \ 1750 declare_toplevel_type(JNIHandles) \
1746 declare_toplevel_type(JNIHandleBlock) \ 1751 declare_toplevel_type(JNIHandleBlock) \
1747 declare_toplevel_type(jobject) \ 1752 declare_toplevel_type(jobject) \
1748 \ 1753 \
2536 \ 2541 \
2537 declare_constant(ConstantPoolCacheEntry::is_volatile_shift) \ 2542 declare_constant(ConstantPoolCacheEntry::is_volatile_shift) \
2538 declare_constant(ConstantPoolCacheEntry::is_final_shift) \ 2543 declare_constant(ConstantPoolCacheEntry::is_final_shift) \
2539 declare_constant(ConstantPoolCacheEntry::is_forced_virtual_shift) \ 2544 declare_constant(ConstantPoolCacheEntry::is_forced_virtual_shift) \
2540 declare_constant(ConstantPoolCacheEntry::is_vfinal_shift) \ 2545 declare_constant(ConstantPoolCacheEntry::is_vfinal_shift) \
2546 declare_constant(ConstantPoolCacheEntry::has_appendix_shift) \
2547 declare_constant(ConstantPoolCacheEntry::has_method_type_shift) \
2541 declare_constant(ConstantPoolCacheEntry::is_field_entry_shift) \ 2548 declare_constant(ConstantPoolCacheEntry::is_field_entry_shift) \
2542 declare_constant(ConstantPoolCacheEntry::tos_state_shift) \ 2549 declare_constant(ConstantPoolCacheEntry::tos_state_shift) \
2550 \
2551 declare_constant(ConstantPoolCacheEntry::cp_index_bits) \
2552 declare_constant(ConstantPoolCacheEntry::cp_index_mask) \
2553 declare_constant(ConstantPoolCacheEntry::bytecode_1_shift) \
2554 declare_constant(ConstantPoolCacheEntry::bytecode_1_mask) \
2555 declare_constant(ConstantPoolCacheEntry::bytecode_2_shift) \
2556 declare_constant(ConstantPoolCacheEntry::bytecode_2_mask) \
2557 \
2558 declare_constant(ConstantPoolCacheEntry::_indy_resolved_references_appendix_offset) \
2559 declare_constant(ConstantPoolCacheEntry::_indy_resolved_references_method_type_offset) \
2560 declare_constant(ConstantPoolCacheEntry::_indy_resolved_references_entries) \
2543 \ 2561 \
2544 /***************************************/ \ 2562 /***************************************/ \
2545 /* java_lang_Thread::ThreadStatus enum */ \ 2563 /* java_lang_Thread::ThreadStatus enum */ \
2546 /***************************************/ \ 2564 /***************************************/ \
2547 \ 2565 \