Skip to content
Permalink
Browse files
8254012: NMT: MetaspaceSnapshot::snapshot uses wrong enum
Reviewed-by: stuefe, rrich
  • Loading branch information
yminqi committed Oct 14, 2020
1 parent 96a1f08 commit fde02e231bfe6acd762bf798a218956a0d5b0632
Showing 1 changed file with 2 additions and 2 deletions.
@@ -678,8 +678,8 @@ void MetaspaceSnapshot::snapshot(Metaspace::MetadataType type, MetaspaceSnapshot
}

void MetaspaceSnapshot::snapshot(MetaspaceSnapshot& mss) {
snapshot(Metaspace::ClassType, mss);
snapshot(Metaspace::NonClassType, mss);
if (Metaspace::using_class_space()) {
snapshot(Metaspace::NonClassType, mss);
snapshot(Metaspace::ClassType, mss);
}
}

1 comment on commit fde02e2

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on fde02e2 Oct 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.