equal
deleted
inserted
replaced
117 bool _has_flushed_dependencies; // Used for maintenance of dependencies (CodeCache_lock) |
117 bool _has_flushed_dependencies; // Used for maintenance of dependencies (CodeCache_lock) |
118 |
118 |
119 // used by jvmti to track if an unload event has been posted for this nmethod. |
119 // used by jvmti to track if an unload event has been posted for this nmethod. |
120 bool _unload_reported; |
120 bool _unload_reported; |
121 |
121 |
122 // Protected by CompiledMethod_lock |
122 // Protected by Patching_lock |
123 volatile signed char _state; // {not_installed, in_use, not_entrant, zombie, unloaded} |
123 volatile signed char _state; // {not_installed, in_use, not_entrant, zombie, unloaded} |
124 |
124 |
125 #ifdef ASSERT |
125 #ifdef ASSERT |
126 bool _oops_are_stale; // indicates that it's no longer safe to access oops section |
126 bool _oops_are_stale; // indicates that it's no longer safe to access oops section |
127 #endif |
127 #endif |
385 _has_flushed_dependencies = 1; |
385 _has_flushed_dependencies = 1; |
386 } |
386 } |
387 |
387 |
388 int comp_level() const { return _comp_level; } |
388 int comp_level() const { return _comp_level; } |
389 |
389 |
390 void unlink_from_method(); |
390 void unlink_from_method(bool acquire_lock); |
391 |
391 |
392 // Support for oops in scopes and relocs: |
392 // Support for oops in scopes and relocs: |
393 // Note: index 0 is reserved for null. |
393 // Note: index 0 is reserved for null. |
394 oop oop_at(int index) const; |
394 oop oop_at(int index) const; |
395 oop oop_at_phantom(int index) const; // phantom reference |
395 oop oop_at_phantom(int index) const; // phantom reference |