src/hotspot/share/utilities/debug.cpp
changeset 49061 a6b6a428c915
parent 47891 fa736014cf28
child 49480 d7df2dd501ce
equal deleted inserted replaced
49060:76960a347f10 49061:a6b6a428c915
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2018, 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.
   501 extern "C" void psd() {
   501 extern "C" void psd() {
   502   Command c("psd");
   502   Command c("psd");
   503   SystemDictionary::print();
   503   SystemDictionary::print();
   504 }
   504 }
   505 
   505 
   506 
       
   507 extern "C" void safepoints() {
       
   508   Command c("safepoints");
       
   509   SafepointSynchronize::print_state();
       
   510 }
       
   511 
       
   512 #endif // !PRODUCT
   506 #endif // !PRODUCT
   513 
   507 
   514 extern "C" void pss() { // print all stacks
   508 extern "C" void pss() { // print all stacks
   515   if (Thread::current_or_null() == NULL) return;
   509   if (Thread::current_or_null() == NULL) return;
   516   Command c("pss");
   510   Command c("pss");