Mercurial > hg > truffle
diff src/share/vm/gc_interface/collectedHeap.hpp @ 12355:cefad50507d8
Merge with hs25-b53
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Fri, 11 Oct 2013 10:38:03 +0200 |
parents | b95d42fdddca 5888334c9c24 |
children | ae412befde21 |
line wrap: on
line diff
--- a/src/share/vm/gc_interface/collectedHeap.hpp Thu Oct 10 18:26:22 2013 +0200 +++ b/src/share/vm/gc_interface/collectedHeap.hpp Fri Oct 11 10:38:03 2013 +0200 @@ -49,6 +49,7 @@ class Thread; class ThreadClosure; class VirtualSpaceSummary; +class nmethod; class GCMessage : public FormatBuffer<1024> { public: @@ -605,6 +606,11 @@ void print_heap_before_gc(); void print_heap_after_gc(); + // Registering and unregistering an nmethod (compiled code) with the heap. + // Override with specific mechanism for each specialized heap type. + virtual void register_nmethod(nmethod* nm); + virtual void unregister_nmethod(nmethod* nm); + void trace_heap_before_gc(GCTracer* gc_tracer); void trace_heap_after_gc(GCTracer* gc_tracer);