Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalCodeInstaller.hpp @ 7935:0799a7efbe7b
Clean up of usage of marks and code installation.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 05 Mar 2013 19:00:23 +0100 |
parents | a7a93887b4c4 |
children | c66aa27ef4da |
comparison
equal
deleted
inserted
replaced
7934:6b3c05de9521 | 7935:0799a7efbe7b |
---|---|
29 */ | 29 */ |
30 class CodeInstaller { | 30 class CodeInstaller { |
31 private: | 31 private: |
32 // these need to correspond to Marks.java | 32 // these need to correspond to Marks.java |
33 enum MarkId { | 33 enum MarkId { |
34 MARK_VERIFIED_ENTRY = 0x0001, | 34 MARK_VERIFIED_ENTRY = 1, |
35 MARK_UNVERIFIED_ENTRY = 0x0002, | 35 MARK_UNVERIFIED_ENTRY = 2, |
36 MARK_OSR_ENTRY = 0x0003, | 36 MARK_OSR_ENTRY = 3, |
37 //MARK_UNWIND_ENTRY = 0x0004, | 37 MARK_EXCEPTION_HANDLER_ENTRY = 4, |
38 MARK_EXCEPTION_HANDLER_ENTRY = 0x0005, | 38 MARK_DEOPT_HANDLER_ENTRY = 5, |
39 MARK_DEOPT_HANDLER_ENTRY = 0x0006, | 39 MARK_INVOKEINTERFACE = 6, |
40 MARK_STATIC_CALL_STUB = 0x1000, | 40 MARK_INVOKEVIRTUAL = 7, |
41 MARK_INVOKE_INVALID = 0x2000, | 41 MARK_INLINE_INVOKE = 8, |
42 MARK_INVOKEINTERFACE = 0x2001, | 42 MARK_POLL_NEAR = 9, |
43 MARK_INVOKESTATIC = 0x2002, | 43 MARK_POLL_RETURN_NEAR = 10, |
44 MARK_INVOKESPECIAL = 0x2003, | 44 MARK_POLL_FAR = 11, |
45 MARK_INVOKEVIRTUAL = 0x2004, | 45 MARK_POLL_RETURN_FAR = 12, |
46 MARK_INLINE_INVOKEVIRTUAL = 0x2005, | 46 MARK_INVOKE_INVALID = -1 |
47 MARK_IMPLICIT_NULL = 0x3000, | |
48 MARK_POLL_NEAR = 0x3001, | |
49 MARK_POLL_RETURN_NEAR = 0x3002, | |
50 MARK_POLL_FAR = 0x3003, | |
51 MARK_POLL_RETURN_FAR = 0x3004 | |
52 }; | 47 }; |
53 | 48 |
54 Arena _arena; | 49 Arena _arena; |
55 | 50 |
56 oop _comp_result; | 51 oop _comp_result; |
75 | 70 |
76 OopRecorder* _oop_recorder; | 71 OopRecorder* _oop_recorder; |
77 DebugInformationRecorder* _debug_recorder; | 72 DebugInformationRecorder* _debug_recorder; |
78 Dependencies* _dependencies; | 73 Dependencies* _dependencies; |
79 ExceptionHandlerTable _exception_handler_table; | 74 ExceptionHandlerTable _exception_handler_table; |
80 ImplicitExceptionTable _implicit_exception_table; | |
81 | 75 |
82 public: | 76 public: |
83 | 77 |
84 // constructor used to create a method | 78 // constructor used to create a method |
85 CodeInstaller(Handle& comp_result, methodHandle method, GraalEnv::CodeInstallResult& result, nmethod*& nm, Handle installed_code); | 79 CodeInstaller(Handle& comp_result, methodHandle method, GraalEnv::CodeInstallResult& result, nmethod*& nm, Handle installed_code); |