Wed, 16 Jan 2019 13:38:19 -0500
8216578: Remove unused/obsolete method in JFR code
Reviewed-by: mgronlun, mikael
src/share/vm/jfr/periodic/jfrOSInterface.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/vm/jfr/periodic/jfrOSInterface.cpp Fri Jan 11 13:34:57 2019 +0100 1.2 +++ b/src/share/vm/jfr/periodic/jfrOSInterface.cpp Wed Jan 16 13:38:19 2019 -0500 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -70,9 +70,6 @@ 1.11 SystemProcessInterface* _system_process_interface; 1.12 NetworkPerformanceInterface* _network_performance_interface; 1.13 1.14 - // stub helper 1.15 - void functionality_not_implemented(char** str) const; 1.16 - 1.17 JfrOSInterfaceImpl(); 1.18 bool initialize(); 1.19 ~JfrOSInterfaceImpl(); 1.20 @@ -178,15 +175,6 @@ 1.21 return OS_OK; 1.22 } 1.23 1.24 -void JfrOSInterface::JfrOSInterfaceImpl::functionality_not_implemented(char** str) const { 1.25 - assert(str != NULL, "address to string is NULL!"); 1.26 - const char* not_impl = "Functionality_not_implemented"; 1.27 - const size_t not_impl_len = strlen(not_impl); 1.28 - *str = NEW_C_HEAP_ARRAY(char, not_impl_len+1, mtTracing); 1.29 - strncpy(*str, not_impl, not_impl_len); 1.30 - (*str)[not_impl_len] = '\0'; 1.31 -} 1.32 - 1.33 JfrOSInterface::JfrOSInterface() { 1.34 _impl = NULL; 1.35 }