test/hotspot/gtest/runtime/test_globals.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/test/hotspot/gtest/runtime/test_globals.cpp	Thu Apr  5 12:03:47 2018
--- new/test/hotspot/gtest/runtime/test_globals.cpp	Thu Apr  5 12:03:47 2018

*** 1,7 **** --- 1,7 ---- /* ! * 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 21,35 **** --- 21,36 ---- * questions. */ #include "precompiled.hpp" #include "runtime/globals.hpp" + #include "runtime/flags/flagSetting.hpp" #include "unittest.hpp" #define TEST_FLAG(f, type, value) \ do { \ ! ASSERT_TRUE(JVMFlag::find_flag(#f)->is_ ## type()); \ type original_value = f; \ { \ FLAG_GUARD(f); \ f = value; \ } \

test/hotspot/gtest/runtime/test_globals.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File