--- old/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/Oop.java 2017-08-24 22:52:49.465883040 +0900 +++ new/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/Oop.java 2017-08-24 22:52:49.328882656 +0900 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2017, 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 @@ -202,8 +202,7 @@ public boolean verify() { return true;} - // Package-private routine to speed up ObjectHeap.newOop - static Klass getKlassForOopHandle(OopHandle handle) { + public static Klass getKlassForOopHandle(OopHandle handle) { if (handle == null) { return null; }