Mercurial > hg > openjdk > jdk8u > hotspot
changeset 9163:8689c69d5c19
8216578: Remove unused/obsolete method in JFR code
Reviewed-by: mgronlun, mikael
author | stooke |
---|---|
date | Wed, 16 Jan 2019 13:38:19 -0500 |
parents | 4937bafbb2f8 |
children | d2b51a10084d |
files | src/share/vm/jfr/periodic/jfrOSInterface.cpp |
diffstat | 1 files changed, 1 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/jfr/periodic/jfrOSInterface.cpp Fri Jan 11 13:34:57 2019 +0100 +++ b/src/share/vm/jfr/periodic/jfrOSInterface.cpp Wed Jan 16 13:38:19 2019 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 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 @@ -70,9 +70,6 @@ SystemProcessInterface* _system_process_interface; NetworkPerformanceInterface* _network_performance_interface; - // stub helper - void functionality_not_implemented(char** str) const; - JfrOSInterfaceImpl(); bool initialize(); ~JfrOSInterfaceImpl(); @@ -178,15 +175,6 @@ return OS_OK; } -void JfrOSInterface::JfrOSInterfaceImpl::functionality_not_implemented(char** str) const { - assert(str != NULL, "address to string is NULL!"); - const char* not_impl = "Functionality_not_implemented"; - const size_t not_impl_len = strlen(not_impl); - *str = NEW_C_HEAP_ARRAY(char, not_impl_len+1, mtTracing); - strncpy(*str, not_impl, not_impl_len); - (*str)[not_impl_len] = '\0'; -} - JfrOSInterface::JfrOSInterface() { _impl = NULL; }