Question about os::getenv()

Jeremy Manson jeremymanson at
Wed Mar 4 20:14:53 UTC 2015

Hey folks,

We had a request internally to make it so that JAVA_TOOL_OPTIONS could
accept something longer than 1024 characters.  See:

Arguments::parse_options_environment_variable(const char* name,
SysClassPath* scp_p, bool* scp_assembly_required_p)


Would you folks be amenable to a refactoring so that getenv returns a newly
allocated array with the contents of the envvar, which the caller has to

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the serviceability-dev mailing list