--- a/hotspot/src/share/vm/code/nmethod.hpp Mon May 17 11:32:56 2010 -0700
+++ b/hotspot/src/share/vm/code/nmethod.hpp Mon May 17 16:50:07 2010 -0700
@@ -82,7 +82,6 @@
struct nmFlags {
friend class VMStructs;
unsigned int version:8; // version number (0 = first version)
- unsigned int level:4; // optimization level
unsigned int age:4; // age (in # of sweep steps)
unsigned int state:2; // {alive, zombie, unloaded)
@@ -410,14 +409,13 @@
void flush_dependencies(BoolObjectClosure* is_alive);
bool has_flushed_dependencies() { return flags.hasFlushedDependencies; }
void set_has_flushed_dependencies() {
- check_safepoint();
assert(!has_flushed_dependencies(), "should only happen once");
flags.hasFlushedDependencies = 1;
}
bool is_marked_for_reclamation() const { return flags.markedForReclamation; }
- void mark_for_reclamation() { check_safepoint(); flags.markedForReclamation = 1; }
- void unmark_for_reclamation() { check_safepoint(); flags.markedForReclamation = 0; }
+ void mark_for_reclamation() { flags.markedForReclamation = 1; }
+ void unmark_for_reclamation() { flags.markedForReclamation = 0; }
bool has_unsafe_access() const { return flags.has_unsafe_access; }
void set_has_unsafe_access(bool z) { flags.has_unsafe_access = z; }
@@ -428,9 +426,6 @@
bool is_speculatively_disconnected() const { return flags.speculatively_disconnected; }
void set_speculatively_disconnected(bool z) { flags.speculatively_disconnected = z; }
- int level() const { return flags.level; }
- void set_level(int newLevel) { check_safepoint(); flags.level = newLevel; }
-
int comp_level() const { return _comp_level; }
int version() const { return flags.version; }