8060256: The loop in Arguments::parse() can be enhanced

Add continue statement for matching cases.

Reviewed-by: dholmes, bdelsart
This commit is contained in:
Jiangli Zhou 2014-10-16 14:11:53 -04:00
parent b79e1193cd
commit cc264643ac
4 changed files with 70 additions and 3 deletions

View file

@ -34,7 +34,10 @@ public:
static inline bool check_gc_consistency_user();
static inline bool check_gc_consistency_ergo();
static inline bool check_vm_args_consistency();
static void process_options(const JavaVMInitArgs* args) {}
// The argument processing extension. Returns true if there is
// no additional parsing needed in Arguments::parse() for the option.
// Otherwise returns false.
static inline bool process_options(const JavaVMOption *option) { return false; }
};
void ArgumentsExt::select_gc_ergonomically() {