Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/dirtyCardQueue.hpp @ 6197:d2a62e0f25eb
6995781: Native Memory Tracking (Phase 1)
7151532: DCmd for hotspot native memory tracking
Summary: Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain
author | zgu |
---|---|
date | Thu, 28 Jun 2012 17:03:16 -0400 |
parents | f95d63e2154a |
children | b9a9ed0f8eeb |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
30 | 30 |
31 class FreeIdSet; | 31 class FreeIdSet; |
32 | 32 |
33 // A closure class for processing card table entries. Note that we don't | 33 // A closure class for processing card table entries. Note that we don't |
34 // require these closure objects to be stack-allocated. | 34 // require these closure objects to be stack-allocated. |
35 class CardTableEntryClosure: public CHeapObj { | 35 class CardTableEntryClosure: public CHeapObj<mtGC> { |
36 public: | 36 public: |
37 // Process the card whose card table entry is "card_ptr". If returns | 37 // Process the card whose card table entry is "card_ptr". If returns |
38 // "false", terminate the iteration early. | 38 // "false", terminate the iteration early. |
39 virtual bool do_card_ptr(jbyte* card_ptr, int worker_i = 0) = 0; | 39 virtual bool do_card_ptr(jbyte* card_ptr, int worker_i = 0) = 0; |
40 }; | 40 }; |