Skip to content

Commit c61bae6

Browse files
committed
8355334: [leyden] Missing type profile info in archived training data
1 parent 1b9cb25 commit c61bae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/cds/archiveBuilder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ bool ArchiveBuilder::gather_one_source_obj(MetaspaceClosure::Ref* ref, bool read
459459

460460
if (ref->msotype() == MetaspaceObj::MethodDataType) {
461461
MethodData* md = (MethodData*)ref->obj();
462-
md->clean_method_data(true);
462+
md->clean_method_data(false /* always_clean */);
463463
}
464464

465465
assert(p->read_only() == src_info.read_only(), "must be");

0 commit comments

Comments
 (0)