98 Commits

Author SHA1 Message Date
David Holmes
5f1f4489ac 8157907: Incorrect inclusion of atomic.hpp instead of atomic.inline.hpp
Remove atomic.inline.hpp and move the contents back into atomic.hpp

Reviewed-by: stefank, pliden, simonis
2016-08-21 20:56:37 -04:00
Poonam Bajaj
f97651b356 8064814: Print more helpful error message when getting OOM due to low Java Heap base when running with CompressedOops
Improve OOM error message

Reviewed-by: coleenp, dholmes
2016-07-01 12:51:29 -07:00
Yasumasa Suenaga
5ae683a18f 8155730: HeapInfoDCmd should get Heap_lock
Reviewed-by: tschatzl, jprovino
2016-06-21 09:19:53 +02:00
Markus Grönlund
de7ab979ec 8158033: Notify_tracing() misplaced for intended purpose
Reviewed-by: egahlin, dholmes
2016-06-13 11:48:11 +02:00
Thomas Stuefe
af168abecc 8155639: Remove STEP numbers from error reporting
Reviewed-by: coleenp, twisti
2016-04-28 15:40:45 +02:00
Max Ockner
16c430d2b6 8151526: Print -Xlog configuration in the hs_err_pid file
Logging configuration is now printed in hs_err and in vm info.

Reviewed-by: coleenp, mlarsson, dholmes
2016-04-19 11:03:37 -04:00
Stefan Karlsson
f78228b2ee 8153967: Remove top.hpp
Reviewed-by: coleenp, jwilhelm
2016-04-12 09:53:43 +02:00
Thomas Stuefe
3487b38cc4 8148425: strerror() function is not thread-safe
Reviewed-by: dholmes, coleenp
2016-03-12 08:35:05 +01:00
Tobias Hartmann
52c7cb7221 8150441: CompileTask::print_impl() is broken after JDK-8146905
Timestamps should be explicitly initialized.

Reviewed-by: dholmes
2016-02-25 08:47:57 +01:00
Jesper Wilhelmsson
40c4fe8573 Merge 2016-02-03 01:35:25 +01:00
Tobias Hartmann
2beba05b8b Merge 2016-01-26 09:11:58 +01:00
Alejandro Murillo
7300cb856d 8146653: Debug version missing in hs_err files and on internal version after Verona
Reviewed-by: dcubed, dholmes
2016-01-19 18:39:23 -08:00
Vladimir Ivanov
281c7eb895 6985422: flush the output streams before OnError commands
Reviewed-by: kvn
2016-01-15 21:56:42 +03:00
Thomas Stuefe
480e92f8b5 8146905: cleanup ostream, staticBufferStream
Get rid of staticBufferStream and implement the use-caller-provided-scratch-buffer feature in a simpler way.

Reviewed-by: simonis, dholmes
2016-01-27 11:51:56 +01:00
Thomas Stuefe
6996edcbb5 8144219: [posix] Remove redundant code around os::print_siginfo()
For posix platforms, consolidate os::print_siginfo() in os_posix.cpp and remove cds fault special handling

Reviewed-by: dholmes, simonis
2015-12-09 14:56:02 +01:00
Sebastian Sickelmann
4699c70e25 8136978: Much nearly duplicated code for vmError support
Moved all non os specific code in vmError_[os].cpp to vmError_posix.cpp, moved os specific code to os_[os].cpp and refactored all other references accordingly

Reviewed-by: stuefe, coleenp, dholmes
2015-11-25 16:33:28 +01:00
Coleen Phillimore
57ee6fa3ab 8027429: Add diagnostic command VM.info to get hs_err print-out
Refactored hs_err reporting code so that it can be used for VM.info safely

Co-authored-by: David Buck <david.buck@oracle.com>
Reviewed-by: dholmes, hseigel
2015-11-13 16:50:39 -05:00
Dean Long
344a9becee Merge 2015-10-17 19:40:30 -04:00
Zoltan Majo
703c1c58d7 8139380: VMError::report_and_die() does not produce replay file
Change VMError::report() to use a correct format string in both JVMCI-enabled builds and builds without JVMCI.

Reviewed-by: roland, kvn
2015-10-16 15:21:37 +02:00
David Lindholm
5770f4eb32 8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files

Reviewed-by: goetz, brutisso
2015-10-09 09:42:33 +02:00
David Lindholm
def3b63b62 8138832: CreateCoredumpOnCrash on linux ARM causes assert message to be repeated
Reviewed-by: jwilhelm, mgerdin
2015-10-07 15:27:02 +02:00
Christian Thalinger
16526e000e 8136421: JEP 243: Java-Level JVM Compiler Interface
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett
2015-10-08 12:49:30 -10:00
David Lindholm
1e71f67736 8080775: Better argument formatting for assert() and friends
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Rachel Protacio
d905ab3ec9 8133561: linux thread id should be reported in decimal in the error reports now
Linux thread id error reports changed back to decimal

Reviewed-by: hseigel, ctornqvi, coleenp
2015-08-24 15:41:56 -04:00
Coleen Phillimore
24c0f4e471 8026324: hs_err improvement: Add summary section to hs_err file
8026333: hs_err improvement: Print GC Strategy
8026336: hs_err improvement: Print compilation mode, server, client or tiered

Added command line, summary cpu and os information to summary section.  Moved time of crash and duration in summary section.  Add GC strategy and compiler setting (tiered) to enhanced version string in error report.  Moved the stack trace sooner in hs_err file.

Reviewed-by: dholmes, ctornqvi, ddmitriev
2015-07-22 00:03:45 -04:00
Goetz Lindenmaier
bd938df14f 8130036: Fix problems with imprecise C++ coding
Reviewed-by: dholmes, kbarrett
2015-06-29 10:16:48 +02:00
Coleen Phillimore
29a1b9c2ed 8085865: hs_err improvement: Printing /proc/cpuinfo makes too long hs_err files
Summarize information from linux-x86; it's too long and redundant

Reviewed-by: gtriantafill, dholmes, mgerdin, dcubed
2015-06-17 11:30:51 -04:00
Coleen Phillimore
9e5e7f9e5a 8035074: hs_err improvement: Add time zone information in the hs_err file
8026335: hs_err improvement: Print exact compressed oops mode and the heap base value
8026331: hs_err improvement: Print if we have seen any OutOfMemoryErrors or StackOverflowErrors

Add requested things to hs_err file.

Reviewed-by: ctornqvi, dholmes
2015-06-09 10:26:25 -04:00
Jesper Wilhelmsson
25c41c6094 Merge 2015-05-21 21:17:56 +02:00
Jesper Wilhelmsson
f64e5038a4 Merge 2015-05-18 17:09:47 +02:00
Christian Tornqvist
971e022093 8078121: Add 'CreateMinidumpOnCrash' (JDK-8074354) caused many tests failed in nightly testing
Reviewed-by: coleenp, hseigel
2015-05-12 13:17:54 -07:00
David Holmes
5c859405b5 8078470: [Linux] Replace syscall use in os::fork_and_exec with glibc fork() and execve()
Reviewed-by: stuefe, dsamersoff, dcubed
2015-05-12 20:55:40 -04:00
Thomas Stuefe
c034b74806 8076475: Misuses of strncpy/strncat
Various small fixes around strncpy and strncat

Reviewed-by: dsamersoff, coleenp
2015-04-07 14:19:03 +02:00
Max Ockner
f272493a76 8029630: Thread id should be displayed as a hex number in error report
Thread id is now displayed as a hex number in error report.

Reviewed-by: dholmes, hseigel, stuefe
2015-04-16 10:30:59 -04:00
Yumin Qi
d30de5ab31 8074354: Make CreateMinidumpOnCrash a new name and available on all platforms
Rename CreateMinidumpOnCrash which is used only for Windows as CreateCoredumpOnCrash and make it available for all platforms. Changed order for dumping core on Windows to be similar on other platforms. Also reviewed by thomas.stuefe@gmail.com

Co-authored-by: Thomas Stuefe <thomas.stuefe@gmail.com>
Reviewed-by: dcubed
2015-04-15 17:34:28 -07:00
Jeremy Manson
0353353bde 8074895: os::getenv is inadequate
Reviewed-by: dholmes, coleenp
2015-03-30 17:32:18 -04:00
Thomas Stufe
33690bd090 8074552: SafeFetch32 and SafeFetchN do not work in error handling
Reviewed-by: dholmes, goetz
2015-03-12 19:34:50 -04:00
Thomas Stuefe
3bd56fc1a6 8065895: Synchronous signals during error reporting may terminate or hang VM process
Reviewed-by: dholmes, gziemski
2015-02-04 18:47:42 -05:00
Gerald Thornbrugh
3f915eeafd 8050807: Better performing performance data handling
Reviewed-by: dcubed, pnauman, ctornqvi, dholmes, mschoene
2014-11-17 15:51:46 -05:00
Goetz Lindenmaier
0aa09022fa 8062370: Various minor code improvements
A lot of fixes useful to improve the code quality.

Reviewed-by: coleenp, dholmes
2014-10-29 10:13:24 +01:00
Coleen Phillimore
3a86f9cd27 8059100: SIGSEGV VirtualMemoryTracker::remove_released_region
Disallow increasing native memory tracking level

Reviewed-by: hseigel, ctornqvi, gtriantafill
2014-10-10 19:36:12 +00:00
Volker Simonis
a1628426d3 8058345: Refactor native stack printing from vmError.cpp to debug.cpp to make it available in gdb as well
Also fix stack trace on x86 to enable walking of runtime stubs and native wrappers

Reviewed-by: kvn
2014-09-24 12:19:07 -07:00
Zhengyu Gu
f0cf82f571 8046598: Scalable Native memory tracking development
Enhance scalability of native memory tracking

Reviewed-by: coleenp, ctornqvi, gtriantafill
2014-08-07 12:18:58 -07:00
Serguei Spitsyn
b0367c3bea Merge 2014-07-18 23:53:59 -07:00
Goetz Lindenmaier
25f33c005d 8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories
Introduce and clean up umbrella headers for the files in the cpu subdirectories.

Reviewed-by: lfoltan, coleenp, dholmes
2014-07-04 11:46:01 +02:00
Goetz Lindenmaier
8e7c8f1d88 8044775: Improve usage of umbrella header atomic.inline.hpp
Reviewed-by: stefank, kvn
2014-06-04 11:56:44 +02:00
Harold Seigel
7ec22758dc 8030763: Validate global memory allocation
Add length checks where necessary

Reviewed-by: coleenp, mschoene
2014-07-14 12:43:50 +04:00
David Chase
305ec3bd3f 8037816: Fix for 8036122 breaks build with Xcode5/clang
Repaired or selectively disabled offending formats; future-proofed with additional checking

Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Goetz Lindenmaier
6e6f0720a9 8042195: Introduce umbrella header orderAccess.inline.hpp
Reviewed-by: dholmes, kvn, stefank, twisti
2014-04-29 15:17:27 +02:00
Vladimir Kozlov
533560cb3e 8035983: Fix "Native frames:" in crash report (hs_err file)
Check fr.sender_sp() in java thread instead of os::is_first_C_frame(&fr).

Reviewed-by: twisti, coleenp
2014-03-05 16:21:22 -08:00