--- old/src/hotspot/share/gc/g1/heapRegionManager.cpp 2019-02-27 11:07:56.988461339 +0100 +++ new/src/hotspot/share/gc/g1/heapRegionManager.cpp 2019-02-27 11:07:56.717453099 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2019, 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 @@ -69,7 +69,7 @@ { } HeapRegionManager* HeapRegionManager::create_manager(G1CollectedHeap* heap, G1CollectorPolicy* policy) { - if (policy->is_hetero_heap()) { + if (policy->is_heap_heterogeneous()) { return new HeterogeneousHeapRegionManager((uint)(policy->max_heap_byte_size() / HeapRegion::GrainBytes) /*heap size as num of regions*/); } return new HeapRegionManager();