AllocateHeapAt disabling on AIX
Baesken, Matthias
matthias.baesken at sap.com
Wed Sep 26 16:14:24 UTC 2018
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
mailing list