Mercurial > hg > truffle
comparison src/share/vm/utilities/globalDefinitions.hpp @ 361:a4f9ef0c0375
6743059: Error in spaceDecorator.cpp "optimized" build.
Summary: Changed the guard on the definition of the method value in HeapWord from ASSERT to not PRODUCT.
Reviewed-by: iveresov, apetrusenko
author | jmasa |
---|---|
date | Thu, 04 Sep 2008 14:49:08 -0700 |
parents | 850fdf70db2b |
children | 2328d1d3f8cf 7628781568e1 |
comparison
equal
deleted
inserted
replaced
360:5d254928c888 | 361:a4f9ef0c0375 |
---|---|
97 // object size. | 97 // object size. |
98 class HeapWord { | 98 class HeapWord { |
99 friend class VMStructs; | 99 friend class VMStructs; |
100 private: | 100 private: |
101 char* i; | 101 char* i; |
102 #ifdef ASSERT | 102 #ifndef PRODUCT |
103 public: | 103 public: |
104 char* value() { return i; } | 104 char* value() { return i; } |
105 #endif | 105 #endif |
106 }; | 106 }; |
107 | 107 |