--- old/src/hotspot/share/gc/z/zAddressRangeMap.hpp 2018-01-17 11:44:01.551379015 +0900 +++ new/src/hotspot/share/gc/z/zAddressRangeMap.hpp 2018-01-17 11:44:01.404376506 +0900 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2017, 2018, 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 @@ -31,6 +31,7 @@ template class ZAddressRangeMap VALUE_OBJ_CLASS_SPEC { + friend class VMStructs; friend class ZAddressRangeMapIterator; private: