equal
deleted
inserted
replaced
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
|
24 |
|
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PCTASKS_HPP |
|
26 #define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PCTASKS_HPP |
|
27 |
|
28 #include "gc_implementation/parallelScavenge/gcTaskManager.hpp" |
|
29 #include "gc_implementation/parallelScavenge/psParallelCompact.hpp" |
|
30 #include "gc_implementation/parallelScavenge/psTasks.hpp" |
24 |
31 |
25 |
32 |
26 // Tasks for parallel compaction of the old generation |
33 // Tasks for parallel compaction of the old generation |
27 // |
34 // |
28 // Tasks are created and enqueued on a task queue. The |
35 // Tasks are created and enqueued on a task queue. The |
248 DrainStacksCompactionTask(uint stack_index) : GCTask(), |
255 DrainStacksCompactionTask(uint stack_index) : GCTask(), |
249 _stack_index(stack_index) {}; |
256 _stack_index(stack_index) {}; |
250 char* name() { return (char *)"drain-region-task"; } |
257 char* name() { return (char *)"drain-region-task"; } |
251 virtual void do_it(GCTaskManager* manager, uint which); |
258 virtual void do_it(GCTaskManager* manager, uint which); |
252 }; |
259 }; |
|
260 |
|
261 #endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PCTASKS_HPP |