8252037: Optimized build is broken

Fix some optimized build issues.

Reviewed-by: vlivanov, tschatzl, thartmann, kbarrett
This commit is contained in:
Christian Hagedorn 2020-08-26 13:41:49 +02:00
parent b978ebee46
commit 84e62e8597
2 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,7 @@
*/
#include "precompiled.hpp"
#include "classfile/javaClasses.inline.hpp"
#include "code/debugInfoRec.hpp"
#include "code/pcDesc.hpp"
#include "code/scopeDesc.hpp"

View File

@ -1609,6 +1609,7 @@ void PSParallelCompact::summary_phase(ParCompactionManager* cm,
{
GCTraceTime(Info, gc, phases) tm("Summary Phase", &_gc_timer);
#ifdef ASSERT
log_develop_debug(gc, marking)(
"add_obj_count=" SIZE_FORMAT " "
"add_obj_bytes=" SIZE_FORMAT,
@ -1619,6 +1620,7 @@ void PSParallelCompact::summary_phase(ParCompactionManager* cm,
"mark_bitmap_bytes=" SIZE_FORMAT,
mark_bitmap_count,
mark_bitmap_size * HeapWordSize);
#endif // ASSERT
// Quick summarization of each space into itself, to see how much is live.
summarize_spaces_quick();