Skip to content

Commit

Permalink
Asserts fired due to PROD_WITH_ASSUMES commented out
Browse files Browse the repository at this point in the history
  • Loading branch information
manashaVetrivelu committed Jul 8, 2022
1 parent 6b4a2db commit 98e8900
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions runtime/compiler/control/CompilationThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4934,7 +4934,7 @@ TR::CompilationInfo::addMethodToBeCompiled(TR::IlGeneratorMethodDetails & detail
{
if (TR::Options::isAnyVerboseOptionSet())
TR_VerboseLog::writeLineLocked(TR_Vlog_INFO, "Discrepancy for queue size while adding to queue: Before adding numEntries=%d _numQueuedMethods=%d\n", numEntries, _numQueuedMethods);
TR_ASSERT(false, "Discrepancy for queue size while adding to queue");
//TR_ASSERT(false, "Discrepancy for queue size while adding to queue");
}
}
cur = getCompilationQueueEntry();
Expand Down Expand Up @@ -11599,7 +11599,7 @@ TR::CompilationInfo::replenishInvocationCount(J9Method *method, TR::Compilation
}
else
{
TR_ASSERT(false, "Unexpected value for method->extra = %p (method=%p)\n", TR::CompilationInfo::getJ9MethodExtra(method), method);
//TR_ASSERT(false, "Unexpected value for method->extra = %p (method=%p)\n", TR::CompilationInfo::getJ9MethodExtra(method), method);
}
}

Expand Down
2 changes: 1 addition & 1 deletion runtime/compiler/infra/J9MonitorTable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ J9::MonitorTable::readReleaseClassUnloadMonitor(int32_t compThreadIndex)
}
else
{
TR_ASSERT(false, "comp thread %d does not have classUnloadMonitor", compThreadIndex);
//TR_ASSERT(false, "comp thread %d does not have classUnloadMonitor", compThreadIndex);
return -1; // could not release monitor
}
}
2 changes: 1 addition & 1 deletion runtime/compiler/x/codegen/J9TreeEvaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10776,7 +10776,7 @@ void J9::X86::TreeEvaluator::VMwrtbarWithoutStoreEvaluator(
{
TR::Compilation *comp = cg->comp();
TR_J9VMBase *fej9 = (TR_J9VMBase *)(cg->fe());
TR_ASSERT(!(comp->getOptions()->realTimeGC()),"Call the real-time barrier");
//TR_ASSERT(!(comp->getOptions()->realTimeGC()),"Call the real-time barrier");
auto gcMode = TR::Compiler->om.writeBarrierType();

if (node->getOpCode().isWrtBar() && node->skipWrtBar())
Expand Down

0 comments on commit 98e8900

Please sign in to comment.