Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/parallelScavenge/psTasks.hpp @ 6817:f81a7c0c618d
7199349: NPG: PS: Crash seen in jprt
Reviewed-by: johnc
author | jmasa |
---|---|
date | Wed, 03 Oct 2012 08:08:52 -0700 |
parents | bca17e38de00 |
children | eda078b01c65 |
comparison
equal
deleted
inserted
replaced
6816:87ac5c0a404d | 6817:f81a7c0c618d |
---|---|
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) |