hotspot/src/share/vm/services/memoryManager.cpp
changeset 46329 53ccc37bda19
parent 30247 9925b07bba5b
--- a/hotspot/src/share/vm/services/memoryManager.cpp	Wed Mar 15 11:44:46 2017 +0100
+++ b/hotspot/src/share/vm/services/memoryManager.cpp	Wed Mar 15 10:25:37 2017 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 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
@@ -124,7 +124,7 @@
       signature = vmSymbols::createMemoryManager_signature();
     }
 
-    instanceKlassHandle ik(THREAD, k);
+    InstanceKlass* ik = InstanceKlass::cast(k);
 
     JavaCalls::call_static(&result,
                            ik,