92 Commits

Author SHA1 Message Date
David Holmes
6e0ea9d21c 8132510: Replace ThreadLocalStorage with compiler/language-based thread-local variables
Used compiled-based TLS when available. Additional contributions by Thomas Stufe (AIX) and Andrew Haley (Aarch64)

Reviewed-by: stuefe, bdelsart, dcubed
2015-12-04 04:06:37 -05:00
Thomas Stuefe
f06c0a7041 8144343: [aix] Stack bottom should be page aligned
On thread create or attach, ensure stack bottom is aligned to os::vm_page_size()

Reviewed-by: simonis, kvn
2015-12-02 10:17:31 +01:00
Thomas Stuefe
9e9eac05ae 8143291: Remove redundant coding around os::exception_name
Reviewed-by: dholmes, coleenp
2015-12-01 21:30:34 -05: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
Goetz Lindenmaier
0a4657e8c1 8141529: Fix handling of _JAVA_SR_SIGNUM
Reviewed-by: dholmes, stuefe, dsamersoff
2015-11-05 15:05:59 +01:00
Christoph Langer
b6230a727d 8140244: Port fix of JDK-8075773 to AIX and possibly MacOSX
Reviewed-by: stuefe, dcubed
2015-11-04 16:23:08 -08:00
Thomas Stuefe
c230209787 8140645: Recent Developments for AIX
Port recent developments from SAP for AIX to the OpenJDK

Reviewed-by: goetz
2015-10-30 12:36:54 +01:00
David Holmes
fee39c63e6 8129526: Solaris: clean up another remnant of interruptible I/O
Reviewed-by: fparain, dcubed
2015-10-30 00:23:07 -04:00
Coleen Phillimore
f1e89ea4cc 8140274: methodHandles and constantPoolHandles should be passed as const references
Modified code to use const reference parameters

Reviewed-by: sspitsyn, twisti
2015-10-23 16:48:38 -04:00
Joseph Provino
db5f26110b Merge 2015-10-20 11:17:19 -04:00
Dean Long
344a9becee Merge 2015-10-17 19:40:30 -04:00
Gerard Ziemski
22838597ea 8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing
JEP 245: implement ranges and constraints for runtime flags.

Co-authored-by: Goetz Lindenmaier <goetz.lindenmaier@sap.com>
Reviewed-by: coleenp, ddmitriev, jiangli, goetz
2015-10-15 13:34:21 -05: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
Christoph Langer
029c5bbc36 8130910: hsperfdata file is created in wrong directory and not cleaned up if /tmp/hsperfdata_<username> has wrong permissions
Add check for fchir() failure and disable shared PerfMemory in that case.

Reviewed-by: dcubed, simonis, gthornbr
2015-08-20 10:58:57 -07:00
David Holmes
8dfd822c41 8080298: Clean up os::...::supports_variable_stack_size()
Reviewed-by: kbarrett, simonis, stuefe, coleenp
2015-08-03 16:54:08 -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
b02b2c4d5b 8131054: aix: fix two minor issues: large page size and hs_err printing
Reviewed-by: coleenp
2015-07-16 15:01:12 +02:00
Thomas Stuefe
b46373e827 8078513: [linux] Clean up code relevant to LinuxThreads implementation
Reviewed-by: dholmes, sla, coleenp, simonis
2015-06-22 19:21:04 -04:00
Coleen Phillimore
97f69e8b42 Merge 2015-06-19 13:03:58 +00:00
Gerard Ziemski
ed2bb8c9fc 8122937: [JEP 245] Validate JVM Command-Line Flag Arguments
Validate the arguments to all JVM command-line flags so as to avoid crashes, and ensure that appropriate error messages are displayed when they are invalid.

Reviewed-by: ddmitriev, dholmes, kbarrett, drwhite, brutisso, coleenp
2015-06-18 14:39:38 -05:00
Coleen Phillimore
2a2b10342e Merge 2015-06-17 15:45:43 +00: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
Bertrand Delsart
a6a13b5344 8079473: allow demangling to be optional in dll_address_to_function_name
Add a demangling boolean argument to dll_address_to_function_name and decode

Reviewed-by: dholmes, simonis
2015-06-16 11:58:25 +02:00
Christian Tornqvist
665eee5efe 8080718: Make -XX:CreateCoredumpOnCrash control core dumping in all cases
Reviewed-by: sla, dholmes, gtriantafill
2015-06-01 14:02:59 -07:00
Calvin Cheung
7bb3af5d16 Merge 2015-04-17 14:37:20 -07:00
Vladimir Kozlov
b9c00b1904 Merge 2015-04-16 14:05:48 -07: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
Thomas Stuefe
3d93d62722 8077257: Use CanUseSafeFetch instead of probing SafeFetch stub directly
Reviewed-by: simonis
2015-04-08 12:51:50 +02:00
Max Ockner
bdbad87334 6983747: Remove obsolete dl_mutex lock
Unused dl_mutex lock has been removed.

Reviewed-by: hseigel, coleenp, dholmes
2015-04-02 10:12:49 -04:00
Jeremy Manson
0353353bde 8074895: os::getenv is inadequate
Reviewed-by: dholmes, coleenp
2015-03-30 17:32:18 -04:00
Thomas Stuefe
addb7b0b0f 8075505: aix: improve handling of native memory
Reviewed-by: kvn, stuefe
2015-03-19 14:30:52 +01: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
Daniel D. Daugherty
fbf10d39fa Merge 2015-02-06 10:40:04 -08:00
Alejandro Murillo
e9af52deeb Merge 2015-01-30 16:56:05 -08:00
Daniel Fuchs
967c448681 8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.

Reviewed-by: dholmes, rriggs, scolebourne, sla
2015-01-28 17:52:48 +01:00
Matthias Baesken
21cd501d27 8069590: AIX port of "8050807: Better performing performance data handling"
Co-authored-by: Martin Doerr <martin.doerr@sap.com>
Reviewed-by: simonis, goetz
2015-01-13 16:09:52 +01: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
Vladimir Kozlov
8bd2d4db6f Merge 2014-12-22 10:41:57 -08:00
Yasumasa Suenaga
bd3ea105b9 8059586: hs_err report should treat redirected core pattern
Reviewed-by: dholmes, sla, stuefe
2014-12-14 20:18:17 -05:00
Yumin Qi
e4961abb71 Merge 2014-12-12 20:49:14 -08:00
Albert Noll
7613da167b Merge 2014-12-12 08:40:19 -08:00
Max Ockner
1d76295d70 8047290: Make Mutex::_no_safepoint_check_flag locks verify that this lock never checks for safepoint
Ensure consistent safepoint checking in Mutex/Monitor locking methods.

Reviewed-by: dholmes, dcubed, coleenp
2014-12-11 21:34:43 -05:00
Volker Simonis
7d42a4167f 8067015: Implement os::pd_map_memory() on AIX
Reviewed-by: dholmes
2014-12-10 19:12:27 +01:00
Goetz Lindenmaier
46714a7809 8066964: ppc64: argument and return type profiling, fix problem with popframe
Reviewed-by: roland, kvn
2014-12-09 11:57:46 +01:00
Alejandro Murillo
db929c3598 Merge 2014-12-05 16:36:07 -08:00
Yumin Qi
9767fa7cb2 Merge 2014-12-03 20:32:33 -08:00
Chris Hegarty
7e65ec970c Merge 2014-12-03 17:48:58 +00:00
Chris Hegarty
393a39afe3 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:21:14 +00:00
Max Ockner
91dbd4f088 8060074: os::free() takes MemoryTrackingLevel but doesn't need it
Cleaned up unused arguments in os::free and it's callers.

Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
2014-12-01 12:16:15 -05:00