JDK-8199264 : Remove universe.inline.hpp to simplify include dependencies
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-03-07
  • Updated: 2018-03-30
  • Resolved: 2018-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11
11 b07Fixed
Related Reports
Relates :  
Description
As a step towards getting the code base to better adhere to our StyleGuide rules regarding include files, I propose that we move the two trivial functions in universe.inline.hpp over to universe.hpp.

An alternative would be to start to move functions using the functions in universe.inline.hpp, and that has a large fan out, so I think the proposed solution is better.
Comments
Coleen pointed out that: 1) field_type_should_be_aligned isn't needed anymore because the single place where it is used, it always evaluates to true 2) element_type_should_be_aligned is only used in arrayOop.hpp and could move there instead. So, the proposal is to remove field_type_should_be_aligned and move element_type_should_be_aligned to arrayOop.hpp.
07-03-2018