AllocateHeapAt disabling on AIX
kishor.kharbas at intel.com
Thu Sep 27 18:38:13 UTC 2018
May I ask out of curiosity, whether you see any error using or having this option?
> -----Original Message-----
> From: hotspot-dev [mailto:hotspot-dev-bounces at openjdk.java.net] On
> Behalf Of Baesken, Matthias
> Sent: Wednesday, September 26, 2018 9:14 AM
> To: Aleksey Shipilev <shade at redhat.com>; David Holmes
> <david.holmes at oracle.com>; 'hotspot-dev at openjdk.java.net' <hotspot-
> dev at openjdk.java.net>
> Subject: RE: AllocateHeapAt disabling on AIX
> Hi Aleksey and David , sounds like a good idea.
> Thanks for your input !
> > -----Original Message-----
> > From: Aleksey Shipilev <shade at redhat.com>
> > Sent: Mittwoch, 26. September 2018 18:13
> > To: David Holmes <david.holmes at oracle.com>; Baesken, Matthias
> > <matthias.baesken at sap.com>; 'hotspot-dev at openjdk.java.net' <hotspot-
> > dev at openjdk.java.net>
> > Subject: Re: AllocateHeapAt disabling on AIX
> > On 09/26/2018 06:09 PM, David Holmes wrote:
> > > On 26/09/2018 12:02 PM, Baesken, Matthias wrote:
> > >> Hi David, I would like to print something like "AllocateHeapAt
> > >> not
> > supported on AIX" .
> > >> And then exit (probably just ignoring the flag and printing the
> > >> message
> > might be bad ).
> > >>
> > >> The constraint functions were suggested to me as an option but it
> > >> looks
> > to me they are
> > >> Intended for other use cases .
> > >
> > > Yes, I think a check in argument.cpp would be better.
> > There is already a similar block there at L3848:
> > #if defined(_ALLBSD_SOURCE) || defined(AIX) // UseLargePages is not
> > yet supported on BSD and AIX.
> > UNSUPPORTED_OPTION(UseLargePages);
> > #endif
> > ...I think you can add the AllocateHeapAt check nearby, Matthias.
> > -Aleksey
More information about the hotspot-dev