Mercurial > hg > graal-jvmci-8
diff src/share/vm/code/debugInfoRec.cpp @ 989:148e5441d916
6863023: need non-perm oops in code cache for JSR 292
Summary: Make a special root-list for those few nmethods which might contain non-perm oops.
Reviewed-by: twisti, kvn, never, jmasa, ysr
author | jrose |
---|---|
date | Tue, 15 Sep 2009 21:53:47 -0700 |
parents | 72088be4b386 |
children | 8e954aedbb81 |
line wrap: on
line diff
--- a/src/share/vm/code/debugInfoRec.cpp Tue Sep 15 11:09:34 2009 -0700 +++ b/src/share/vm/code/debugInfoRec.cpp Tue Sep 15 21:53:47 2009 -0700 @@ -299,7 +299,7 @@ stream()->write_int(sender_stream_offset); // serialize scope - jobject method_enc = (method == NULL)? NULL: method->encoding(); + jobject method_enc = (method == NULL)? NULL: method->constant_encoding(); stream()->write_int(oop_recorder()->find_index(method_enc)); stream()->write_bci(bci); assert(method == NULL ||