Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/psTasks.hpp @ 6948:e522a00b91aa
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/ after NPG - C++ build works
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 12 Nov 2012 23:14:12 +0100 |
parents | f81a7c0c618d |
children | eda078b01c65 |
comparison
equal
deleted
inserted
replaced
6711:ae13cc658b80 | 6948:e522a00b91aa |
---|---|
111 | 111 |
112 virtual void do_it(GCTaskManager* manager, uint which); | 112 virtual void do_it(GCTaskManager* manager, uint which); |
113 }; | 113 }; |
114 | 114 |
115 // | 115 // |
116 // SerialOldToYoungRootsTask | |
117 // | |
118 // This task is used to scan for roots in the perm gen | |
119 | |
120 class SerialOldToYoungRootsTask : public GCTask { | |
121 private: | |
122 PSOldGen* _gen; | |
123 HeapWord* _gen_top; | |
124 | |
125 public: | |
126 SerialOldToYoungRootsTask(PSOldGen *gen, HeapWord* gen_top) : | |
127 _gen(gen), _gen_top(gen_top) { } | |
128 | |
129 char* name() { return (char *)"serial-old-to-young-roots-task"; } | |
130 | |
131 virtual void do_it(GCTaskManager* manager, uint which); | |
132 }; | |
133 | |
134 // | |
135 // OldToYoungRootsTask | 116 // OldToYoungRootsTask |
136 // | 117 // |
137 // This task is used to scan old to young roots in parallel | 118 // This task is used to scan old to young roots in parallel |
138 // | 119 // |
139 // A GC thread executing this tasks divides the generation (old gen) | 120 // A GC thread executing this tasks divides the generation (old gen) |