Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
12058:ccb4f2af2319 | 12355:cefad50507d8 |
---|---|
47 class GCTracer; | 47 class GCTracer; |
48 class MetaspaceSummary; | 48 class MetaspaceSummary; |
49 class Thread; | 49 class Thread; |
50 class ThreadClosure; | 50 class ThreadClosure; |
51 class VirtualSpaceSummary; | 51 class VirtualSpaceSummary; |
52 class nmethod; | |
52 | 53 |
53 class GCMessage : public FormatBuffer<1024> { | 54 class GCMessage : public FormatBuffer<1024> { |
54 public: | 55 public: |
55 bool is_before; | 56 bool is_before; |
56 | 57 |
603 virtual void print_tracing_info() const = 0; | 604 virtual void print_tracing_info() const = 0; |
604 | 605 |
605 void print_heap_before_gc(); | 606 void print_heap_before_gc(); |
606 void print_heap_after_gc(); | 607 void print_heap_after_gc(); |
607 | 608 |
609 // Registering and unregistering an nmethod (compiled code) with the heap. | |
610 // Override with specific mechanism for each specialized heap type. | |
611 virtual void register_nmethod(nmethod* nm); | |
612 virtual void unregister_nmethod(nmethod* nm); | |
613 | |
608 void trace_heap_before_gc(GCTracer* gc_tracer); | 614 void trace_heap_before_gc(GCTracer* gc_tracer); |
609 void trace_heap_after_gc(GCTracer* gc_tracer); | 615 void trace_heap_after_gc(GCTracer* gc_tracer); |
610 | 616 |
611 // Heap verification | 617 // Heap verification |
612 virtual void verify(bool silent, VerifyOption option) = 0; | 618 virtual void verify(bool silent, VerifyOption option) = 0; |