46
47 static size_t ThreadLocalAllocBuffer_alignment_reserve;
48
49 static CollectedHeap* Universe_collectedHeap;
50 static int Universe_base_vtable_size;
51 static address Universe_narrow_oop_base;
52 static int Universe_narrow_oop_shift;
53 static address Universe_narrow_klass_base;
54 static int Universe_narrow_klass_shift;
55 static uintptr_t Universe_verify_oop_mask;
56 static uintptr_t Universe_verify_oop_bits;
57 static void* Universe_non_oop_bits;
58
59 static bool _supports_inline_contig_alloc;
60 static HeapWord** _heap_end_addr;
61 static HeapWord** _heap_top_addr;
62
63 static jbyte* cardtable_start_address;
64 static int cardtable_shift;
65
66 public:
67 static void initialize();
68 };
69
70 public:
71 static JNINativeMethod methods[];
72 static int methods_count();
73
74 static inline Method* asMethod(jobject jvmci_method) {
75 return (Method*) (address) HotSpotResolvedJavaMethodImpl::metaspaceMethod(jvmci_method);
76 }
77
78 static inline Method* asMethod(Handle jvmci_method) {
79 return (Method*) (address) HotSpotResolvedJavaMethodImpl::metaspaceMethod(jvmci_method);
80 }
81
82 static inline Method* asMethod(oop jvmci_method) {
83 return (Method*) (address) HotSpotResolvedJavaMethodImpl::metaspaceMethod(jvmci_method);
84 }
85
|
46
47 static size_t ThreadLocalAllocBuffer_alignment_reserve;
48
49 static CollectedHeap* Universe_collectedHeap;
50 static int Universe_base_vtable_size;
51 static address Universe_narrow_oop_base;
52 static int Universe_narrow_oop_shift;
53 static address Universe_narrow_klass_base;
54 static int Universe_narrow_klass_shift;
55 static uintptr_t Universe_verify_oop_mask;
56 static uintptr_t Universe_verify_oop_bits;
57 static void* Universe_non_oop_bits;
58
59 static bool _supports_inline_contig_alloc;
60 static HeapWord** _heap_end_addr;
61 static HeapWord** _heap_top_addr;
62
63 static jbyte* cardtable_start_address;
64 static int cardtable_shift;
65
66 static int vm_page_size;
67
68 public:
69 static void initialize();
70 };
71
72 public:
73 static JNINativeMethod methods[];
74 static int methods_count();
75
76 static inline Method* asMethod(jobject jvmci_method) {
77 return (Method*) (address) HotSpotResolvedJavaMethodImpl::metaspaceMethod(jvmci_method);
78 }
79
80 static inline Method* asMethod(Handle jvmci_method) {
81 return (Method*) (address) HotSpotResolvedJavaMethodImpl::metaspaceMethod(jvmci_method);
82 }
83
84 static inline Method* asMethod(oop jvmci_method) {
85 return (Method*) (address) HotSpotResolvedJavaMethodImpl::metaspaceMethod(jvmci_method);
86 }
87
|