Mercurial > hg > graal-jvmci-8
comparison src/share/vm/c1x/c1x_CodeInstaller.hpp @ 1938:1aa5b22a7716
Support for custom stack area (needed for deoptimization).
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Mon, 27 Dec 2010 14:22:55 +0100 |
parents | 8d88c9ac9247 |
children | 177398c6147d |
comparison
equal
deleted
inserted
replaced
1937:4853c5cad3aa | 1938:1aa5b22a7716 |
---|---|
57 CodeOffsets _offsets; | 57 CodeOffsets _offsets; |
58 | 58 |
59 arrayOop _code; | 59 arrayOop _code; |
60 jint _code_size; | 60 jint _code_size; |
61 jint _frame_size; | 61 jint _frame_size; |
62 jint _custom_stack_area_offset; | |
62 jint _parameter_count; | 63 jint _parameter_count; |
63 jint _constants_size; | 64 jint _constants_size; |
64 jint _total_size; | 65 jint _total_size; |
65 | 66 |
66 MarkId _next_call_type; | 67 MarkId _next_call_type; |
76 ImplicitExceptionTable _implicit_exception_table; | 77 ImplicitExceptionTable _implicit_exception_table; |
77 | 78 |
78 public: | 79 public: |
79 | 80 |
80 // constructor used to create a method | 81 // constructor used to create a method |
81 CodeInstaller(oop target_method); | 82 CodeInstaller(Handle target_method); |
82 | 83 |
83 // constructor used to create a stub | 84 // constructor used to create a stub |
84 CodeInstaller(oop target_method, jlong& id); | 85 CodeInstaller(Handle target_method, jlong& id); |
85 | 86 |
86 private: | 87 private: |
87 // extract the fields of the CiTargetMethod | 88 // extract the fields of the CiTargetMethod |
88 void initialize_fields(oop target_method); | 89 void initialize_fields(Handle target_method); |
89 | 90 |
90 // perform data and call relocation on the CodeBuffer | 91 // perform data and call relocation on the CodeBuffer |
91 void initialize_buffer(CodeBuffer& buffer); | 92 void initialize_buffer(CodeBuffer& buffer); |
92 | 93 |
93 void site_Safepoint(CodeBuffer& buffer, jint pc_offset, oop site); | 94 void site_Safepoint(CodeBuffer& buffer, jint pc_offset, oop site); |