RFR: JDK-8260404: jvm_io.h include missing in a number of files

Thomas Stuefe stuefe at openjdk.java.net
Tue Jan 26 17:02:54 UTC 2021


One of the last include corrections caused a build error on our AIX machines because compile.cpp uses jio_snprintf() without including jvm_io.h.

I did not deeply follow up on the why, but "8260307: Do not include method.hpp in frame.hpp" is a possible candidate. AIX builds without JFR and hence miss a number of include chains other platforms have.

I scanned hotspot sources for files using jio_snprintf but not including jvm_io.h. There are some hits, which should be fixed.

All this is trivial, right?

-------------

Commit messages:
 - JDK-8260404-add-missing-jvm_io.h

Changes: https://git.openjdk.java.net/jdk/pull/2232/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2232&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8260404
  Stats: 26 lines in 16 files changed: 16 ins; 0 del; 10 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2232.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2232/head:pull/2232

PR: https://git.openjdk.java.net/jdk/pull/2232


More information about the hotspot-dev mailing list