mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
7167069: 6 VM flags crash the VM when queried via jinfo
Added missing double format to Flag::print_as_flag() Reviewed-by: dholmes, stefank, coleenp
This commit is contained in:
parent
efb4e7d77d
commit
831d61ffee
2 changed files with 40 additions and 0 deletions
|
@ -148,6 +148,8 @@ void Flag::print_as_flag(outputStream* st) {
|
|||
st->print("-XX:%s=" UINTX_FORMAT, name, get_uintx());
|
||||
} else if (is_uint64_t()) {
|
||||
st->print("-XX:%s=" UINT64_FORMAT, name, get_uint64_t());
|
||||
} else if (is_double()) {
|
||||
st->print("-XX:%s=%f", name, get_double());
|
||||
} else if (is_ccstr()) {
|
||||
st->print("-XX:%s=", name);
|
||||
const char* cp = get_ccstr();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue