337 Commits

Author SHA1 Message Date
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
Dean Long
28ccc9e20c Merge 2016-08-16 17:54:08 +00:00
Andrew Haley
ad3fc31b3d 8164113: AArch64: follow-up the fix for 8161598
Reviewed-by: dlong
2016-08-16 17:31:57 +01:00
Dean Long
6e820bb025 8161598: Kitchensink fails: assert(nm->insts_contains(original_pc)) failed: original PC must be in nmethod/CompiledMethod
Skip unwalkable frames in

Reviewed-by: fparain, coleenp, aph
2016-08-16 09:19:13 -07:00
Gustavo Romero
0052e8dc0b 8162369: PPC64: Wrong ucontext used after SIGTRAP while in HTM critical section
Reviewed-by: simonis
2016-08-04 22:42:05 -04:00
Rickard Bäckman
5ce5d9f4cc Merge 2016-07-29 09:23:05 +02:00
Goetz Lindenmaier
da3339948e 8161258: Simplify including platform files
Include patform files with macros cpu_header() etc. Do various cleanups of macro usages. Remove _64/_32 from adlc generated files and platform .hpp files. Merge stubRoutines_x86*.hpp. Remove empty mutex_<os>* files.

Reviewed-by: dholmes, coleenp, kbarrett
2016-07-13 12:23:05 +02:00
Alan Burlison
1075d11550 8160997: Solaris: deprecated <pwd.h> and <gid.h> interfaces should be replaced
Use final POSIX 1003.1c versions of getgrgid_r(), getgrnam_r(), getpwnam_r(), and getpwuid_r().

Reviewed-by: alanb, dcubed, simonis, dholmes
2016-07-15 09:36:28 -07:00
Rickard Bäckman
3d15529c03 Merge 2016-07-19 13:15:46 +02:00
Dmitrij Pochepko
490625cd8b 8132318: -XX:TraceJumps is broken on Sparc
Reviewed-by: kvn, thartmann
2016-06-27 17:23:15 +03:00
Martin Doerr
afc9349c93 8155949: Support relaxed semantics in cmpxchg
Co-authored-by: Hiroshi H Horii <horii@jp.ibm.com>
Reviewed-by: dholmes, kbarrett, goetz, aph
2016-06-21 19:25:41 -04:00
Goetz Lindenmaier
fd19ab133b 8156923: [ppc] Implement "JEP 270: Reserved Stack Areas for Critical Sections"
Reviewed-by: simonis, dholmes
2016-05-13 15:22:48 +02:00