AllocateHeapAt disabling on AIX
Baesken, Matthias
matthias.baesken at sap.com
Wed Sep 26 15:41:18 UTC 2018
Hello, we want to disable the globals-flag AllocateHeapAt on AIX .
It currently does not really work on this platform, and there is no current plan to support it .
My question :
Should I just add a check to argument.cpp ?
Or should I use the constraint function feature for this ?
E.g. add a constraint function to globals.hpp and then do something like this ?
JVMFlag::Error AllocateHeapAtConstraintFunc(ccstr value, bool verbose) {
#if defined(_AIX)
return JVMFlag::VIOLATES_CONSTRAINT;
#endif
return JVMFlag::SUCCESS;
}
To me the current usages of the constraint functions do not look like they were intended for platform-handling, but for
Checking validity/sanity of some flag values .
Thanks for your comments, Matthias
More information about the hotspot-dev
mailing list