< prev index next >

src/hotspot/share/gc/g1/g1SharedDirtyCardQueue.hpp

Print this page
rev 57095 : [mq]: use
rev 57096 : [mq]: trailing_semi

@@ -24,10 +24,11 @@
 
 #ifndef SHARE_GC_G1_G1SHAREDDIRTYCARDQUEUE_HPP
 #define SHARE_GC_G1_G1SHAREDDIRTYCARDQUEUE_HPP
 
 #include "utilities/globalDefinitions.hpp"
+#include "utilities/macros.hpp"
 
 class G1DirtyCardQueueSet;
 
 // A dirty card queue providing thread-safe enqueue.  A shared global
 // instance can be used for cases where a thread-local dirty card can't

@@ -35,13 +36,11 @@
 class G1SharedDirtyCardQueue {
   G1DirtyCardQueueSet* const _qset;
   void** _buffer;
   size_t _index;
 
-  // Noncopyable
-  G1SharedDirtyCardQueue(const G1SharedDirtyCardQueue&);
-  G1SharedDirtyCardQueue& operator=(const G1SharedDirtyCardQueue&);
+  NONCOPYABLE(G1SharedDirtyCardQueue);
 
 public:
   G1SharedDirtyCardQueue(G1DirtyCardQueueSet* qset);
   ~G1SharedDirtyCardQueue();    // flushes the queue.
 
< prev index next >