8379040: Remove inclusion of allocation.hpp from atomicAccess.hpp

Reviewed-by: iwalulya, dholmes
This commit is contained in:
Kim Barrett 2026-03-04 22:42:19 +00:00
parent 08c8520b39
commit 1f4a7bbb9d
3 changed files with 7 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2026, 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
@ -25,6 +25,7 @@
#ifndef SHARE_OPTO_PHASETYPE_HPP
#define SHARE_OPTO_PHASETYPE_HPP
#include "memory/allocation.hpp"
#include "utilities/bitMap.inline.hpp"
#include "utilities/stringUtils.hpp"

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2025, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 2026, 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,7 +26,7 @@
#define SHARE_RUNTIME_ATOMICACCESS_HPP
#include "cppstdlib/type_traits.hpp"
#include "memory/allocation.hpp"
#include "memory/allStatic.hpp"
#include "metaprogramming/enableIf.hpp"
#include "metaprogramming/primitiveConversions.hpp"
#include "runtime/orderAccess.hpp"
@ -829,7 +829,7 @@ class AtomicAccess::PlatformBitops
{};
template <ScopedFenceType T>
class ScopedFenceGeneral: public StackObj {
class ScopedFenceGeneral {
public:
void prefix() {}
void postfix() {}

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2025, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2026, 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
@ -30,6 +30,7 @@
#include "utilities/globalDefinitions.hpp"
// Forward decl;
class Arena;
class BitMapClosure;
// Operations for bitmaps represented as arrays of unsigned integers.