src/java.management/share/native/libmanagement/ThreadImpl.c
changeset 58223 778fc2dcbdaa
parent 58208 0f3c23c374a4
child 58348 c29e49148be7
--- a/src/java.management/share/native/libmanagement/ThreadImpl.c	Wed Sep 18 17:31:35 2019 -0400
+++ b/src/java.management/share/native/libmanagement/ThreadImpl.c	Wed Sep 18 20:49:13 2019 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2019, 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
@@ -94,13 +94,6 @@
                                              JNI_FALSE /* user */);
 }
 
-JNIEXPORT jlong JNICALL
-Java_sun_management_ThreadImpl_getThreadAllocatedMemory0
-  (JNIEnv *env, jclass cls, jlong tid)
-{
-  return jmm_interface->GetOneThreadAllocatedMemory(env, tid);
-}
-
 JNIEXPORT void JNICALL
 Java_sun_management_ThreadImpl_getThreadAllocatedMemory1
   (JNIEnv *env, jclass cls, jlongArray ids, jlongArray sizeArray)