Mercurial > hg > graal-compiler
diff src/share/vm/prims/methodHandleWalk.hpp @ 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 | 8033953d67ff |
children | e2a92dd0d3d2 |
line wrap: on
line diff
--- a/src/share/vm/prims/methodHandleWalk.hpp Sat Apr 09 21:16:12 2011 -0700 +++ b/src/share/vm/prims/methodHandleWalk.hpp Sat Apr 09 22:55:25 2011 -0700 @@ -343,6 +343,7 @@ int cpool_symbol_put(int tag, Symbol* con) { if (con == NULL) return 0; ConstantValue* cv = new ConstantValue(tag, con); + con->increment_refcount(); return _constants.append(cv); }