--- old/src/hotspot/share/gc/g1/g1StringDedup.cpp 2018-03-25 12:59:22.993890134 +0200 +++ new/src/hotspot/share/gc/g1/g1StringDedup.cpp 2018-03-25 12:59:22.806892665 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 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 @@ #include "gc/g1/g1StringDedupStat.hpp" #include "gc/g1/g1StringDedupTable.hpp" #include "gc/g1/g1StringDedupThread.hpp" +#include "oops/oop.inline.hpp" #include "runtime/atomic.hpp" bool G1StringDedup::_enabled = false;