Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalCodeInstaller.hpp @ 5554:70f715dfbb41
Bring Java renamings and restructurings to the C++ part.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 10 Jun 2012 01:17:48 +0200 |
parents | 290b3025b66f |
children | 120820e30baa |
comparison
equal
deleted
inserted
replaced
5553:511612d1b5c1 | 5554:70f715dfbb41 |
---|---|
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 | 23 |
24 /* | 24 /* |
25 * This class handles the conversion from a CiTargetMethod to a CodeBlob or an nmethod. | 25 * This class handles the conversion from a InstalledCode to a CodeBlob or an nmethod. |
26 */ | 26 */ |
27 class CodeInstaller { | 27 class CodeInstaller { |
28 private: | 28 private: |
29 // these need to correspond to HotSpotXirGenerator.java | 29 // these need to correspond to HotSpotXirGenerator.java |
30 enum MarkId { | 30 enum MarkId { |
88 CodeInstaller(Handle& target_method, BufferBlob*& blob, jlong& id); | 88 CodeInstaller(Handle& target_method, BufferBlob*& blob, jlong& id); |
89 | 89 |
90 static address runtime_call_target_address(oop runtime_call); | 90 static address runtime_call_target_address(oop runtime_call); |
91 | 91 |
92 private: | 92 private: |
93 // extract the fields of the CiTargetMethod | 93 // extract the fields of the InstalledCode |
94 void initialize_fields(oop target_method); | 94 void initialize_fields(oop target_method); |
95 void initialize_assumptions(oop target_method); | 95 void initialize_assumptions(oop target_method); |
96 | 96 |
97 // perform data and call relocation on the CodeBuffer | 97 // perform data and call relocation on the CodeBuffer |
98 void initialize_buffer(CodeBuffer& buffer); | 98 void initialize_buffer(CodeBuffer& buffer); |