1.1 --- a/src/share/vm/code/nmethod.hpp Thu Mar 10 17:44:32 2011 +0100 1.2 +++ b/src/share/vm/code/nmethod.hpp Fri Mar 11 16:09:55 2011 -0500 1.3 @@ -69,14 +69,13 @@ 1.4 friend class VMStructs; 1.5 private: 1.6 enum { cache_size = 4 }; 1.7 - PcDesc* _last_pc_desc; // most recent pc_desc found 1.8 PcDesc* _pc_descs[cache_size]; // last cache_size pc_descs found 1.9 public: 1.10 - PcDescCache() { debug_only(_last_pc_desc = NULL); } 1.11 + PcDescCache() { debug_only(_pc_descs[0] = NULL); } 1.12 void reset_to(PcDesc* initial_pc_desc); 1.13 PcDesc* find_pc_desc(int pc_offset, bool approximate); 1.14 void add_pc_desc(PcDesc* pc_desc); 1.15 - PcDesc* last_pc_desc() { return _last_pc_desc; } 1.16 + PcDesc* last_pc_desc() { return _pc_descs[0]; } 1.17 }; 1.18 1.19 1.20 @@ -178,7 +177,7 @@ 1.21 unsigned int _has_method_handle_invokes:1; // Has this method MethodHandle invokes? 1.22 1.23 // Protected by Patching_lock 1.24 - unsigned char _state; // {alive, not_entrant, zombie, unloaded) 1.25 + unsigned char _state; // {alive, not_entrant, zombie, unloaded} 1.26 1.27 #ifdef ASSERT 1.28 bool _oops_are_stale; // indicates that it's no longer safe to access oops section