< prev index next >

src/hotspot/share/gc/serial/tenuredGeneration.cpp

Print this page
rev 47957 : 8191564: Refactor GC related servicability code into GC specific subclasses

*** 1,7 **** /* ! * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 42,53 **** #include "gc/cms/parOopClosures.hpp" #endif TenuredGeneration::TenuredGeneration(ReservedSpace rs, size_t initial_byte_size, CardTableRS* remset) : ! CardGeneration(rs, initial_byte_size, remset) { HeapWord* bottom = (HeapWord*) _virtual_space.low(); HeapWord* end = (HeapWord*) _virtual_space.high(); _the_space = new TenuredSpace(_bts, MemRegion(bottom, end)); _the_space->reset_saved_mark(); --- 42,54 ---- #include "gc/cms/parOopClosures.hpp" #endif TenuredGeneration::TenuredGeneration(ReservedSpace rs, size_t initial_byte_size, + GCMemoryManager* mem_mgr, CardTableRS* remset) : ! CardGeneration(rs, initial_byte_size, mem_mgr, remset) { HeapWord* bottom = (HeapWord*) _virtual_space.low(); HeapWord* end = (HeapWord*) _virtual_space.high(); _the_space = new TenuredSpace(_bts, MemRegion(bottom, end)); _the_space->reset_saved_mark();
< prev index next >