--- old/src/hotspot/share/gc/shared/preservedMarks.cpp 2018-03-25 12:59:28.377817275 +0200 +++ new/src/hotspot/share/gc/shared/preservedMarks.cpp 2018-03-25 12:59:28.180819941 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2016, 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 @@ -27,6 +27,7 @@ #include "gc/shared/workgroup.hpp" #include "memory/allocation.inline.hpp" #include "memory/resourceArea.hpp" +#include "oops/oop.inline.hpp" #include "utilities/macros.hpp" void PreservedMarks::restore() {