Mercurial > hg > graal-compiler
comparison src/share/vm/ci/ciObject.hpp @ 1406:35069ca331f2
Hooked C1XCompiler class into the system.
Two new flags:
-XX:+UseC1X makes sure that the C1X compiler is used instead of C1
-XX:TraceC1X=0 sets the trace level for C1X (value between 0=no output and 5=verbose)
author | Thomas Wuerthinger <thomas.wuerthinger@gmail.com> |
---|---|
date | Tue, 11 May 2010 18:19:17 +0200 |
parents | dd57230ba8fe |
children | 5571b97fc1ec |
comparison
equal
deleted
inserted
replaced
1405:a197210cb4ae | 1406:35069ca331f2 |
---|---|
60 ciObject(); | 60 ciObject(); |
61 ciObject(oop o); | 61 ciObject(oop o); |
62 ciObject(Handle h); | 62 ciObject(Handle h); |
63 ciObject(ciKlass* klass); | 63 ciObject(ciKlass* klass); |
64 | 64 |
65 public: | |
65 jobject handle() const { return _handle; } | 66 jobject handle() const { return _handle; } |
66 // Get the VM oop that this object holds. | 67 // Get the VM oop that this object holds. |
67 oop get_oop() const { | 68 oop get_oop() const { |
68 assert(_handle != NULL, "null oop"); | 69 assert(_handle != NULL, "null oop"); |
69 return JNIHandles::resolve_non_null(_handle); | 70 return JNIHandles::resolve_non_null(_handle); |
70 } | 71 } |
72 protected: | |
71 | 73 |
72 void init_flags_from(oop x) { | 74 void init_flags_from(oop x) { |
73 int flags = 0; | 75 int flags = 0; |
74 if (x != NULL) { | 76 if (x != NULL) { |
75 if (x->is_perm()) | 77 if (x->is_perm()) |