--- old/src/hotspot/share/gc/g1/g1YoungGenSizer.cpp 2019-02-27 11:07:53.595358171 +0100 +++ new/src/hotspot/share/gc/g1/g1YoungGenSizer.cpp 2019-02-27 11:07:53.321349840 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2016, 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 @@ -131,7 +131,7 @@ } G1YoungGenSizer* G1YoungGenSizer::create_gen_sizer(G1CollectorPolicy* policy) { - if (policy->is_hetero_heap()) { + if (policy->is_heap_heterogeneous()) { return new G1HeterogeneousHeapYoungGenSizer(); } else { return new G1YoungGenSizer();