--- old/src/share/vm/runtime/jniHandles.cpp 2019-01-28 17:44:29.000000000 +0800 +++ new/src/share/vm/runtime/jniHandles.cpp 2019-01-28 17:44:29.000000000 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2019, 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 @@ -413,6 +413,7 @@ * is placed here so that we don't need to add it to each of the collectors. */ JvmtiExport::weak_oops_do(is_alive, f); + TRACE_WEAK_OOPS_DO(is_alive, f); }