Blocks :
|
|
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
Currently when a VM parameter such as -XX:+UseCompressedOops is processed by arguments.cpp, we have to linearly search for the JVMFlag structure corresponding to this flag. We should build a hashtable so we can search the JVMFlags quickly. To avoid start-up cost, the hashtable should be built with constexpr. For a prototype, see http://cr.openjdk.java.net/~iklam/design/jvm_flags_overhaul/design-10/ at build time so we can quickly search for the flag.
|