mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8140424: don't prefix developer and notproduct flag variables with CONST_ in product builds
Reviewed-by: goetz, stefank
This commit is contained in:
parent
c4ce43c1ac
commit
6896030b96
33 changed files with 138 additions and 200 deletions
|
@ -456,7 +456,7 @@ const char* Arguments::real_flag_name(const char *flag_name) {
|
|||
return flag_name;
|
||||
}
|
||||
|
||||
#ifndef PRODUCT
|
||||
#ifdef ASSERT
|
||||
static bool lookup_special_flag(const char *flag_name, size_t skip_index) {
|
||||
for (size_t i = 0; special_jvm_flags[i].name != NULL; i++) {
|
||||
if ((i != skip_index) && (strcmp(special_jvm_flags[i].name, flag_name) == 0)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue