--- old/src/hotspot/share/gc/shared/collectedHeap.cpp 2020-02-21 11:14:38.164162258 +0100 +++ new/src/hotspot/share/gc/shared/collectedHeap.cpp 2020-02-21 11:14:37.960158844 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -331,6 +331,9 @@ return MemoryUsage(InitialHeapSize, used(), capacity(), max_capacity()); } +ObjectMarker* CollectedHeap::object_marker() { + return new DefaultObjectMarker(); +} #ifndef PRODUCT void CollectedHeap::check_for_non_bad_heap_word_value(HeapWord* addr, size_t size) {