comparison src/share/vm/utilities/macros.hpp @ 453:c96030fff130

6684579: SoftReference processing can be made more efficient Summary: For current soft-ref clearing policies, we can decide at marking time if a soft-reference will definitely not be cleared, postponing the decision of whether it will definitely be cleared to the final reference processing phase. This can be especially beneficial in the case of concurrent collectors where the marking is usually concurrent but reference processing is usually not. Reviewed-by: jmasa
author ysr
date Thu, 20 Nov 2008 16:56:09 -0800
parents 9ee9cf798b59
children 6e2afda171db
comparison
equal deleted inserted replaced
452:00b023ae2d78 453:c96030fff130
63 #endif // COMPILER1 63 #endif // COMPILER1
64 64
65 // COMPILER2 variant 65 // COMPILER2 variant
66 #ifdef COMPILER2 66 #ifdef COMPILER2
67 #define COMPILER2_PRESENT(code) code 67 #define COMPILER2_PRESENT(code) code
68 #define NOT_COMPILER2(code)
68 #else // COMPILER2 69 #else // COMPILER2
69 #define COMPILER2_PRESENT(code) 70 #define COMPILER2_PRESENT(code)
71 #define NOT_COMPILER2(code) code
70 #endif // COMPILER2 72 #endif // COMPILER2
71 73
72 74
73 // PRODUCT variant 75 // PRODUCT variant
74 #ifdef PRODUCT 76 #ifdef PRODUCT