Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6089e42

Browse files
author
duyang
committed
add comment
1 parent1cee9a4 commit6089e42

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

‎hotspot/src/share/vm/c1/c1_Compiler.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ Compiler::~Compiler() {
5454

5555

5656
voidCompiler::initialize_all() {
57+
//CompilerThread 专门用于jit编译的线程
5758
BufferBlob* buffer_blob =CompilerThread::current()->get_buffer_blob();
59+
//Arena allocation时的memory pool
5860
Arena* arena =newArena();
5961
Runtime1::initialize(buffer_blob);
6062
FrameMap::initialize();

‎hotspot/src/share/vm/c1/c1_Runtime1.hpp

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,40 @@ class Runtime1: public AllStatic {
8383

8484
public:
8585
enum StubID {
86+
//宏展开
87+
// dtrace_object_alloc_id , \
88+
// unwind_exception_id , \
89+
// forward_exception_id , \
90+
// throw_range_check_failed_id , /* throws ArrayIndexOutOfBoundsException */ \
91+
// throw_index_exception_id , /* throws IndexOutOfBoundsException */ \
92+
// throw_div0_exception_id , \
93+
// throw_null_pointer_exception_id , \
94+
// register_finalizer_id , \
95+
// new_instance_id , \
96+
// fast_new_instance_id , \
97+
// fast_new_instance_init_check_id , \
98+
// new_type_array_id , \
99+
// new_object_array_id , \
100+
// new_multi_array_id , \
101+
// handle_exception_nofpu_id , /* optimized version that does not preserve fpu registers */ \
102+
// handle_exception_id , \
103+
// handle_exception_from_callee_id , \
104+
// throw_array_store_exception_id , \
105+
// throw_class_cast_exception_id , \
106+
// throw_incompatible_class_change_error_id , \
107+
// slow_subtype_check_id , \
108+
// monitorenter_id , \
109+
// monitorenter_nofpu_id , /* optimized version that does not preserve fpu registers */ \
110+
// monitorexit_id , \
111+
// monitorexit_nofpu_id , /* optimized version that does not preserve fpu registers */ \
112+
// access_field_patching_id , \
113+
// load_klass_patching_id , \
114+
// jvmti_exception_throw_id , \
115+
// g1_pre_barrier_slow_id , \
116+
// g1_post_barrier_slow_id , \
117+
// fpu2long_stub_id , \
118+
// counter_overflow_id , \
119+
// number_of_ids
86120
RUNTIME1_STUBS(DECLARE_STUB_ID, DECLARE_LAST_STUB_ID)
87121
};
88122

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp