test/hotspot/gtest/gc/shared/test_oopStorage.cpp
changeset 49030 1817d118ff66
parent 48886 e1d09bd56d2d
child 49392 2956d0ece7a9
equal deleted inserted replaced
49029:010df2533db2 49030:1817d118ff66
   894                                const OopStorage,
   894                                const OopStorage,
   895                                OopStorage>::type Storage;
   895                                OopStorage>::type Storage;
   896 
   896 
   897 public:
   897 public:
   898   Task(const char* name, Storage* storage, VerifyState* vstate) :
   898   Task(const char* name, Storage* storage, VerifyState* vstate) :
   899     AbstractGangTask(name, GCId::undefined()),
   899     AbstractGangTask(name),
   900     _state(storage),
   900     _state(storage),
   901     _vstate(vstate)
   901     _vstate(vstate)
   902   {}
   902   {}
   903 
   903 
   904   virtual void work(uint worker_id) {
   904   virtual void work(uint worker_id) {
   913 
   913 
   914 template<bool concurrent, bool is_const>
   914 template<bool concurrent, bool is_const>
   915 class OopStorageTestParIteration::TaskUsingOopsDo : public AbstractGangTask {
   915 class OopStorageTestParIteration::TaskUsingOopsDo : public AbstractGangTask {
   916 public:
   916 public:
   917   TaskUsingOopsDo(const char* name, OopStorage* storage, VerifyState* vstate) :
   917   TaskUsingOopsDo(const char* name, OopStorage* storage, VerifyState* vstate) :
   918     AbstractGangTask(name, GCId::undefined()),
   918     AbstractGangTask(name),
   919     _state(storage),
   919     _state(storage),
   920     _vstate(vstate)
   920     _vstate(vstate)
   921   {}
   921   {}
   922 
   922 
   923   virtual void work(uint worker_id) {
   923   virtual void work(uint worker_id) {