348 Commits

Author SHA1 Message Date
Thomas Stuefe
15fbb62d49 8185706: [windows] Native callstacks printing terminates prematurely
Reviewed-by: iklam, zgu
2017-08-02 10:17:14 +02:00
Andrew Haley
9aeb6a85b5 8185723: Zero: segfaults on Power PC 32-bit
Reviewed-by: roland
2017-08-02 17:22:40 +01:00
Ioi Lam
f7f193ae71 8072061: Automatically determine optimal sizes for the CDS regions
See new C++ class MetaspaceClosure.

Reviewed-by: coleenp, jiangli, mseledtsov
2017-08-02 18:06:38 -07:00
George Triantafillou
b82efee3c5 8184749: The solaris_x86_32.s and solaris_x86_32.il files should be removed
Reviewed-by: kvn, hseigel, dcubed, gthornbr
2017-07-25 14:04:53 -04:00
John Paul Adrian Glaubitz
b3be255469 8182165: The header atomic_linux_sparc.inline.hpp should be named atomic_linux_sparc.hpp
Reviewed-by: ehelin, stuefe
2017-07-14 14:04:57 +02:00
John Paul Adrian Glaubitz
bc1be30b50 8182164: checkByteBuffer has the wrong signature
Reviewed-by: ehelin, stuefe
2017-07-14 14:00:10 +02:00
John Paul Adrian Glaubitz
298e379cb7 8182163: Missing #include "logging/log.hpp" in vm_version_linux_sparc.cpp
Reviewed-by: ehelin, stuefe
2017-07-14 13:57:10 +02:00
Robbin Ehn
cc9648a8b8 8183925: Decouple crash protection from watcher thread
Reviewed-by: dcubed, coleenp
2017-07-07 23:11:33 +02:00
Jesper Wilhelmsson
efd1054686 8182299: Enable disabled clang warnings, build on OSX 10 + Xcode 8
8182656: Make the required changes in GC code to build on OSX 10 + Xcode 8
8182657: Make the required changes in Runtime code to build on OSX 10 + Xcode 8
8182658: Make the required changes in Compiler code to build on OSX 10 + Xcode 8

Co-authored-by: Paul Hohensee <hohensee@amazon.com>
Reviewed-by: jwilhelm, ehelin, phh
2017-07-06 01:50:26 +02:00
Stefan Karlsson
a18f1c2d58 8183552: Move align functions to align.hpp
Reviewed-by: stuefe, pliden
2017-07-05 11:33:17 +02:00
Stefan Karlsson
dbd3b5a79e 8178499: Remove _ptr_ and _size_ infixes from align functions
Reviewed-by: rehn, tschatzl
2017-07-04 15:58:10 +02:00
Stefan Karlsson
0fcf645cff 8178489: Make align functions more type safe and consistent
Reviewed-by: mgerdin, rehn
2017-04-12 17:53:18 +02:00
Patric Hedlin
9f66abeeb6 8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
Update for new platforms

Reviewed-by: kvn
2017-06-27 15:27:54 +02:00
Erik Österlund
2a0bd0cd04 8181785: Remove the experimental ClearFPUAtPark JVM Flag
Removing the experimental and unstable ClearFPUAtPark optimization for SPARC

Reviewed-by: kbarrett, tschatzl, rehn
2017-06-14 08:47:27 +02:00
Kim Barrett
98a9f40e34 8181787: Remove Solaris SPARC GCC code
Remove obsolete code.

Reviewed-by: kbarrett, coleenp, gtriantafill
2017-06-13 07:30:11 -04:00
Kim Barrett
5ea9bb3e56 8166651: OrderAccess::load_acquire &etc should have const parameters
Added const qualifiers to load/load_acquire source parameters.

Reviewed-by: dholmes, coleenp, adinn, eosterlund
2017-06-05 19:07:47 -04:00
Mikael Vidstedt
0159ab9baf 8180036: Guard include of fpu_control.h
Reviewed-by: dholmes
2017-05-11 09:42:19 -07:00
Kim Barrett
48d21bc1c7 8179004: Add an efficient implementation of the "count trailing zeros" operation
Added count_trailing_zeros function, with platform-dependent implementations.

Reviewed-by: dholmes, cjplummer
2017-05-05 16:20:42 -04:00
Shafi Ahmad
0edc20faf9 8177958: Possible uninitialized char* in vm_version_solaris_sparc.cpp
Reviewed-by: shade, dholmes, kevinw
2017-04-26 21:28:22 -07:00
Aleksey Shipilev
111afb73a5 8169061: Drop os::is_MP checks from Atomics
Reviewed-by: aph, dholmes
2017-04-26 09:06:59 +02:00
George Triantafillou
9b2ddab04f 8150388: Remove SPARC 32-bit support
Reviewed-by: hseigel, coleenp, dholmes, kvn
2017-04-12 17:52:04 -04:00
Thomas Stuefe
2aad9e57f8 8176872: [s390] wrong pc shown in error logs
Reviewed-by: dholmes, dsamersoff
2017-03-21 14:14:06 +01:00
David Holmes
cee7beace2 8175817: Clean up Solaris signal code: SIGUSR2, SIGasync, SIGJVM1/2
Reviewed-by: rehn, stuefe, dsamersoff
2017-03-19 16:40:09 -04:00
Thomas Schatzl
6677810ffa 8175367: Wrong assert for UseCompressedOops in aarch64 Copy::conjoint_oops_atomic implementation
Remove wrong check for UseCompressedOops

Reviewed-by: aph
2017-03-06 15:33:14 +01:00
Jesper Wilhelmsson
3560e1733c Merge 2017-02-04 03:29:40 +01:00
Andrew Dinn
2b577bb1f6 8173474: AArch64: fix reported -Xss minimum
Reviewed-by: aph
2017-01-27 07:56:13 -05:00
Thomas Stuefe
3c619c2451 8172964: [aix] AIX VM should not handle SIGDANGER
Reviewed-by: simonis, clanger
2017-01-19 10:30:37 +01:00
Tobias Hartmann
09dee71ddd 8172731: runtime/Thread/TooSmallStackSize.java fails on solaris-x64 with product build
The C2 compiler threads require a large stack with the Solaris Studio C++ compiler version 5.13 and product VM build.

Reviewed-by: sspitsyn, dcubed, goetz, dholmes
2017-01-17 08:53:42 +01:00
Andrew Haley
6037c36e67 8172721: Fix for 8172144 breaks AArch64 build
Reviewed-by: dsamersoff
2017-01-12 16:27:40 +00:00
Andrew Haley
b9f711fc74 8172144: AArch64: Implement "JEP 270: Reserved Stack Areas for Critical Sections"
Reviewed-by: fparain
2017-01-11 15:09:58 +00:00
Goetz Lindenmaier
0d99993d6e 8172049: [s390] Implement "JEP 270: Reserved Stack Areas for Critical Sections"
Reviewed-by: mdoerr
2016-12-27 16:10:59 +01:00
Daniel D. Daugherty
a6fa72b21c Merge 2016-12-20 19:52:52 -08:00
Jesper Wilhelmsson
3bfd349b45 Merge 2016-12-20 22:53:45 +01:00
Goetz Lindenmaier
12aa0a8788 8170655: [posix] Fix minimum stack size computations
Reviewed-by: dcubed, coleenp
2016-12-19 15:48:57 -08:00
Bob Vandette
6009cf0793 8168503: JEP 297: Unified arm32/arm64 Port
Reviewed-by: kvn, enevill, ihse, dholmes, erikj, coleenp, cjplummer
2016-12-19 12:39:01 -05:00
Derek White
89e7c22fc4 8171129: [aarch64] hs_err logs do not print register mappings
Call print_location for contents of all registers.

Reviewed-by: aph, dholmes
2016-12-14 16:46:50 -05:00
Goetz Lindenmaier
c5a2c4af0e 8169373: Work around linux NPTL stack guard error
Also skip libc guard page for compiler thread, merge similar code on linux platforms, and streamline libc guard page handling on linuxs390, linuxppc, aixppc.

Reviewed-by: dholmes, dcubed, kvn
2016-11-08 16:30:36 +01:00
Goetz Lindenmaier
003b7aba48 8169317: [s390] Various minor bug fixes and adaptions
Reviewed-by: mdoerr
2016-11-07 12:37:28 +01:00
Goetz Lindenmaier
a4cfffae9b 8167673: [s390] The s390 port
Template interpreter, C1, C2

Reviewed-by: kvn, simonis
2016-10-13 14:49:34 +02:00
Alan Burlison
7520497b75 8157141: Fix for JDK-8031290 is unnecessarily fragile
8166454: meminfo(2) has been available since Solaris 9

Reviewed-by: dholmes, kbarrett
2016-10-17 19:18:08 -04:00
Martin Walsh
811ccf69ad 8165482: java in ldoms, with cpu-arch=generic has problems
Reviewed-by: dholmes, alanbur
2016-10-17 19:12:28 -04:00
Frederic Parain
e36aa5f9d0 8146546: assert(fr->safe_for_sender(thread)) failed: Safety check
Reviewed-by: dcubed, gziemski, dlong
2016-09-26 15:56:39 -04:00
Goetz Lindenmaier
010d9bf7df 8165315: [ppc] Port "8133749: NMT detail stack trace cleanup"
Also add methods to check for slow/fastdebug to Platform.java.

Reviewed-by: simonis, cjplummer, dholmes
2016-08-30 16:08:52 +02:00
Ron Durbin
2bb3bc6449 8140520: segfault on solaris-amd64 with "-XX:VMThreadStackSize=1" option
Split the single thread_min_stack_allowed into three distinct values (java_thread_min_stack_allowed, compiler_thread_min_stack_allowed and vm_internal_thread_min_stack_allowed) on non-Windows platforms.

Reviewed-by: dcubed, gthornbr, dholmes, coleenp, fparain, aph
2016-09-09 11:14:57 -07:00
Martin Doerr
ddfcdd9299 8165014: Unaligned unsafe access should throw InternalError on Solaris
Reviewed-by: dholmes, coleenp
2016-08-31 19:41:57 -04:00
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
Igor Veresov
2ad60b9910 Merge 2016-08-19 14:33:52 -07:00
Chris Plummer
e3c3a54f7a 8133740: NMT for Linux/x86/x64 and bsd/x64 slowdebug builds includes NativeCallStack::NativeCallStack() frame in backtrace
Skip an extra frame in _get_previous_fp() when it is not inlined.

Reviewed-by: dholmes, zgu
2016-08-15 13:14:08 -07:00
Chris Plummer
2a46a44214 8133749: os::current_frame() is not returning the proper frame on ARM and solaris-x64
Need to go up one extra frame to be consistent with other platforms.

Reviewed-by: dholmes, zgu
2016-08-15 13:06:50 -07:00
Nils Eliasson
61066d3795 8156659: assert(CodeCache::find_blob_unsafe(_pc) == _cb) failed: inconsistent
Stackwalking from corrupt frame

Reviewed-by: dlong, thartmann
2016-08-15 16:04:16 +02:00