hotspot/src/share/vm/gc_implementation/g1/satbQueue.hpp
changeset 28507 354ef83ee258
parent 27251 7d667f91ec8d
child 30255 f43e306ec51e
equal deleted inserted replaced
28506:8c606017b9cf 28507:354ef83ee258
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 2014, 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.
    58     // created during a cycle and its SATB queue needs to be activated
    58     // created during a cycle and its SATB queue needs to be activated
    59     // before the thread starts running, we'll need to set its active
    59     // before the thread starts running, we'll need to set its active
    60     // field to true. This is done in JavaThread::initialize_queues().
    60     // field to true. This is done in JavaThread::initialize_queues().
    61     PtrQueue(qset, perm, false /* active */) { }
    61     PtrQueue(qset, perm, false /* active */) { }
    62 
    62 
    63   // Overrides PtrQueue::flush() so that it can filter the buffer
    63   // Process queue entries and free resources.
    64   // before it is flushed.
    64   void flush();
    65   virtual void flush();
       
    66 
    65 
    67   // Overrides PtrQueue::should_enqueue_buffer(). See the method's
    66   // Overrides PtrQueue::should_enqueue_buffer(). See the method's
    68   // definition for more information.
    67   // definition for more information.
    69   virtual bool should_enqueue_buffer();
    68   virtual bool should_enqueue_buffer();
    70 
    69