src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/VMOps.java
author egahlin
Tue, 15 May 2018 20:24:34 +0200
changeset 50113 caf115bb98ad
parent 47216 71c04702a3d5
child 50525 767cdb97f103
permissions -rw-r--r--
8199712: Flight Recorder Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun Contributed-by: erik.gahlin@oracle.com, markus.gronlund@oracle.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
25335
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
     1
/*
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
     2
 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
     4
 *
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
     7
 * published by the Free Software Foundation.
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
     8
 *
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    13
 * accompanied this code).
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    14
 *
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    18
 *
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    21
 * questions.
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    22
 *
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    23
 */
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    24
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    25
package sun.jvm.hotspot.runtime;
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    26
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    27
//These definitions should be kept in sync with the definitions in the HotSpot code.
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    28
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    29
public enum VMOps {
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    30
  Dummy,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    31
  ThreadStop,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    32
  ThreadDump,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    33
  PrintThreads,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    34
  FindDeadlocks,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    35
  ForceSafepoint,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    36
  ForceAsyncSafepoint,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    37
  Deoptimize,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    38
  DeoptimizeFrame,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    39
  DeoptimizeAll,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    40
  ZombieAll,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    41
  UnlinkSymbols,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    42
  Verify,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    43
  PrintJNI,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    44
  HeapDumper,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    45
  DeoptimizeTheWorld,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    46
  CollectForMetadataAllocation,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    47
  GC_HeapInspection,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    48
  GenCollectFull,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    49
  GenCollectFullConcurrent,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    50
  GenCollectForAllocation,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    51
  ParallelGCFailedAllocation,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    52
  ParallelGCSystemGC,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    53
  CGC_Operation,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    54
  CMS_Initial_Mark,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    55
  CMS_Final_Remark,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    56
  G1CollectFull,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    57
  G1CollectForAllocation,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    58
  G1IncCollectionPause,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    59
  EnableBiasedLocking,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    60
  RevokeBias,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    61
  BulkRevokeBias,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    62
  PopulateDumpSharedSpace,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    63
  JNIFunctionTableCopier,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    64
  RedefineClasses,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    65
  GetOwnedMonitorInfo,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    66
  GetObjectMonitorUsage,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    67
  GetCurrentContendedMonitor,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    68
  GetStackTrace,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    69
  GetMultipleStackTraces,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    70
  GetAllStackTraces,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    71
  GetThreadListStackTraces,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    72
  GetFrameCount,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    73
  GetFrameLocation,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    74
  ChangeBreakpoints,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    75
  GetOrSetLocal,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    76
  GetCurrentLocation,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    77
  EnterInterpOnlyMode,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    78
  ChangeSingleStep,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    79
  HeapWalkOperation,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    80
  HeapIterateOperation,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    81
  ReportJavaOutOfMemory,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    82
  Exit,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    83
  LinuxDllLoad,
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    84
  Terminating
2557b9b45520 8046282: SA update
poonam
parents:
diff changeset
    85
}