Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
7178:19c1bd641922 | 7179:d0aa87f04bd5 |
---|---|
135 | 135 |
136 // Returns the single instance of VMThread. | 136 // Returns the single instance of VMThread. |
137 static VMThread* vm_thread() { return _vm_thread; } | 137 static VMThread* vm_thread() { return _vm_thread; } |
138 | 138 |
139 // GC support | 139 // GC support |
140 void oops_do(OopClosure* f, CodeBlobClosure* cf); | 140 void oops_do(OopClosure* f, CLDToOopClosure* cld_f, CodeBlobClosure* cf); |
141 | 141 |
142 // Debugging | 142 // Debugging |
143 void print_on(outputStream* st) const; | 143 void print_on(outputStream* st) const; |
144 void print() const { print_on(tty); } | 144 void print() const { print_on(tty); } |
145 void verify(); | 145 void verify(); |