JDK-4929857 : Clean up os::reserve_memory
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • OS: generic
  • CPU: generic
  • Submitted: 2003-09-29
  • Updated: 2010-08-31
  • Resolved: 2010-08-31
Description
os::reserve_memory has been broken out into OS and CPU-specific variants most
probably for historical reasons (according to comments in the code it looks like
the only concrete reason it was done was to place the heap differently on
Solaris/x86). In recent fixes for 4852809 and 4925121 the variants in
os_linux_i486.cpp, os_linux_ia64.cpp, and os_linux_amd64.cpp were merged into
os_linux.cpp. For consistency's sake this should be done on the other platforms
as well. Presumably this code is not really CPU-specific although there are
subtle differences among the Solaris and Windows versions of this code.

Comments
EVALUATION This appears to have been done a long time ago. Closing as not (currently) a defect.
31-08-2010

EVALUATION Should be done for 1.5. ###@###.### 2003-09-29
29-09-2003