hg: hsx/hotspot-comp/hotspot: 8011009: Use do-while(0) instead of while(0) in EC_TRACE and RC_TRACE* macros

krystal.mo at oracle.com krystal.mo at oracle.com
Sat Mar 30 10:55:35 PDT 2013


Changeset: 6b19fe41b577
Author:    kmo
Date:      2013-03-30 08:01 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/6b19fe41b577

8011009: Use do-while(0) instead of while(0) in EC_TRACE and RC_TRACE* macros
Summary: Improve EC_TRACE and RC_TRACE* to use the do-while(0) trick for statement-like macro
Reviewed-by: sspitsyn, dcubed

! src/share/vm/prims/jvmtiEventController.cpp
! src/share/vm/prims/jvmtiRedefineClassesTrace.hpp



More information about the hotspot-compiler-dev mailing list