annotate src/hotspot/share/gc/g1/g1SATBMarkQueueFilter.hpp @ 51278:d56dd9798d54

8208611: Refactor SATBMarkQueue filtering to allow GC-specific filters Summary: Add SATBMarkQueueFilter. Reviewed-by: tschatzl, eosterlund, rkennke
author kbarrett
date Wed, 01 Aug 2018 19:14:04 -0400
parents
children
rev   line source
kbarrett@51278 1 /*
kbarrett@51278 2 * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
kbarrett@51278 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
kbarrett@51278 4 *
kbarrett@51278 5 * This code is free software; you can redistribute it and/or modify it
kbarrett@51278 6 * under the terms of the GNU General Public License version 2 only, as
kbarrett@51278 7 * published by the Free Software Foundation.
kbarrett@51278 8 *
kbarrett@51278 9 * This code is distributed in the hope that it will be useful, but WITHOUT
kbarrett@51278 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
kbarrett@51278 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
kbarrett@51278 12 * version 2 for more details (a copy is included in the LICENSE file that
kbarrett@51278 13 * accompanied this code).
kbarrett@51278 14 *
kbarrett@51278 15 * You should have received a copy of the GNU General Public License version
kbarrett@51278 16 * 2 along with this work; if not, write to the Free Software Foundation,
kbarrett@51278 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
kbarrett@51278 18 *
kbarrett@51278 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
kbarrett@51278 20 * or visit www.oracle.com if you need additional information or have any
kbarrett@51278 21 * questions.
kbarrett@51278 22 *
kbarrett@51278 23 */
kbarrett@51278 24
kbarrett@51278 25 #ifndef SHARE_GC_G1_G1SATBMARKQUEUEFILTER_HPP
kbarrett@51278 26 #define SHARE_GC_G1_G1SATBMARKQUEUEFILTER_HPP
kbarrett@51278 27
kbarrett@51278 28 #include "gc/g1/satbMarkQueue.hpp"
kbarrett@51278 29
kbarrett@51278 30 class G1CollectedHeap;
kbarrett@51278 31
kbarrett@51278 32 class G1SATBMarkQueueFilter : public SATBMarkQueueFilter {
kbarrett@51278 33 G1CollectedHeap* _g1h;
kbarrett@51278 34
kbarrett@51278 35 public:
kbarrett@51278 36 G1SATBMarkQueueFilter(G1CollectedHeap* g1h);
kbarrett@51278 37
kbarrett@51278 38 virtual void filter(SATBMarkQueue* queue);
kbarrett@51278 39 };
kbarrett@51278 40
kbarrett@51278 41 #endif // SHARE_GC_G1_G1SATBMARKQUEUEFILTER_HPP