Mercurial > hg > truffle
comparison src/share/vm/utilities/workgroup.hpp @ 549:fe3d7c11b4b7
6700941: G1: allocation spec missing for some G1 classes
Reviewed-by: tonyp
author | apetrusenko |
---|---|
date | Tue, 10 Feb 2009 18:39:09 +0300 |
parents | 37f87013dfd8 |
children | 0fbdb4381b99 |
comparison
equal
deleted
inserted
replaced
548:773234c55e8c | 549:fe3d7c11b4b7 |
---|---|
30 class YieldingFlexibleGangTask; | 30 class YieldingFlexibleGangTask; |
31 class WorkData; | 31 class WorkData; |
32 | 32 |
33 // An abstract task to be worked on by a gang. | 33 // An abstract task to be worked on by a gang. |
34 // You subclass this to supply your own work() method | 34 // You subclass this to supply your own work() method |
35 class AbstractGangTask: public CHeapObj { | 35 class AbstractGangTask VALUE_OBJ_CLASS_SPEC { |
36 public: | 36 public: |
37 // The abstract work method. | 37 // The abstract work method. |
38 // The argument tells you which member of the gang you are. | 38 // The argument tells you which member of the gang you are. |
39 virtual void work(int i) = 0; | 39 virtual void work(int i) = 0; |
40 | 40 |