提交 febeaf22 编写于 作者: J jmasa

7200615: NPG: optimized VM build is broken

Reviewed-by: kvn
上级 3dc5c8a5
...@@ -129,7 +129,7 @@ void WorkerDataArray<T>::print(int level, const char* title) { ...@@ -129,7 +129,7 @@ void WorkerDataArray<T>::print(int level, const char* title) {
buf.append_and_print_cr("]"); buf.append_and_print_cr("]");
} }
#ifdef ASSERT #ifndef PRODUCT
template <class T> template <class T>
void WorkerDataArray<T>::reset() { void WorkerDataArray<T>::reset() {
......
...@@ -2518,7 +2518,7 @@ void SpaceManager::dump(outputStream* const out) const { ...@@ -2518,7 +2518,7 @@ void SpaceManager::dump(outputStream* const out) const {
" waste " SIZE_FORMAT, curr_total, used, free, capacity, waste); " waste " SIZE_FORMAT, curr_total, used, free, capacity, waste);
} }
#ifndef PRODUCT #ifdef ASSERT
void SpaceManager::mangle_freed_chunks() { void SpaceManager::mangle_freed_chunks() {
for (ChunkIndex index = SmallIndex; for (ChunkIndex index = SmallIndex;
index < NumberOfFreeLists; index < NumberOfFreeLists;
...@@ -2536,7 +2536,7 @@ void SpaceManager::mangle_freed_chunks() { ...@@ -2536,7 +2536,7 @@ void SpaceManager::mangle_freed_chunks() {
} }
} }
} }
#endif // PRODUCT #endif // ASSERT
// MetaspaceAux // MetaspaceAux
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册