-
Notifications
You must be signed in to change notification settings - Fork 733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asserts fired due to PROD_WITH_ASSUMES commented out #15509
base: master
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2000, 2021 IBM Corp. and others | ||
* Copyright (c) 2000, 2022 IBM Corp. and others | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file only has the date in the copyright changed. We can skip it. |
||
* | ||
* This program and the accompanying materials are made available under | ||
* the terms of the Eclipse Public License 2.0 which accompanies this | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10776,7 +10776,8 @@ 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"); | ||
//assert below is commented because it is fired when compiled with PROD_WITH_ASSUMES | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Suggest something like: |
||
//TR_ASSERT(!(comp->getOptions()->realTimeGC()),"Call the real-time barrier"); | ||
auto gcMode = TR::Compiler->om.writeBarrierType(); | ||
|
||
if (node->getOpCode().isWrtBar() && node->skipWrtBar()) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to further investigate this case