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

test/hotspot/gtest/runtime/test_globals.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2016, 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. --- 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 **** * questions. */ #include "precompiled.hpp" #include "runtime/globals.hpp" #include "unittest.hpp" #define TEST_FLAG(f, type, value) \ do { \ ! ASSERT_TRUE(Flag::find_flag(#f)->is_ ## type()); \ type original_value = f; \ { \ FLAG_GUARD(f); \ f = value; \ } \ --- 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