Mercurial > hg > truffle
comparison src/share/vm/oops/methodOop.cpp @ 2478:328926869b15
6987991: JSR 292 phpreboot test/testtracefun2.phpr segfaults
Summary: Make MH verification tests more correct, robust, and informative. Fix lingering symbol refcount problems.
Reviewed-by: twisti
author | jrose |
---|---|
date | Sat, 09 Apr 2011 22:55:25 -0700 |
parents | ed69575596ac |
children | 9b8f30608e62 2d4b2b833d29 04760e41b01e |
comparison
equal
deleted
inserted
replaced
2468:6c97c830fb6f | 2478:328926869b15 |
---|---|
919 tty->print("Creating invoke method for "); | 919 tty->print("Creating invoke method for "); |
920 signature->print_value(); | 920 signature->print_value(); |
921 tty->cr(); | 921 tty->cr(); |
922 } | 922 } |
923 | 923 |
924 // invariant: cp->symbol_at_put is preceded by a refcount increment (more usually a lookup) | |
925 name->increment_refcount(); | |
926 signature->increment_refcount(); | |
927 | |
924 constantPoolHandle cp; | 928 constantPoolHandle cp; |
925 { | 929 { |
926 constantPoolOop cp_oop = oopFactory::new_constantPool(_imcp_limit, IsSafeConc, CHECK_(empty)); | 930 constantPoolOop cp_oop = oopFactory::new_constantPool(_imcp_limit, IsSafeConc, CHECK_(empty)); |
927 cp = constantPoolHandle(THREAD, cp_oop); | 931 cp = constantPoolHandle(THREAD, cp_oop); |
928 } | 932 } |