Skip to content

Commit

Permalink
Merge pull request #18290 from babsingh/findScopedValueBindings_v2
Browse files Browse the repository at this point in the history
Remove the redundant check from the assertion
  • Loading branch information
keithc-ca committed Oct 17, 2023
2 parents b965447 + c9578bd commit e8a76ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/jcl/common/thread.cpp
Expand Up @@ -639,7 +639,7 @@ findScopedValueBindingsWalkFunction(J9VMThread *currentThread, J9StackWalkState
UDATA count = (UDATA)walkState->userData2;
rc = J9_STACKWALK_STOP_ITERATING;
/* runWith method should only have one instance of java.lang.ScopedValue$Snapshot. */
Assert_JCL_true((NULL != walkState->userData1) && (1 == count));
Assert_JCL_true(1 == count);
} else if (0 == walkState->inlineDepth) {
/* Reset userData1 and userData2 after iterating all O-slots of a method. */
walkState->userData1 = NULL;
Expand Down

0 comments on commit e8a76ff

Please sign in to comment.