--- old/src/hotspot/share/classfile/dictionary.cpp 2018-06-19 09:43:32.661387555 -0700 +++ new/src/hotspot/share/classfile/dictionary.cpp 2018-06-19 09:43:32.344357655 -0700 @@ -503,6 +503,12 @@ ResourceMark rm; tty->print_cr("Skipping JFR event class %s", ik->name()->as_C_string()); free_entry(p); + } else if (ik->has_been_redefined()) { + // Similar to the above, we cannot include classes which has beed redefined during + // dump time. + ResourceMark rm; + tty->print_cr("Skipping redefined class %s", ik->name()->as_C_string()); + free_entry(p); } else { p->set_next(master_list); master_list = p;