Skip to content

Commit

Permalink
Add parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
reinrich committed Nov 27, 2024
1 parent eba902e commit e00d615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/utilities/growableArray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void GrowableArrayNestingCheck::on_resource_area_alloc() const {
}

void GrowableArrayNestingCheck::on_arena_alloc(Arena* arena) const {
if ((arena->get_tag() == Arena::Tag::tag_ra) && _nesting != static_cast<ResourceArea*>(arena)->nesting()) {
if ((arena->get_tag() == Arena::Tag::tag_ra) && (_nesting != static_cast<ResourceArea*>(arena)->nesting())) {
fatal("allocation bug: GrowableArray is growing within nested ResourceMark");
}
}
Expand Down

0 comments on commit e00d615

Please sign in to comment.