--- old/src/share/vm/gc_implementation/g1/g1Allocator_ext.cpp 2015-03-04 13:52:17.172965938 +0100 +++ new/src/share/vm/gc_implementation/g1/g1Allocator_ext.cpp 2015-03-04 13:52:17.109964065 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -26,10 +26,10 @@ #include "gc_implementation/g1/g1Allocator.hpp" #include "gc_implementation/g1/g1CollectedHeap.hpp" -G1Allocator* G1Allocator::create_allocator(G1CollectedHeap* g1h) { - return new G1DefaultAllocator(g1h); +AllocRegionManager* AllocRegionManager::create_allocator(G1CollectedHeap* g1h) { + return new DefaultAllocRegionManager(g1h); } -G1ParGCAllocator* G1ParGCAllocator::create_allocator(G1CollectedHeap* g1h) { - return new G1DefaultParGCAllocator(g1h); +PLABAllocator* PLABAllocator::create_allocator(G1CollectedHeap* g1h) { + return new DefaultPLABAllocator(g1h); }