< 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
rev 7908 : [mq]: 8073317-move-region-level-allocation-into-allocregionmanager
*** 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.
*** 28,35 ****
G1Allocator* G1Allocator::create_allocator(G1CollectedHeap* g1h) {
return new G1DefaultAllocator(g1h);
}
! G1ParGCAllocator* G1ParGCAllocator::create_allocator(G1CollectedHeap* g1h) {
! return new G1DefaultParGCAllocator(g1h);
}
--- 28,35 ----
G1Allocator* G1Allocator::create_allocator(G1CollectedHeap* g1h) {
return new G1DefaultAllocator(g1h);
}
! PLABAllocator* PLABAllocator::create_allocator(G1Allocator* allocator) {
! return new DefaultPLABAllocator(allocator);
}
< prev index next >