United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6917698 os::is_allocatable Zero fix for 32-bit platforms
6917698 : os::is_allocatable Zero fix for 32-bit platforms

Details
Type:
Bug
Submit Date:
2010-01-18
Status:
Closed
Updated Date:
2012-10-08
Project Name:
JDK
Resolved Date:
2010-01-28
Component:
hotspot
OS:
generic
Sub-Component:
runtime
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs17
Fixed Versions:
hs17

Related Reports
Backport:
Backport:

Sub Tasks

Description
Gary Benson wrote:

Hi all,

Recent changes in arguments.cpp mean that
os::allocatable_physical_memory is now always called at VM startup.
On 32-bit platforms this calls os::is_allocatable which was not
implemented in Zero.  This webrev implements this:

  http://cr.openjdk.java.net/~gbenson/zero-is_allocatable/

The implementation provided is essentially a copy of the one from
os_linux_x86.cpp.  It was contributed by Edward Nevill, an SCA
signatory.  I modified his contribution by replacing the AMD64
conditional with _LP64 to make the code generic.

Note that I added 2009 to the copyright header as well as 2010.
This was intentional: I modified that file several times in 2009,
and forgot to update the copyright each time :/

There is no bug filed for this issue yet.

Cheers,
Gary

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/d11ce1551e8d
                                     
2010-01-18



Hardware and Software, Engineered to Work Together