< prev index next >

src/share/vm/gc_implementation/g1/g1Allocator_ext.cpp

Print this page
rev 7902 : [mq]: 8073052-Rename-and-clean-up-the-allocation-manager-hierarchy-in-g1Allocator

*** 1,7 **** /* ! * Copyright (c) 2014, 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) 2014, 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.
*** 24,35 **** #include "precompiled.hpp" #include "gc_implementation/g1/g1Allocator.hpp" #include "gc_implementation/g1/g1CollectedHeap.hpp" ! G1Allocator* G1Allocator::create_allocator(G1CollectedHeap* g1h) { ! return new G1DefaultAllocator(g1h); } ! G1ParGCAllocator* G1ParGCAllocator::create_allocator(G1CollectedHeap* g1h) { ! return new G1DefaultParGCAllocator(g1h); } --- 24,35 ---- #include "precompiled.hpp" #include "gc_implementation/g1/g1Allocator.hpp" #include "gc_implementation/g1/g1CollectedHeap.hpp" ! AllocRegionManager* AllocRegionManager::create_allocator(G1CollectedHeap* g1h) { ! return new DefaultAllocRegionManager(g1h); } ! PLABAllocator* PLABAllocator::create_allocator(G1CollectedHeap* g1h) { ! return new DefaultPLABAllocator(g1h); }
< prev index next >