src/share/vm/utilities/vmError.cpp

Print this page




   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  *
  23  */
  24 
  25 # include "incls/_precompiled.incl"
  26 # include "incls/_vmError.cpp.incl"












  27 
  28 // List of environment variables that should be reported in error log file.
  29 const char *env_list[] = {
  30   // All platforms
  31   "JAVA_HOME", "JRE_HOME", "JAVA_TOOL_OPTIONS", "_JAVA_OPTIONS", "CLASSPATH",
  32   "JAVA_COMPILER", "PATH", "USERNAME",
  33 
  34   // Env variables that are defined on Solaris/Linux
  35   "LD_LIBRARY_PATH", "LD_PRELOAD", "SHELL", "DISPLAY",
  36   "HOSTTYPE", "OSTYPE", "ARCH", "MACHTYPE",
  37 
  38   // defined on Linux
  39   "LD_ASSUME_KERNEL", "_JAVA_SR_SIGNUM",
  40 
  41   // defined on Windows
  42   "OS", "PROCESSOR_IDENTIFIER", "_ALT_JAVA_HOME_DIR",
  43 
  44   (const char *)0
  45 };
  46 




   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  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "compiler/compileBroker.hpp"
  27 #include "gc_interface/collectedHeap.hpp"
  28 #include "runtime/arguments.hpp"
  29 #include "runtime/frame.inline.hpp"
  30 #include "runtime/init.hpp"
  31 #include "runtime/os.hpp"
  32 #include "runtime/thread.hpp"
  33 #include "runtime/vmThread.hpp"
  34 #include "runtime/vm_operations.hpp"
  35 #include "utilities/debug.hpp"
  36 #include "utilities/defaultStream.hpp"
  37 #include "utilities/top.hpp"
  38 #include "utilities/vmError.hpp"
  39 
  40 // List of environment variables that should be reported in error log file.
  41 const char *env_list[] = {
  42   // All platforms
  43   "JAVA_HOME", "JRE_HOME", "JAVA_TOOL_OPTIONS", "_JAVA_OPTIONS", "CLASSPATH",
  44   "JAVA_COMPILER", "PATH", "USERNAME",
  45 
  46   // Env variables that are defined on Solaris/Linux
  47   "LD_LIBRARY_PATH", "LD_PRELOAD", "SHELL", "DISPLAY",
  48   "HOSTTYPE", "OSTYPE", "ARCH", "MACHTYPE",
  49 
  50   // defined on Linux
  51   "LD_ASSUME_KERNEL", "_JAVA_SR_SIGNUM",
  52 
  53   // defined on Windows
  54   "OS", "PROCESSOR_IDENTIFIER", "_ALT_JAVA_HOME_DIR",
  55 
  56   (const char *)0
  57 };
  58