Mercurial > hg > graal-compiler
diff src/share/vm/runtime/vmThread.hpp @ 7179:d0aa87f04bd5
8003720: NPG: Method in interpreter stack frame can be deallocated
Summary: Pass down a closure during root scanning to keep the class of the method alive.
Reviewed-by: coleenp, jcoomes
author | stefank |
---|---|
date | Tue, 27 Nov 2012 10:13:20 +0100 |
parents | b9a9ed0f8eeb |
children | f34d701e952e |
line wrap: on
line diff
--- a/src/share/vm/runtime/vmThread.hpp Mon Nov 26 12:31:03 2012 -0500 +++ b/src/share/vm/runtime/vmThread.hpp Tue Nov 27 10:13:20 2012 +0100 @@ -137,7 +137,7 @@ static VMThread* vm_thread() { return _vm_thread; } // GC support - void oops_do(OopClosure* f, CodeBlobClosure* cf); + void oops_do(OopClosure* f, CLDToOopClosure* cld_f, CodeBlobClosure* cf); // Debugging void print_on(outputStream* st) const;