< prev index next >
src/hotspot/share/gc/g1/ptrQueue.hpp
Print this page
*** 23,44 ****
*/
#ifndef SHARE_VM_GC_G1_PTRQUEUE_HPP
#define SHARE_VM_GC_G1_PTRQUEUE_HPP
- #include "memory/allocation.hpp"
#include "utilities/align.hpp"
#include "utilities/sizes.hpp"
// There are various techniques that require threads to be able to log
// addresses. For example, a generational write barrier might log
// the addresses of modified old-generation objects. This type supports
// this operation.
class BufferNode;
class PtrQueueSet;
! class PtrQueue VALUE_OBJ_CLASS_SPEC {
friend class VMStructs;
// Noncopyable - not defined.
PtrQueue(const PtrQueue&);
PtrQueue& operator=(const PtrQueue&);
--- 23,43 ----
*/
#ifndef SHARE_VM_GC_G1_PTRQUEUE_HPP
#define SHARE_VM_GC_G1_PTRQUEUE_HPP
#include "utilities/align.hpp"
#include "utilities/sizes.hpp"
// There are various techniques that require threads to be able to log
// addresses. For example, a generational write barrier might log
// the addresses of modified old-generation objects. This type supports
// this operation.
class BufferNode;
class PtrQueueSet;
! class PtrQueue {
friend class VMStructs;
// Noncopyable - not defined.
PtrQueue(const PtrQueue&);
PtrQueue& operator=(const PtrQueue&);
*** 255,265 ****
// A PtrQueueSet represents resources common to a set of pointer queues.
// In particular, the individual queues allocate buffers from this shared
// set, and return completed buffers to the set.
// All these variables are are protected by the TLOQ_CBL_mon. XXX ???
! class PtrQueueSet VALUE_OBJ_CLASS_SPEC {
private:
// The size of all buffers in the set.
size_t _buffer_size;
protected:
--- 254,264 ----
// A PtrQueueSet represents resources common to a set of pointer queues.
// In particular, the individual queues allocate buffers from this shared
// set, and return completed buffers to the set.
// All these variables are are protected by the TLOQ_CBL_mon. XXX ???
! class PtrQueueSet {
private:
// The size of all buffers in the set.
size_t _buffer_size;
protected:
< prev index next >