1.1 --- a/src/share/vm/code/nmethod.hpp Mon May 17 11:32:56 2010 -0700 1.2 +++ b/src/share/vm/code/nmethod.hpp Mon May 17 16:50:07 2010 -0700 1.3 @@ -82,7 +82,6 @@ 1.4 struct nmFlags { 1.5 friend class VMStructs; 1.6 unsigned int version:8; // version number (0 = first version) 1.7 - unsigned int level:4; // optimization level 1.8 unsigned int age:4; // age (in # of sweep steps) 1.9 1.10 unsigned int state:2; // {alive, zombie, unloaded) 1.11 @@ -410,14 +409,13 @@ 1.12 void flush_dependencies(BoolObjectClosure* is_alive); 1.13 bool has_flushed_dependencies() { return flags.hasFlushedDependencies; } 1.14 void set_has_flushed_dependencies() { 1.15 - check_safepoint(); 1.16 assert(!has_flushed_dependencies(), "should only happen once"); 1.17 flags.hasFlushedDependencies = 1; 1.18 } 1.19 1.20 bool is_marked_for_reclamation() const { return flags.markedForReclamation; } 1.21 - void mark_for_reclamation() { check_safepoint(); flags.markedForReclamation = 1; } 1.22 - void unmark_for_reclamation() { check_safepoint(); flags.markedForReclamation = 0; } 1.23 + void mark_for_reclamation() { flags.markedForReclamation = 1; } 1.24 + void unmark_for_reclamation() { flags.markedForReclamation = 0; } 1.25 1.26 bool has_unsafe_access() const { return flags.has_unsafe_access; } 1.27 void set_has_unsafe_access(bool z) { flags.has_unsafe_access = z; } 1.28 @@ -428,9 +426,6 @@ 1.29 bool is_speculatively_disconnected() const { return flags.speculatively_disconnected; } 1.30 void set_speculatively_disconnected(bool z) { flags.speculatively_disconnected = z; } 1.31 1.32 - int level() const { return flags.level; } 1.33 - void set_level(int newLevel) { check_safepoint(); flags.level = newLevel; } 1.34 - 1.35 int comp_level() const { return _comp_level; } 1.36 1.37 int version() const { return flags.version; }