608 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
Coleen Phillimore
a210245805 Merge 2015-11-25 16:13:14 +00: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
Thomas Stuefe
dea766f332 8143233: [windows] Fixes to os::check_heap()
Reviewed-by: dholmes, ctornqvi
2015-11-24 15:58:26 -05:00
Gerald Thornbrugh
d56280ca10 8141445: Use of Solaris/SPARC M7 libadimalloc.so can generate unknown signal in hs_err file
Add libadimalloc.so SIGSEGV defines and a test to validate the correct message is printed in the hs_err file

Reviewed-by: dcubed, dholmes
2015-11-18 09:32:52 -08:00
Goetz Lindenmaier
0a4657e8c1 8141529: Fix handling of _JAVA_SR_SIGNUM
Reviewed-by: dholmes, stuefe, dsamersoff
2015-11-05 15:05:59 +01:00
David Holmes
56745a7f9f 8141024: [Solaris] Obsolete UseAltSigs
Reviewed-by: dcubed, ddmitriev
2015-11-16 14:47:21 -05:00
Joseph Provino
539395ffbf Merge 2015-11-11 23:47:41 +00:00
Nils Eliasson
3307d0f163 Merge 2015-11-06 11:34:03 +01:00
Christian Thalinger
a38ea495d6 8139170: JVMCI refresh
Reviewed-by: kvn
2015-11-04 07:23:23 -10:00
Dmitry Samersoff
2bf54b1d29 8139762: Format warnings in libjvm_db.c
Fix format string

Reviewed-by: sspitsyn
2015-10-28 18:20:26 +03:00
Goetz Lindenmaier
3b8c97faae 8140482: Various minor code improvements (runtime)
Reviewed-by: dholmes, coleenp, sspitsyn, dsamersoff
2015-10-26 16:21:37 +01:00
Daniel D. Daugherty
3805097595 Merge 2015-11-05 07:22:48 +00: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
Coleen Phillimore
2806c4a7f8 Merge 2015-11-04 23:02:46 +00:00
Rachel Protacio
54f5cc46d7 8138916: Logging write function does not allow for long enough messages
The unified logging framework's vwrite function is updated to allow strings longer than 512 characters, for the sake of messages of non-pre-determined length.

Reviewed-by: coleenp, dsamersoff, mlarsson
2015-11-04 17:18:59 -05:00
Thomas Stuefe
9adaaa0c96 8140648: Clean up remnants of fork1() from non-solaris platforms
Clean up any remnants of fork1() from Non-Solaris platforms

Reviewed-by: dholmes, goetz
2015-11-03 19:53:10 -05: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
Coleen Phillimore
ed82cd0ee8 Merge 2015-10-23 23:06:53 +02: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
Coleen Phillimore
a4efe9440b Merge 2015-10-22 17:24:17 +00:00
Goetz Lindenmaier
83b3b21342 8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux
Reviewed-by: stuefe, coleenp, roland
2015-10-22 13:07:10 -04:00
Bob Vandette
d369cdd811 Merge 2015-10-21 16:38:48 -04:00
Bob Vandette
d65d34b99d 8136556: Add the ability to perform static builds of MacOSX x64 binaries
Reviewed-by: ihse, bdelsart, gadams, lfoltan, rriggs, hseigel, twisti
2015-10-19 13:21:37 -04: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
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
Jiangli Zhou
ea76ede582 8135097: Unmap failure for executable memory on windows
Use 'pd_release_memory' for executable memory in os::pd_unmap_memory().

Reviewed-by: iklam, coleenp
2015-09-14 14:55:01 -04:00
Matthias Klose
e587cb7165 8135298: Fix zero builds for "unknown" architectures on linux
Add zero architectures for default cases

Reviewed-by: coleenp
2015-09-09 23:47:32 -04: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
6b3f9d3d1a 8029453: java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java failed by timeout
Reviewed-by: bdelsart, ddmitriev, dcubed
2015-08-13 22:08:40 -04:00
Serguei Spitsyn
4f489580d7 8080401: Uninitialised variable in hotspot/src/os/solaris/dtrace/
Reduce the warnings

Reviewed-by: sla, dsamersoff
2015-08-07 09:22:29 -07:00
Serguei Spitsyn
6ee89e55d5 8033577: [parfait] warnings from b128 for hotspot/src/os/solaris/dtrace: Unportable format string argument mismatch
Reduce the warnings

Reviewed-by: sla, dsamersoff, coleenp
2015-08-07 09:21:32 -07:00
Kevin Walls
ecf634b1cf Merge 2015-08-06 16:00:55 +02:00
Serguei Spitsyn
e787253b19 8060245: update bsd version of jhelper.d to be in sync with the fix of 8009204 on solaris
Sync the bsd version of jhelper with the solaris version

Reviewed-by: sla, jbachorik
2015-08-06 01:48:27 -07:00
Cheleswer Sahu
95fb9da9de 8075773: jps running as root fails after the fix of JDK-8050807
Reviewed-by: sla, dsamersoff, gthornbr
2015-08-06 00:08:57 -07:00
David Holmes
47dd02d847 8130212: Thread::current() might access freed memory on Solaris
Reviewed-by: kvn, twisti, stuefe
2015-08-05 21:44:54 -04: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
Jeremy Manson
4b348c9fec 6661889: thread id on Linux is inconsistent in error and log outputs
Reviewed-by: dholmes, kvn
2015-07-29 22:59:03 -04:00
Volker Simonis
8cc8dd861a 8132232: Signature mismatch between declaration and definition of PosixSemaphore::timedwait
Reviewed-by: dholmes, kbarrett
2015-07-23 16:29:48 +02: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
Dmitry Dmitriev
8486cb7650 8130332: StarvationMonitorInterval, PreInflateSpin, VerifyGenericSignatures and CountInterpCalls VM Options can be deprecated or removed in JDK 9
Deprecate StarvationMonitorInterval and PreInflateSpin, remove VerifyGenericSignatures and CountInterpCalls

Reviewed-by: coleenp, gziemski
2015-07-11 12:36:46 +03:00
David Buck
a7f0956201 8072147: Preloading libjsig.dylib causes deadlock when signal() is called
Added check to prevent reentry of signal chaining code

Reviewed-by: dcubed, acorn, dholmes
2015-06-30 15:26:20 -07:00
Stefan Karlsson
1a534420a8 8087322: Implement a Semaphore utility class
Reviewed-by: kbarrett, dholmes
2015-01-19 11:06:08 +01:00
Bill Pittore
304b59b0c8 8081202: Hotspot compile warning: "Invalid suffix on literal; C++11 requires a space between literal and identifier"
Need to add a space between macro identifier and string literal

Reviewed-by: stefank, dholmes, kbarrett
2015-06-24 12:12:25 -04:00