comparison src/share/vm/c1x/c1x_CodeInstaller.hpp @ 1434:72cfb36c6bb2

* enabled all jtt tests * added proxy that counts jni calls * honor hotspot stackshadowpages * constant pool caching * monitor enter/exit * arithmetic stubs (frem, drem, ...) * create stack values for debug info * some doc
author Lukas Stadler <lukas.stadler@oracle.com>
date Thu, 30 Sep 2010 17:19:48 -0700
parents efba53f86c4f
children 1afbc44ee576
comparison
equal deleted inserted replaced
1433:efba53f86c4f 1434:72cfb36c6bb2
20 * CA 95054 USA or visit www.sun.com if you need additional information or 20 * CA 95054 USA or visit www.sun.com if you need additional information or
21 * have any questions. 21 * have any questions.
22 * 22 *
23 */ 23 */
24 24
25 /*
26 * This class handles the conversion from a CiTargetMethod to a CodeBlob or an nmethod.
27 */
25 class CodeInstaller { 28 class CodeInstaller {
26 private: 29 private:
27 // this needs to correspond to HotSpotXirGenerator.java 30 // these need to correspond to HotSpotXirGenerator.java
28 enum MarkId { 31 enum MarkId {
29 MARK_VERIFIED_ENTRY = 0x0001, 32 MARK_VERIFIED_ENTRY = 0x0001,
30 MARK_UNVERIFIED_ENTRY = 0x0002, 33 MARK_UNVERIFIED_ENTRY = 0x0002,
31 MARK_OSR_ENTRY = 0x0003, 34 MARK_OSR_ENTRY = 0x0003,
32 MARK_UNWIND_ENTRY = 0x0004, 35 MARK_UNWIND_ENTRY = 0x0004,
78 81
79 // constructor used to create a stub 82 // constructor used to create a stub
80 CodeInstaller(oop target_method, jlong& id); 83 CodeInstaller(oop target_method, jlong& id);
81 84
82 private: 85 private:
86 // extract the fields of the CiTargetMethod
83 void initialize_fields(oop target_method); 87 void initialize_fields(oop target_method);
84 88
85 // perform data and call relocation on the CodeBuffer 89 // perform data and call relocation on the CodeBuffer
86 void initialize_buffer(CodeBuffer& buffer); 90 void initialize_buffer(CodeBuffer& buffer);
87 91