8360474: Add missing include guards for some HotSpot headers

Reviewed-by: mhaessig, stefank, dholmes
This commit is contained in:
Qizheng Xing 2025-06-27 08:17:13 +00:00 committed by Stefan Karlsson
parent 20e983a97c
commit aa26cede63
4 changed files with 20 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013 SAP SE. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@ -23,6 +23,9 @@
*
*/
#ifndef OS_AIX_DECODER_AIX_HPP
#define OS_AIX_DECODER_AIX_HPP
#include "utilities/decoder.hpp"
#include "porting_aix.hpp"
@ -44,3 +47,4 @@ class AIXDecoder: public AbstractDecoder {
};
#endif // OS_AIX_DECODER_AIX_HPP

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2025, 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
@ -22,6 +22,9 @@
*
*/
#ifndef SHARE_GC_G1_G1SHAREDCLOSURES_HPP
#define SHARE_GC_G1_G1SHAREDCLOSURES_HPP
#include "gc/g1/g1NMethodClosure.hpp"
#include "gc/g1/g1OopClosures.hpp"
#include "memory/iterator.hpp"
@ -54,3 +57,5 @@ public:
_clds(&_oops_in_cld, process_only_dirty),
_nmethods(pss->worker_id(), &_oops_in_nmethod, should_mark) {}
};
#endif // SHARE_GC_G1_G1SHAREDCLOSURES_HPP

View File

@ -22,6 +22,9 @@
*
*/
#ifndef SHARE_OPTO_LIBRARY_CALL_HPP
#define SHARE_OPTO_LIBRARY_CALL_HPP
#include "ci/ciMethod.hpp"
#include "classfile/javaClasses.hpp"
#include "opto/callGenerator.hpp"
@ -416,3 +419,4 @@ class LibraryCallKit : public GraphKit {
bool inline_blackhole();
};
#endif // SHARE_OPTO_LIBRARY_CALL_HPP

View File

@ -22,6 +22,9 @@
*
*/
#ifndef SHARE_UTILITIES_PACKEDTABLE_HPP
#define SHARE_UTILITIES_PACKEDTABLE_HPP
#include "oops/array.hpp"
#include "utilities/globalDefinitions.hpp"
@ -121,3 +124,5 @@ public:
}
}
};
#endif // SHARE_UTILITIES_PACKEDTABLE_HPP