graal icon indicating copy to clipboard operation
graal copied to clipboard

Need an API in IsolateArgumentParser to return long typed option value

Open ziyilin opened this issue 3 years ago • 1 comments

Feature request

Class com.oracle.svm.core.IsolateArgumentParser parses the options set at runtime for native image isolate. There are 4 options are currently supported, -Xmx, -Xms, -Xmn, and -XX:-AutomaticReferenceHandling. The first three of them are long typed, but there is only one getIntOptionValue method can return a integer typed option value.

Describe the solution you'd like. Add an API to return the long typed option value.

Express whether you'd like to help contributing this feature I have proposed a PR to fix this issue: https://github.com/oracle/graal/pull/4850

ziyilin avatar Aug 29 '22 07:08 ziyilin

Thank you for your suggestion, we will take a look into it

oubidar-Abderrahim avatar Sep 02 '22 14:09 oubidar-Abderrahim