Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/hotspot/share/utilities/numberSeq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
*
*/

#include "memory/allocation.inline.hpp"
#include "utilities/debug.hpp"
#include "utilities/globalDefinitions.hpp"
#include "utilities/numberSeq.hpp"
Expand Down
1 change: 1 addition & 0 deletions src/hotspot/share/utilities/numberSeq.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#define SHARE_UTILITIES_NUMBERSEQ_HPP

#include "memory/allocation.hpp"
#include "utilities/ostream.hpp"
Copy link
Contributor

@tschatzl tschatzl Sep 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CHeapObj is from allocation.hpp. So the original include is correct.

Instead of including the other header just for outputStream, better forward-declare it in the .hpp file here and include it in the cpp file.


/**
** This file contains a few classes that represent number sequence,
Expand Down