diff -r 02076019c25d -r 2956d0ece7a9 src/hotspot/share/gc/shared/blockOffsetTable.hpp --- a/src/hotspot/share/gc/shared/blockOffsetTable.hpp Wed Mar 14 07:07:18 2018 -0400 +++ b/src/hotspot/share/gc/shared/blockOffsetTable.hpp Wed Mar 14 07:27:19 2018 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 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 @@ -26,6 +26,7 @@ #define SHARE_VM_GC_SHARED_BLOCKOFFSETTABLE_HPP #include "gc/shared/memset_with_concurrent_readers.hpp" +#include "memory/allocation.hpp" #include "memory/memRegion.hpp" #include "memory/virtualspace.hpp" #include "runtime/globals.hpp" @@ -77,7 +78,7 @@ ////////////////////////////////////////////////////////////////////////// // The BlockOffsetTable "interface" ////////////////////////////////////////////////////////////////////////// -class BlockOffsetTable VALUE_OBJ_CLASS_SPEC { +class BlockOffsetTable { friend class VMStructs; protected: // These members describe the region covered by the table.