comparison src/share/vm/graal/graalCompiler.hpp @ 3555:22d11b3bc561

Various hacks to be able to install machine code from a Java thread.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 24 Aug 2011 01:05:02 +0200
parents f00918f35c7f
children b3f0f8a01ca2
comparison
equal deleted inserted replaced
3554:b20889b42d12 3555:22d11b3bc561
59 59
60 static oop get_RiType(ciType *klass, KlassHandle accessor, TRAPS); 60 static oop get_RiType(ciType *klass, KlassHandle accessor, TRAPS);
61 static oop get_RiField(ciField *ciField, ciInstanceKlass* accessor_klass, KlassHandle accessor, Bytecodes::Code byteCode, TRAPS); 61 static oop get_RiField(ciField *ciField, ciInstanceKlass* accessor_klass, KlassHandle accessor, Bytecodes::Code byteCode, TRAPS);
62 62
63 static oop createHotSpotTypeResolved(KlassHandle klass, Handle name, TRAPS); 63 static oop createHotSpotTypeResolved(KlassHandle klass, Handle name, TRAPS);
64 static oop createHotSpotMethodResolved(methodHandle method, Handle name, TRAPS); 64 static oop createHotSpotMethodResolved(methodHandle method, TRAPS);
65 65
66 void exit(); 66 void exit();
67 67
68 static BasicType kindToBasicType(jchar ch); 68 static BasicType kindToBasicType(jchar ch);
69 69
73 // Tag. 73 // Tag.
74 index = index + constantPoolOopDesc::CPCACHE_INDEX_TAG; 74 index = index + constantPoolOopDesc::CPCACHE_INDEX_TAG;
75 return index; 75 return index;
76 } 76 }
77 77
78 private: 78 static void initialize_buffer_blob();
79
80 void initialize_buffer_blob();
81 }; 79 };
82 80
83 // Tracing macros 81 // Tracing macros
84 82
85 #define IF_TRACE_graal_1 if (!(TraceGraal >= 1)) ; else 83 #define IF_TRACE_graal_1 if (!(TraceGraal >= 1)) ; else