mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 05:45:11 +02:00
6849716: BitMap - performance regression introduced with G1
Make verification code visible only in debug builds Reviewed-by: iveresov, ysr, johnc, apetrusenko, tonyp
This commit is contained in:
parent
10002fa2ff
commit
24f3527be2
5 changed files with 19 additions and 18 deletions
|
@ -106,11 +106,13 @@
|
|||
#ifdef ASSERT
|
||||
#define DEBUG_ONLY(code) code
|
||||
#define NOT_DEBUG(code)
|
||||
#define NOT_DEBUG_RETURN /*next token must be ;*/
|
||||
// Historical.
|
||||
#define debug_only(code) code
|
||||
#else // ASSERT
|
||||
#define DEBUG_ONLY(code)
|
||||
#define NOT_DEBUG(code) code
|
||||
#define NOT_DEBUG_RETURN {}
|
||||
#define debug_only(code)
|
||||
#endif // ASSERT
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue