624 Commits

Author SHA1 Message Date
Sangheon Kim
87f0463ced 8145000: TestOptionsWithRanges.java failure for XX:+UseNUMA -XX:+UseNUMAInterleaving -XX:NUMAInterleaveGranularity=65536
Add protect_pages_individually() to protect memory per chunk on Windows

Reviewed-by: jwilhelm, tbenson
2016-01-05 10:41:56 -08:00
Christian Tornqvist
357e0e5ff9 8048521: Remove obsolete code from os_windows.cpp/hpp
Reviewed-by: coleenp, rdurbin
2015-12-22 05:26:55 -08:00
Goetz Lindenmaier
b5bca5cc1b 8139864: Improve handling of stack protection zones
Reviewed-by: stuefe, coleenp, fparain
2015-12-20 10:37:23 -05:00
Thomas Stuefe
673280d6f0 8079125: [aix] clean up Linux-specific code remnants in AIX coding
Reviewed-by: goetz
2015-12-17 08:23:51 +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
Thomas Stuefe
0eda47f124 8145114: const-correctness for ucontext_t* reading functions
Reviewed-by: dholmes, coleenp
2015-12-14 02:29:11 -05:00
Alexander Smundak
74f0500a47 8073139: PPC64: User-visible arch directory and os.arch value on ppc64le cause issues with Java tooling
Set LIBARCH to ppc64le, make SA and hsdis work, have os.arch return ppc64le on PowerPC64 LE

Co-authored-by: Andrew Hughes <gnu.andrew@redhat.com>
Reviewed-by: dholmes, ihse
2015-12-13 22:32:16 -05:00
Frederic Parain
ef800bd53f 8046936: JEP 270: Reserved Stack Areas for Critical Sections
Reviewed-by: acorn, dcubed
2015-12-11 09:07:07 -08:00
Martin Doerr
faf57db7c8 8144847: PPC64: Update Transactional Memory and Atomic::cmpxchg code
Reviewed-by: stuefe, goetz
2015-12-10 15:27:16 +01:00
Bengt Rutisson
ffeb0bdad0 8145092: Use Unified Logging for the GC logging
JEP-271. VM changes contributed by brutisso, test changes contributed by david.

Co-authored-by: David Lindholm <david.lindholm@oralce.com>
Reviewed-by: sjohanss, david, brutisso
2015-12-10 14:57:55 +01:00
Christian Tornqvist
c7396ec06d 8144921: Remove JDK6_OR_EARLIER code from os_windows
Reviewed-by: dholmes, mseledtsov, gtriantafill
2015-12-09 11:00:38 -08:00
Christian Tornqvist
a39fa54251 8015396: double a%b returns NaN for some (a,b) (|a| < inf, |b|>0)
Reviewed-by: coleenp, gtriantafill
2015-12-10 09:42:22 -08:00
David Lindholm
1f55a9122c 8145073: Filename and linenumber are not printed for asserts any more
Reviewed-by: dholmes, stuefe
2015-12-10 08:50:36 +01:00
Mikael Vidstedt
c9fc986a36 8144881: Various fixes to linux/sparc
Fixed sigflags printing, format specfiers, codeCache includes and some function returns

Reviewed-by: dsamersoff, simonis
2015-12-08 11:36:16 -08:00
Thomas Stuefe
679e48d459 8144192: Enhancements-to-print_siginfo-windows
Some small enhancement to os::print_siginfo for Windows

Reviewed-by: dholmes
2015-12-05 05:15:35 -05:00
Thomas Stuefe
ff732e0835 8143125: [aix] Further Developments for AIX
Port newest AIX port developemnts to OpenJDK.

Reviewed-by: goetz, simonis
2015-11-16 10:58:14 +01:00
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