hotspot/src/share/vm/runtime/perfData.hpp
changeset 46630 75aa3e39d02c
parent 34195 89011d12ebd3
equal deleted inserted replaced
46629:8eeacdc76bf2 46630:75aa3e39d02c
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   286   protected:
   286   protected:
   287 
   287 
   288     void *_valuep;
   288     void *_valuep;
   289 
   289 
   290     PerfData(CounterNS ns, const char* name, Units u, Variability v);
   290     PerfData(CounterNS ns, const char* name, Units u, Variability v);
   291     ~PerfData();
   291     virtual ~PerfData();
   292 
   292 
   293     // create the entry for the PerfData item in the PerfData memory region.
   293     // create the entry for the PerfData item in the PerfData memory region.
   294     // this region is maintained separately from the PerfData objects to
   294     // this region is maintained separately from the PerfData objects to
   295     // facilitate its use by external processes.
   295     // facilitate its use by external processes.
   296     void create_entry(BasicType dtype, size_t dsize, size_t dlen = 0);
   296     void create_entry(BasicType dtype, size_t dsize, size_t dlen = 0);