@@ -911,11 +911,11 @@ head = old_head; } // Nothing more for the iterator to hand out. - assert(head == NULL, err_msg("head is " PTR_FORMAT ", expected not null:", p2i(head))); + assert(head == NULL, "head is " PTR_FORMAT ", expected not null:", p2i(head)); return NULL; } ClassLoaderDataGraphMetaspaceIterator::ClassLoaderDataGraphMetaspaceIterator() { _data = ClassLoaderDataGraph::_head;