Java classes and keywords | SynchronizationTracing
Avoid using System.out.println in the final code. This is a serialized resource that requires file I/O on every call and will impact performance.
When adding WC trace in the code, it should be enclosed in a if-then block if the trace parameters have side effects (for example, creating new objects, expensive operations). For example:
if (ECTrace.traceEnabled(ECTrace.Identifiers.COMPONENT_XYZ) { ....... }