Mercurial > hg > truffle
comparison src/share/vm/oops/method.hpp @ 6950:41938af2b3d8
modifications to support non-perm-gen changes in HotSpot
fixed issue when intrinsifying Class.getModifiers() for primitive classes
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 14 Nov 2012 11:28:02 +0100 |
parents | e522a00b91aa |
children | 679e6584c177 |
comparison
equal
deleted
inserted
replaced
6949:d09b0fed89db | 6950:41938af2b3d8 |
---|---|
131 u2 _number_of_breakpoints; // fullspeed debugging support | 131 u2 _number_of_breakpoints; // fullspeed debugging support |
132 InvocationCounter _invocation_counter; // Incremented before each activation of the method - used to trigger frequency-based optimizations | 132 InvocationCounter _invocation_counter; // Incremented before each activation of the method - used to trigger frequency-based optimizations |
133 InvocationCounter _backedge_counter; // Incremented before each backedge taken - used to trigger frequencey-based optimizations | 133 InvocationCounter _backedge_counter; // Incremented before each backedge taken - used to trigger frequencey-based optimizations |
134 | 134 |
135 #ifdef GRAAL | 135 #ifdef GRAAL |
136 oop _graal_mirror; // com/oracle/graal/hotspot/HotSpotResolvedJavaMethod mirroring this method | |
137 jlong _graal_invocation_time; | 136 jlong _graal_invocation_time; |
138 int _graal_priority; | 137 int _graal_priority; |
139 #endif | 138 #endif |
140 #ifdef TIERED | 139 #ifdef TIERED |
141 jlong _prev_time; // Previous time the rate was acquired | 140 jlong _prev_time; // Previous time the rate was acquired |
378 | 377 |
379 int invocation_count(); | 378 int invocation_count(); |
380 int backedge_count(); | 379 int backedge_count(); |
381 | 380 |
382 #ifdef GRAAL | 381 #ifdef GRAAL |
383 // graal mirror | |
384 oop graal_mirror() const { return _graal_mirror; } | |
385 void set_graal_mirror(oop m) { oop_store((oop*) &_graal_mirror, m); } | |
386 | |
387 void set_graal_invocation_time(jlong time) { _graal_invocation_time = time; } | 382 void set_graal_invocation_time(jlong time) { _graal_invocation_time = time; } |
388 jlong graal_invocation_time() { return _graal_invocation_time; } | 383 jlong graal_invocation_time() { return _graal_invocation_time; } |
389 | 384 |
390 void set_graal_priority(int prio) { _graal_priority = prio; } | 385 void set_graal_priority(int prio) { _graal_priority = prio; } |
391 int graal_priority() { return _graal_priority; } | 386 int graal_priority() { return _graal_priority; } |
840 private: | 835 private: |
841 | 836 |
842 // Inlined elements | 837 // Inlined elements |
843 address* native_function_addr() const { assert(is_native(), "must be native"); return (address*) (this+1); } | 838 address* native_function_addr() const { assert(is_native(), "must be native"); return (address*) (this+1); } |
844 address* signature_handler_addr() const { return native_function_addr() + 1; } | 839 address* signature_handler_addr() const { return native_function_addr() + 1; } |
845 #ifdef GRAAL | |
846 oop* adr_graal_mirror() const { return (oop*)&_graal_mirror; } | |
847 #endif | |
848 }; | 840 }; |
849 | 841 |
850 | 842 |
851 // Utility class for compressing line number tables | 843 // Utility class for compressing line number tables |
852 | 844 |