src/hotspot/share/gc/parallel/gcTaskManager.hpp
changeset 49392 2956d0ece7a9
parent 47216 71c04702a3d5
child 53244 9807daeb47c4
equal deleted inserted replaced
49391:02076019c25d 49392:2956d0ece7a9
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   270   SynchronizedGCTaskQueue(GCTaskQueue* queue, Monitor * lock);
   270   SynchronizedGCTaskQueue(GCTaskQueue* queue, Monitor * lock);
   271   // Destructor.  Not virtual because no virtuals.
   271   // Destructor.  Not virtual because no virtuals.
   272   ~SynchronizedGCTaskQueue();
   272   ~SynchronizedGCTaskQueue();
   273 };
   273 };
   274 
   274 
   275 class WaitHelper VALUE_OBJ_CLASS_SPEC {
   275 class WaitHelper {
   276  private:
   276  private:
   277   Monitor*      _monitor;
   277   Monitor*      _monitor;
   278   volatile bool _should_wait;
   278   volatile bool _should_wait;
   279  public:
   279  public:
   280   WaitHelper();
   280   WaitHelper();