hotspot/src/share/vm/gc/g1/g1HotCardCache.cpp
changeset 40655 9f644073d3a0
parent 37057 03b3e1870228
child 46704 211b3f6b75ef
equal deleted inserted replaced
40654:d4f8e348420a 40655:9f644073d3a0
     1 /*
     1 /*
     2  * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2013, 2016, 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.
    24 
    24 
    25 #include "precompiled.hpp"
    25 #include "precompiled.hpp"
    26 #include "gc/g1/dirtyCardQueue.hpp"
    26 #include "gc/g1/dirtyCardQueue.hpp"
    27 #include "gc/g1/g1CollectedHeap.inline.hpp"
    27 #include "gc/g1/g1CollectedHeap.inline.hpp"
    28 #include "gc/g1/g1HotCardCache.hpp"
    28 #include "gc/g1/g1HotCardCache.hpp"
    29 #include "runtime/atomic.inline.hpp"
    29 #include "runtime/atomic.hpp"
    30 
    30 
    31 G1HotCardCache::G1HotCardCache(G1CollectedHeap *g1h):
    31 G1HotCardCache::G1HotCardCache(G1CollectedHeap *g1h):
    32   _g1h(g1h), _hot_cache(NULL), _use_cache(false), _card_counts(g1h) {}
    32   _g1h(g1h), _hot_cache(NULL), _use_cache(false), _card_counts(g1h) {}
    33 
    33 
    34 void G1HotCardCache::initialize(G1RegionToSpaceMapper* card_counts_storage) {
    34 void G1HotCardCache::initialize(G1RegionToSpaceMapper* card_counts_storage) {