Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add comment that archiving flattened arrays with oops in the inline c…
…lass element type is not supported.
  • Loading branch information
coleenp committed Dec 11, 2025
commit c01ef0a24eabd87f1f9c3794e26f277a603f12d5
2 changes: 2 additions & 0 deletions src/hotspot/share/cds/aotMapLogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,8 @@ void AOTMapLogger::print_oop_details(FakeOop fake_oop, outputStream* st) {
if (real_klass->is_typeArray_klass()) {
fake_oop.as_type_array().print_elements_on(st);
} else if (real_klass->is_flatArray_klass()) {
// Archiving FlatArrayOop with embedded oops is not supported.
// TODO: add restriction.
fake_oop.as_flat_array().print_elements_on(st);
} else if (real_klass->is_refArray_klass()) {
FakeRefArray fake_obj_array = fake_oop.as_ref_array();
Expand Down