Mercurial > hg > graal-jvmci-8
comparison src/share/vm/services/memPtr.hpp @ 6607:e5bf1c79ed5b
7191124: Optimized build is broken due to inconsistent use of DEBUG_ONLY and NOT_PRODUCT macros in NMT
Summary: Updated all related variables and methods to use NOT_PRODUCT macros
Reviewed-by: coleenp, acorn, kvn
author | zgu |
---|---|
date | Tue, 14 Aug 2012 13:56:46 -0400 |
parents | d2a62e0f25eb |
children | 716c64bda5ba |
comparison
equal
deleted
inserted
replaced
6606:98625323d3a3 | 6607:e5bf1c79ed5b |
---|---|
49 _seq_number = 1; | 49 _seq_number = 1; |
50 DEBUG_ONLY(_generation ++;) | 50 DEBUG_ONLY(_generation ++;) |
51 }; | 51 }; |
52 | 52 |
53 DEBUG_ONLY(static unsigned long current_generation() { return (unsigned long)_generation; }) | 53 DEBUG_ONLY(static unsigned long current_generation() { return (unsigned long)_generation; }) |
54 DEBUG_ONLY(static jint max_seq_num() { return _max_seq_number; }) | 54 NOT_PRODUCT(static jint max_seq_num() { return _max_seq_number; }) |
55 | 55 |
56 private: | 56 private: |
57 static volatile jint _seq_number; | 57 static volatile jint _seq_number; |
58 DEBUG_ONLY(static jint _max_seq_number; ) | 58 NOT_PRODUCT(static jint _max_seq_number; ) |
59 DEBUG_ONLY(static volatile unsigned long _generation; ) | 59 DEBUG_ONLY(static volatile unsigned long _generation; ) |
60 }; | 60 }; |
61 | 61 |
62 /* | 62 /* |
63 * followings are the classes that are used to hold memory activity records in different stages. | 63 * followings are the classes that are used to hold memory activity records in different stages. |