< prev index next >

src/share/vm/utilities/vmError.cpp

Print this page


   1 /*
   2  * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   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
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *


 751      }
 752 
 753   STEP(210, "(printing VM options)" )
 754 
 755      if (_verbose) {
 756        // VM options
 757        Arguments::print_on(st);
 758        st->cr();
 759      }
 760 
 761   STEP(215, "(printing warning if internal testing API used)" )
 762 
 763      if (WhiteBox::used()) {
 764        st->print_cr("Unsupported internal testing APIs have been used.");
 765        st->cr();
 766      }
 767 
 768   STEP(220, "(printing environment variables)" )
 769 
 770      if (_verbose) {
 771        os::print_environment_variables(st, env_list, buf, sizeof(buf));
 772        st->cr();
 773      }
 774 
 775   STEP(225, "(printing signal handlers)" )
 776 
 777      if (_verbose) {
 778        os::print_signal_handlers(st, buf, sizeof(buf));
 779        st->cr();
 780      }
 781 
 782   STEP(228, "(Native Memory Tracking)" )
 783      if (_verbose) {
 784        MemTracker::error_report(st);
 785      }
 786 
 787   STEP(230, "" )
 788 
 789      if (_verbose) {
 790        st->cr();
 791        st->print_cr("---------------  S Y S T E M  ---------------");


   1 /*
   2  * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   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
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *


 751      }
 752 
 753   STEP(210, "(printing VM options)" )
 754 
 755      if (_verbose) {
 756        // VM options
 757        Arguments::print_on(st);
 758        st->cr();
 759      }
 760 
 761   STEP(215, "(printing warning if internal testing API used)" )
 762 
 763      if (WhiteBox::used()) {
 764        st->print_cr("Unsupported internal testing APIs have been used.");
 765        st->cr();
 766      }
 767 
 768   STEP(220, "(printing environment variables)" )
 769 
 770      if (_verbose) {
 771        os::print_environment_variables(st, env_list);
 772        st->cr();
 773      }
 774 
 775   STEP(225, "(printing signal handlers)" )
 776 
 777      if (_verbose) {
 778        os::print_signal_handlers(st, buf, sizeof(buf));
 779        st->cr();
 780      }
 781 
 782   STEP(228, "(Native Memory Tracking)" )
 783      if (_verbose) {
 784        MemTracker::error_report(st);
 785      }
 786 
 787   STEP(230, "" )
 788 
 789      if (_verbose) {
 790        st->cr();
 791        st->print_cr("---------------  S Y S T E M  ---------------");


< prev index next >