@@ -172,13 +172,11 @@ void prepare_for_archiving_impl(); void post_restore_impl(); public: - ~CodeBlob() { - assert(_oop_maps == nullptr, "Not flushed"); - } + ~CodeBlob() NOT_DEBUG_RETURN; // Returns the space needed for CodeBlob static unsigned int allocation_size(CodeBuffer* cb, int header_size); static unsigned int align_code_offset(int offset);