mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8142510: -XX:+PrintFlagsRanges should print default range value for those flags that have constraint and an implicit range
Implemented default ranges for flags with constraints and no explicit ranges Reviewed-by: ddmitriev, coleenp
This commit is contained in:
parent
7e6e45906b
commit
64a7656938
6 changed files with 107 additions and 12 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -71,7 +71,7 @@ public:
|
|||
static CommandLineFlagRange* at(int i) { return (_ranges != NULL) ? _ranges->at(i) : NULL; }
|
||||
static CommandLineFlagRange* find(const char* name);
|
||||
static void add(CommandLineFlagRange* range) { _ranges->append(range); }
|
||||
static void print(const char* name, outputStream* st, bool unspecified = false);
|
||||
static void print(outputStream* st, const char* name, RangeStrFunc default_range_str_func);
|
||||
// Check the final values of all flags for ranges.
|
||||
static bool check_ranges();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue