845 /***************************************/ \
846 \
847 nonstatic_field(PcDesc, _pc_offset, int) \
848 nonstatic_field(PcDesc, _scope_decode_offset, int) \
849 nonstatic_field(PcDesc, _obj_decode_offset, int) \
850 nonstatic_field(PcDesc, _flags, int) \
851 \
852 /***************************************************/ \
853 /* CodeBlobs (NOTE: incomplete, but only a little) */ \
854 /***************************************************/ \
855 \
856 nonstatic_field(CodeBlob, _name, const char*) \
857 nonstatic_field(CodeBlob, _size, int) \
858 nonstatic_field(CodeBlob, _header_size, int) \
859 nonstatic_field(CodeBlob, _relocation_size, int) \
860 nonstatic_field(CodeBlob, _content_offset, int) \
861 nonstatic_field(CodeBlob, _code_offset, int) \
862 nonstatic_field(CodeBlob, _frame_complete_offset, int) \
863 nonstatic_field(CodeBlob, _data_offset, int) \
864 nonstatic_field(CodeBlob, _frame_size, int) \
865 nonstatic_field(CodeBlob, _oop_maps, OopMapSet*) \
866 \
867 nonstatic_field(RuntimeStub, _caller_must_gc_arguments, bool) \
868 \
869 /**************************************************/ \
870 /* NMethods (NOTE: incomplete, but only a little) */ \
871 /**************************************************/ \
872 \
873 nonstatic_field(nmethod, _method, Method*) \
874 nonstatic_field(nmethod, _entry_bci, int) \
875 nonstatic_field(nmethod, _osr_link, nmethod*) \
876 nonstatic_field(nmethod, _scavenge_root_link, nmethod*) \
877 nonstatic_field(nmethod, _scavenge_root_state, jbyte) \
878 nonstatic_field(nmethod, _state, volatile unsigned char) \
879 nonstatic_field(nmethod, _exception_offset, int) \
880 nonstatic_field(nmethod, _deoptimize_offset, int) \
881 nonstatic_field(nmethod, _deoptimize_mh_offset, int) \
882 nonstatic_field(nmethod, _orig_pc_offset, int) \
883 nonstatic_field(nmethod, _stub_offset, int) \
884 nonstatic_field(nmethod, _consts_offset, int) \
885 nonstatic_field(nmethod, _oops_offset, int) \
951 nonstatic_field(JavaThread, _stack_size, size_t) \
952 nonstatic_field(JavaThread, _vframe_array_head, vframeArray*) \
953 nonstatic_field(JavaThread, _vframe_array_last, vframeArray*) \
954 nonstatic_field(JavaThread, _satb_mark_queue, ObjPtrQueue) \
955 nonstatic_field(JavaThread, _dirty_card_queue, DirtyCardQueue) \
956 nonstatic_field(Thread, _resource_area, ResourceArea*) \
957 nonstatic_field(CompilerThread, _env, ciEnv*) \
958 \
959 /************/ \
960 /* OSThread */ \
961 /************/ \
962 \
963 volatile_nonstatic_field(OSThread, _interrupted, jint) \
964 \
965 /************************/ \
966 /* OopMap and OopMapSet */ \
967 /************************/ \
968 \
969 nonstatic_field(OopMap, _pc_offset, int) \
970 nonstatic_field(OopMap, _omv_count, int) \
971 nonstatic_field(OopMap, _omv_data_size, int) \
972 nonstatic_field(OopMap, _omv_data, unsigned char*) \
973 nonstatic_field(OopMap, _write_stream, CompressedWriteStream*) \
974 nonstatic_field(OopMapSet, _om_count, int) \
975 nonstatic_field(OopMapSet, _om_size, int) \
976 nonstatic_field(OopMapSet, _om_data, OopMap**) \
977 \
978 /*********************************/ \
979 /* JNIHandles and JNIHandleBlock */ \
980 /*********************************/ \
981 static_field(JNIHandles, _global_handles, JNIHandleBlock*) \
982 static_field(JNIHandles, _weak_global_handles, JNIHandleBlock*) \
983 static_field(JNIHandles, _deleted_handle, oop) \
984 \
985 unchecked_nonstatic_field(JNIHandleBlock, _handles, JNIHandleBlock::block_size_in_oops * sizeof(Oop)) /* Note: no type */ \
986 nonstatic_field(JNIHandleBlock, _top, int) \
987 nonstatic_field(JNIHandleBlock, _next, JNIHandleBlock*) \
988 \
989 /********************/ \
990 /* CompressedStream */ \
991 /********************/ \
992 \
993 nonstatic_field(CompressedStream, _buffer, u_char*) \
994 nonstatic_field(CompressedStream, _position, int) \
995 \
996 /*********************************/ \
997 /* VMRegImpl (NOTE: incomplete) */ \
1675 declare_c2_type(ExceptionBlob, SingletonBlob) \
1676 declare_c2_type(UncommonTrapBlob, CodeBlob) \
1677 \
1678 /***************************************/ \
1679 /* PcDesc and other compiled code info */ \
1680 /***************************************/ \
1681 \
1682 declare_toplevel_type(PcDesc) \
1683 declare_toplevel_type(ExceptionCache) \
1684 declare_toplevel_type(PcDescCache) \
1685 declare_toplevel_type(Dependencies) \
1686 declare_toplevel_type(CompileTask) \
1687 declare_toplevel_type(Deoptimization) \
1688 \
1689 /************************/ \
1690 /* OopMap and OopMapSet */ \
1691 /************************/ \
1692 \
1693 declare_toplevel_type(OopMap) \
1694 declare_toplevel_type(OopMapSet) \
1695 \
1696 /********************/ \
1697 /* CompressedStream */ \
1698 /********************/ \
1699 \
1700 declare_toplevel_type(CompressedStream) \
1701 \
1702 /**************/ \
1703 /* VMRegImpl */ \
1704 /**************/ \
1705 \
1706 declare_toplevel_type(VMRegImpl) \
1707 \
1708 /*********************************/ \
1709 /* JNIHandles and JNIHandleBlock */ \
1710 /*********************************/ \
1711 \
1712 declare_toplevel_type(JNIHandles) \
1713 declare_toplevel_type(JNIHandleBlock) \
1714 declare_toplevel_type(jobject) \
|
845 /***************************************/ \
846 \
847 nonstatic_field(PcDesc, _pc_offset, int) \
848 nonstatic_field(PcDesc, _scope_decode_offset, int) \
849 nonstatic_field(PcDesc, _obj_decode_offset, int) \
850 nonstatic_field(PcDesc, _flags, int) \
851 \
852 /***************************************************/ \
853 /* CodeBlobs (NOTE: incomplete, but only a little) */ \
854 /***************************************************/ \
855 \
856 nonstatic_field(CodeBlob, _name, const char*) \
857 nonstatic_field(CodeBlob, _size, int) \
858 nonstatic_field(CodeBlob, _header_size, int) \
859 nonstatic_field(CodeBlob, _relocation_size, int) \
860 nonstatic_field(CodeBlob, _content_offset, int) \
861 nonstatic_field(CodeBlob, _code_offset, int) \
862 nonstatic_field(CodeBlob, _frame_complete_offset, int) \
863 nonstatic_field(CodeBlob, _data_offset, int) \
864 nonstatic_field(CodeBlob, _frame_size, int) \
865 nonstatic_field(CodeBlob, _oop_maps, ImmutableOopMapSet*) \
866 \
867 nonstatic_field(RuntimeStub, _caller_must_gc_arguments, bool) \
868 \
869 /**************************************************/ \
870 /* NMethods (NOTE: incomplete, but only a little) */ \
871 /**************************************************/ \
872 \
873 nonstatic_field(nmethod, _method, Method*) \
874 nonstatic_field(nmethod, _entry_bci, int) \
875 nonstatic_field(nmethod, _osr_link, nmethod*) \
876 nonstatic_field(nmethod, _scavenge_root_link, nmethod*) \
877 nonstatic_field(nmethod, _scavenge_root_state, jbyte) \
878 nonstatic_field(nmethod, _state, volatile unsigned char) \
879 nonstatic_field(nmethod, _exception_offset, int) \
880 nonstatic_field(nmethod, _deoptimize_offset, int) \
881 nonstatic_field(nmethod, _deoptimize_mh_offset, int) \
882 nonstatic_field(nmethod, _orig_pc_offset, int) \
883 nonstatic_field(nmethod, _stub_offset, int) \
884 nonstatic_field(nmethod, _consts_offset, int) \
885 nonstatic_field(nmethod, _oops_offset, int) \
951 nonstatic_field(JavaThread, _stack_size, size_t) \
952 nonstatic_field(JavaThread, _vframe_array_head, vframeArray*) \
953 nonstatic_field(JavaThread, _vframe_array_last, vframeArray*) \
954 nonstatic_field(JavaThread, _satb_mark_queue, ObjPtrQueue) \
955 nonstatic_field(JavaThread, _dirty_card_queue, DirtyCardQueue) \
956 nonstatic_field(Thread, _resource_area, ResourceArea*) \
957 nonstatic_field(CompilerThread, _env, ciEnv*) \
958 \
959 /************/ \
960 /* OSThread */ \
961 /************/ \
962 \
963 volatile_nonstatic_field(OSThread, _interrupted, jint) \
964 \
965 /************************/ \
966 /* OopMap and OopMapSet */ \
967 /************************/ \
968 \
969 nonstatic_field(OopMap, _pc_offset, int) \
970 nonstatic_field(OopMap, _omv_count, int) \
971 nonstatic_field(OopMap, _write_stream, CompressedWriteStream*) \
972 nonstatic_field(OopMapSet, _om_count, int) \
973 nonstatic_field(OopMapSet, _om_size, int) \
974 nonstatic_field(OopMapSet, _om_data, OopMap**) \
975 \
976 nonstatic_field(ImmutableOopMapSet, _count, int) \
977 nonstatic_field(ImmutableOopMapSet, _size, int) \
978 \
979 nonstatic_field(ImmutableOopMapPair, _pc, int) \
980 nonstatic_field(ImmutableOopMapPair, _offset, int) \
981 \
982 nonstatic_field(ImmutableOopMap, _count, int) \
983 \
984 /*********************************/ \
985 /* JNIHandles and JNIHandleBlock */ \
986 /*********************************/ \
987 static_field(JNIHandles, _global_handles, JNIHandleBlock*) \
988 static_field(JNIHandles, _weak_global_handles, JNIHandleBlock*) \
989 static_field(JNIHandles, _deleted_handle, oop) \
990 \
991 unchecked_nonstatic_field(JNIHandleBlock, _handles, JNIHandleBlock::block_size_in_oops * sizeof(Oop)) /* Note: no type */ \
992 nonstatic_field(JNIHandleBlock, _top, int) \
993 nonstatic_field(JNIHandleBlock, _next, JNIHandleBlock*) \
994 \
995 /********************/ \
996 /* CompressedStream */ \
997 /********************/ \
998 \
999 nonstatic_field(CompressedStream, _buffer, u_char*) \
1000 nonstatic_field(CompressedStream, _position, int) \
1001 \
1002 /*********************************/ \
1003 /* VMRegImpl (NOTE: incomplete) */ \
1681 declare_c2_type(ExceptionBlob, SingletonBlob) \
1682 declare_c2_type(UncommonTrapBlob, CodeBlob) \
1683 \
1684 /***************************************/ \
1685 /* PcDesc and other compiled code info */ \
1686 /***************************************/ \
1687 \
1688 declare_toplevel_type(PcDesc) \
1689 declare_toplevel_type(ExceptionCache) \
1690 declare_toplevel_type(PcDescCache) \
1691 declare_toplevel_type(Dependencies) \
1692 declare_toplevel_type(CompileTask) \
1693 declare_toplevel_type(Deoptimization) \
1694 \
1695 /************************/ \
1696 /* OopMap and OopMapSet */ \
1697 /************************/ \
1698 \
1699 declare_toplevel_type(OopMap) \
1700 declare_toplevel_type(OopMapSet) \
1701 declare_toplevel_type(ImmutableOopMapSet) \
1702 declare_toplevel_type(ImmutableOopMapPair) \
1703 declare_toplevel_type(ImmutableOopMap) \
1704 \
1705 /********************/ \
1706 /* CompressedStream */ \
1707 /********************/ \
1708 \
1709 declare_toplevel_type(CompressedStream) \
1710 \
1711 /**************/ \
1712 /* VMRegImpl */ \
1713 /**************/ \
1714 \
1715 declare_toplevel_type(VMRegImpl) \
1716 \
1717 /*********************************/ \
1718 /* JNIHandles and JNIHandleBlock */ \
1719 /*********************************/ \
1720 \
1721 declare_toplevel_type(JNIHandles) \
1722 declare_toplevel_type(JNIHandleBlock) \
1723 declare_toplevel_type(jobject) \
|