< prev index next >

src/share/vm/runtime/perfData.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2001, 2013, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2001, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 771,792 **** const char *s, TRAPS); static PerfStringVariable* create_string_variable(CounterNS ns, const char* name, const char *s, TRAPS) { ! return create_string_variable(ns, name, 0, s, CHECK_NULL); }; static PerfLongVariable* create_long_variable(CounterNS ns, const char* name, PerfData::Units u, jlong ival, TRAPS); static PerfLongVariable* create_long_variable(CounterNS ns, const char* name, PerfData::Units u, TRAPS) { ! return create_long_variable(ns, name, u, (jlong)0, CHECK_NULL); }; static PerfLongVariable* create_long_variable(CounterNS, const char* name, PerfData::Units u, jlong* sp, TRAPS); --- 771,792 ---- const char *s, TRAPS); static PerfStringVariable* create_string_variable(CounterNS ns, const char* name, const char *s, TRAPS) { ! return create_string_variable(ns, name, 0, s, THREAD); }; static PerfLongVariable* create_long_variable(CounterNS ns, const char* name, PerfData::Units u, jlong ival, TRAPS); static PerfLongVariable* create_long_variable(CounterNS ns, const char* name, PerfData::Units u, TRAPS) { ! return create_long_variable(ns, name, u, (jlong)0, THREAD); }; static PerfLongVariable* create_long_variable(CounterNS, const char* name, PerfData::Units u, jlong* sp, TRAPS);
*** 803,813 **** PerfData::Units u, jlong ival, TRAPS); static PerfLongCounter* create_long_counter(CounterNS ns, const char* name, PerfData::Units u, TRAPS) { ! return create_long_counter(ns, name, u, (jlong)0, CHECK_NULL); }; static PerfLongCounter* create_long_counter(CounterNS ns, const char* name, PerfData::Units u, jlong* sp, TRAPS); --- 803,813 ---- PerfData::Units u, jlong ival, TRAPS); static PerfLongCounter* create_long_counter(CounterNS ns, const char* name, PerfData::Units u, TRAPS) { ! return create_long_counter(ns, name, u, (jlong)0, THREAD); }; static PerfLongCounter* create_long_counter(CounterNS ns, const char* name, PerfData::Units u, jlong* sp, TRAPS);
*** 821,873 **** // these creation methods are provided for ease of use. These allow // Long performance data types to be created with a shorthand syntax. static PerfConstant* create_constant(CounterNS ns, const char* name, PerfData::Units u, jlong val, TRAPS) { ! return create_long_constant(ns, name, u, val, CHECK_NULL); } static PerfVariable* create_variable(CounterNS ns, const char* name, PerfData::Units u, jlong ival, TRAPS) { ! return create_long_variable(ns, name, u, ival, CHECK_NULL); } static PerfVariable* create_variable(CounterNS ns, const char* name, PerfData::Units u, TRAPS) { ! return create_long_variable(ns, name, u, (jlong)0, CHECK_NULL); } static PerfVariable* create_variable(CounterNS ns, const char* name, PerfData::Units u, jlong* sp, TRAPS) { ! return create_long_variable(ns, name, u, sp, CHECK_NULL); } static PerfVariable* create_variable(CounterNS ns, const char* name, PerfData::Units u, PerfSampleHelper* sh, TRAPS) { ! return create_long_variable(ns, name, u, sh, CHECK_NULL); } static PerfCounter* create_counter(CounterNS ns, const char* name, PerfData::Units u, jlong ival, TRAPS) { ! return create_long_counter(ns, name, u, ival, CHECK_NULL); } static PerfCounter* create_counter(CounterNS ns, const char* name, PerfData::Units u, TRAPS) { ! return create_long_counter(ns, name, u, (jlong)0, CHECK_NULL); } static PerfCounter* create_counter(CounterNS ns, const char* name, PerfData::Units u, jlong* sp, TRAPS) { ! return create_long_counter(ns, name, u, sp, CHECK_NULL); } static PerfCounter* create_counter(CounterNS ns, const char* name, PerfData::Units u, PerfSampleHelper* sh, TRAPS) { ! return create_long_counter(ns, name, u, sh, CHECK_NULL); } static void destroy(); }; --- 821,873 ---- // these creation methods are provided for ease of use. These allow // Long performance data types to be created with a shorthand syntax. static PerfConstant* create_constant(CounterNS ns, const char* name, PerfData::Units u, jlong val, TRAPS) { ! return create_long_constant(ns, name, u, val, THREAD); } static PerfVariable* create_variable(CounterNS ns, const char* name, PerfData::Units u, jlong ival, TRAPS) { ! return create_long_variable(ns, name, u, ival, THREAD); } static PerfVariable* create_variable(CounterNS ns, const char* name, PerfData::Units u, TRAPS) { ! return create_long_variable(ns, name, u, (jlong)0, THREAD); } static PerfVariable* create_variable(CounterNS ns, const char* name, PerfData::Units u, jlong* sp, TRAPS) { ! return create_long_variable(ns, name, u, sp, THREAD); } static PerfVariable* create_variable(CounterNS ns, const char* name, PerfData::Units u, PerfSampleHelper* sh, TRAPS) { ! return create_long_variable(ns, name, u, sh, THREAD); } static PerfCounter* create_counter(CounterNS ns, const char* name, PerfData::Units u, jlong ival, TRAPS) { ! return create_long_counter(ns, name, u, ival, THREAD); } static PerfCounter* create_counter(CounterNS ns, const char* name, PerfData::Units u, TRAPS) { ! return create_long_counter(ns, name, u, (jlong)0, THREAD); } static PerfCounter* create_counter(CounterNS ns, const char* name, PerfData::Units u, jlong* sp, TRAPS) { ! return create_long_counter(ns, name, u, sp, THREAD); } static PerfCounter* create_counter(CounterNS ns, const char* name, PerfData::Units u, PerfSampleHelper* sh, TRAPS) { ! return create_long_counter(ns, name, u, sh, THREAD); } static void destroy(); };
< prev index next >