comparison src/share/vm/oops/methodOop.hpp @ 6271:93c71eb28866

7188911: nightly failures after JSR 292 lazy method handle update (round 2) Reviewed-by: kvn, jrose
author twisti
date Tue, 07 Aug 2012 14:32:08 -0700
parents 1d7922586cf6
children 957c266d8bc5
comparison
equal deleted inserted replaced
6270:b72784e722ff 6271:93c71eb28866
245 // constant pool for klassOop holding this method 245 // constant pool for klassOop holding this method
246 constantPoolOop constants() const { return constMethod()->constants(); } 246 constantPoolOop constants() const { return constMethod()->constants(); }
247 void set_constants(constantPoolOop c) { constMethod()->set_constants(c); } 247 void set_constants(constantPoolOop c) { constMethod()->set_constants(c); }
248 248
249 // max stack 249 // max stack
250 int max_stack() const { return _max_stack + extra_stack_entries(); } 250 // return original max stack size for method verification
251 void set_max_stack(int size) { _max_stack = size; } 251 int verifier_max_stack() const { return _max_stack; }
252 int max_stack() const { return _max_stack + extra_stack_entries(); }
253 void set_max_stack(int size) { _max_stack = size; }
252 254
253 // max locals 255 // max locals
254 int max_locals() const { return _max_locals; } 256 int max_locals() const { return _max_locals; }
255 void set_max_locals(int size) { _max_locals = size; } 257 void set_max_locals(int size) { _max_locals = size; }
256 258