changeset 9134 | 189a8c094016 |
parent 9116 | 9bc44be338d6 |
child 9971 | d496ecd7b9de |
child 10002 | 2d83be3a0927 |
--- a/hotspot/src/share/vm/oops/methodOop.cpp Sat Apr 09 21:16:12 2011 -0700 +++ b/hotspot/src/share/vm/oops/methodOop.cpp Sat Apr 09 22:55:25 2011 -0700 @@ -921,6 +921,10 @@ tty->cr(); } + // invariant: cp->symbol_at_put is preceded by a refcount increment (more usually a lookup) + name->increment_refcount(); + signature->increment_refcount(); + constantPoolHandle cp; { constantPoolOop cp_oop = oopFactory::new_constantPool(_imcp_limit, IsSafeConc, CHECK_(empty));