hotspot/src/os/bsd/dtrace/hotspot.d
author sla
Wed, 04 Dec 2013 14:43:50 +0100
changeset 22216 888245fbd0a5
parent 10739 91935236600e
child 22190 d306a75a70d3
permissions -rw-r--r--
8029395: SA: jstack throws WrongTypeException Summary: SA missed some TLABs Reviewed-by: dsamersoff, mgerdin, brutisso
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10739
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
     1
/*
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
     2
 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
     4
 *
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
     7
 * published by the Free Software Foundation.
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
     8
 *
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    13
 * accompanied this code).
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    14
 *
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    18
 *
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    21
 * questions.
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    22
 *  
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    23
 */
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    24
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    25
provider hotspot {
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    26
  probe class__loaded(char*, uintptr_t, void*, uintptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    27
  probe class__unloaded(char*, uintptr_t, void*, uintptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    28
  probe class__initialization__required(char*, uintptr_t, void*, intptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    29
  probe class__initialization__recursive(char*, uintptr_t, void*, intptr_t,int);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    30
  probe class__initialization__concurrent(char*, uintptr_t, void*, intptr_t,int);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    31
  probe class__initialization__erroneous(char*, uintptr_t, void*, intptr_t, int);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    32
  probe class__initialization__super__failed(char*, uintptr_t, void*, intptr_t,int);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    33
  probe class__initialization__clinit(char*, uintptr_t, void*, intptr_t,int);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    34
  probe class__initialization__error(char*, uintptr_t, void*, intptr_t,int);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    35
  probe class__initialization__end(char*, uintptr_t, void*, intptr_t,int);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    36
  probe vm__init__begin();
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    37
  probe vm__init__end();
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    38
  probe vm__shutdown();
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    39
  probe vmops__request(char*, uintptr_t, int);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    40
  probe vmops__begin(char*, uintptr_t, int);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    41
  probe vmops__end(char*, uintptr_t, int);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    42
  probe gc__begin(uintptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    43
  probe gc__end();
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    44
  probe mem__pool__gc__begin(
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    45
    char*, uintptr_t, char*, uintptr_t, 
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    46
    uintptr_t, uintptr_t, uintptr_t, uintptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    47
  probe mem__pool__gc__end(
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    48
    char*, uintptr_t, char*, uintptr_t, 
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    49
    uintptr_t, uintptr_t, uintptr_t, uintptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    50
  probe thread__probe__start(char*, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    51
  probe thread__probe__stop(char*, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    52
  probe thread__sleep__begin(long long);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    53
  probe thread__sleep__end(int);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    54
  probe thread__yield();
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    55
  probe thread__park__begin(uintptr_t, int, long long);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    56
  probe thread__park__end(uintptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    57
  probe thread__unpark(uintptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    58
  probe method__compile__begin(
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    59
    const char*, uintptr_t, const char*, uintptr_t, const char*, uintptr_t, const char*, uintptr_t); 
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    60
  probe method__compile__end(
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    61
    char*, uintptr_t, char*, uintptr_t, char*, uintptr_t, 
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    62
    char*, uintptr_t, uintptr_t); 
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    63
  probe compiled__method__load(
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    64
    char*, uintptr_t, char*, uintptr_t, char*, uintptr_t, void*, uintptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    65
  probe compiled__method__unload(
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    66
    char*, uintptr_t, char*, uintptr_t, char*, uintptr_t); 
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    67
  probe monitor__contended__enter(uintptr_t, uintptr_t, char*, uintptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    68
  probe monitor__contended__entered(uintptr_t, uintptr_t, char*, uintptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    69
  probe monitor__contended__exit(uintptr_t, uintptr_t, char*, uintptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    70
  probe monitor__wait(uintptr_t, uintptr_t, char*, uintptr_t, uintptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    71
  probe monitor__probe__waited(uintptr_t, uintptr_t, char*, uintptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    72
  probe monitor__notify(uintptr_t, uintptr_t, char*, uintptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    73
  probe monitor__notifyAll(uintptr_t, uintptr_t, char*, uintptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    74
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    75
  probe object__alloc(int, char*, uintptr_t, uintptr_t);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    76
  probe method__entry(
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    77
    int, char*, int, char*, int, char*, int);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    78
  probe method__return(
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    79
    int, char*, int, char*, int, char*, int);
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    80
};
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    81
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    82
#pragma D attributes Evolving/Evolving/Common provider hotspot provider
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    83
#pragma D attributes Private/Private/Unknown provider hotspot module
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    84
#pragma D attributes Private/Private/Unknown provider hotspot function
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    85
#pragma D attributes Evolving/Evolving/Common provider hotspot name
91935236600e 7098194: integrate macosx-port changes
dcubed
parents:
diff changeset
    86
#pragma D attributes Evolving/Evolving/Common provider hotspot args