-
Bug
-
Resolution: Fixed
-
P5
-
18, 19
-
b05
After "JDK-8154011: Make TraceDeoptimization a diagnostic flag" some code is not included in the PRODUCT build.
Remove all the #ifndef PRODUCT guards around TraceDeoptimization checks and make sure to be consistent.
The DEOPT PACKING messages are controlled by PrintDeoptimizationDetails, but DEOPT UNPACKING is controlled by TraceDeoptimization. Therefore it would sense to make PrintDeoptimizationDetails a diagnostic flag as well.
See vfameArray.cpp:443
#ifndef PRODUCT
if (PrintDeoptimizationDetails) {
[...]
} else if (TraceDeoptimization) {
[...]
}
#endif
Make sure that performance is not impacted by the change.
Remove all the #ifndef PRODUCT guards around TraceDeoptimization checks and make sure to be consistent.
The DEOPT PACKING messages are controlled by PrintDeoptimizationDetails, but DEOPT UNPACKING is controlled by TraceDeoptimization. Therefore it would sense to make PrintDeoptimizationDetails a diagnostic flag as well.
See vfameArray.cpp:443
#ifndef PRODUCT
if (PrintDeoptimizationDetails) {
[...]
} else if (TraceDeoptimization) {
[...]
}
#endif
Make sure that performance is not impacted by the change.
- relates to
-
JDK-8154011 Make TraceDeoptimization a diagnostic flag
-
- Resolved
-