mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 12:04:39 +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
|
@ -958,12 +958,10 @@ void Parse::do_exits() {
|
|||
PPC64_ONLY(wrote_volatile() ||)
|
||||
(AlwaysSafeConstructors && wrote_fields()))) {
|
||||
_exits.insert_mem_bar(Op_MemBarRelease, alloc_with_final());
|
||||
#ifndef PRODUCT
|
||||
if (PrintOpto && (Verbose || WizardMode)) {
|
||||
method()->print_name();
|
||||
tty->print_cr(" writes finals and needs a memory barrier");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// Any method can write a @Stable field; insert memory barriers after
|
||||
|
@ -971,12 +969,10 @@ void Parse::do_exits() {
|
|||
// barrier there.
|
||||
if (wrote_stable()) {
|
||||
_exits.insert_mem_bar(Op_MemBarRelease, alloc_with_final());
|
||||
#ifndef PRODUCT
|
||||
if (PrintOpto && (Verbose || WizardMode)) {
|
||||
method()->print_name();
|
||||
tty->print_cr(" writes @Stable and needs a memory barrier");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
for (MergeMemStream mms(_exits.merged_memory()); mms.next_non_empty(); ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue