310 Commits

Author SHA1 Message Date
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
Vladimir Ivanov
d14a64b0ed Merge 2016-05-11 00:38:58 +03:00
Goetz Lindenmaier
1e4b00b1dc 8140594: Various minor code improvements (compiler)
Various minor code improvements (compiler)

Reviewed-by: thartmann, kvn
2016-05-03 12:23:06 +02:00
Rickard Bäckman
b853eb7f5c 8151956: Support non-continuous CodeBlobs in HotSpot
Reviewed-by: iveresov, thartmann, simonis
2016-04-26 10:28:51 +02:00
Calvin Cheung
28edd79d64 8145221: Use trampolines for i2i and i2c entries in Methods that are stored in CDS archive
This optimization reduces the size of the RW region of the CDS archive. It also reduces the amount of pages in the RW region that are actually written into during runtime.

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Goetz Lindenmaier <goetz.lindenmaier@sap.com>
Reviewed-by: dlong, iklam, jiangli
2016-04-07 22:03:04 -07:00
Coleen Phillimore
c66cf8bde7 Merge 2016-04-07 21:24:12 +00:00
Coleen Phillimore
0d3e7977ae 8151939: VM_Version_init() print buffer is too small
Increase buffer size, use logging to print out version and os information

Reviewed-by: kvn, rprotacio, mockner
2016-04-07 16:37:35 -04:00
Daniel D. Daugherty
4397e85e26 Merge 2016-04-07 09:47:48 -07:00
Joseph Provino
5cef85023b 8132524: Missing includes to resourceArea.hpp
Files that use ResourceMark are missing the include of resourceArea.hpp

Reviewed-by: tschatzl, jwilhelm
2016-04-04 12:57:48 -04:00
Tobias Hartmann
1f41cbe573 8150821: Crash with assert(!((nmethod*)_cb)->is_deopt_pc(_pc)) failed: invariant broken
Use different constructor on SPARC to fully initialize frame.

Reviewed-by: kvn
2016-03-24 12:19:50 +01:00
Ed Nevill
59193ab336 8151502: optimize pd_disjoint_words and pd_conjoint_words
Optimize copy routines using inline assembler

Reviewed-by: aph
2016-03-10 14:53:09 +00:00
Igor Veresov
fbca99beb2 8134119: Use new API to get cache line sizes
Using new sysconf and sysinfo API on Solaris 12, avoid using libpicl and libkstat.

Reviewed-by: kvn
2016-03-01 12:35:21 -08:00
Tobias Hartmann
eca88d0a0c Merge 2016-02-29 09:02:13 +01:00
Severin Gehwolf
3a99569b6f 8143245: Zero build requires disabled warnings
Reviewed-by: dholmes, coleenp
2016-02-17 17:03:31 -05:00
Tobias Hartmann
4c22e8e014 Merge 2016-02-22 08:04:12 +01:00
Vladimir Ivanov
78fbdd19fa 8149741: Don't refer to stub entry points by index in external_word relocations
Reviewed-by: kvn
2016-02-19 20:41:36 +03:00
Shafi Ahmad
aa21ff0460 8144957: Remove PICL warning message
There is no need to print any error/warning message when a library needed for performance optimization is not found on the system

Reviewed-by: poonam, kvn
2016-02-08 15:46:25 +05:30
Jesper Wilhelmsson
40c4fe8573 Merge 2016-02-03 01:35:25 +01:00
Thomas Stuefe
722817ba99 8147510: [windows] no text locations shown for register info in hs-err file
Reviewed-by: dholmes, iklam
2016-01-29 09:21:15 +01:00
Tobias Hartmann
832443d3b0 Merge 2016-01-28 09:49:17 +01:00
Goetz Lindenmaier
4e99638d69 8147937: Adapt SAP copyrights to new company name
Reviewed-by: simonis, stuefe
2016-01-21 12:37:47 +01:00
Thomas Stuefe
86897064bf 8145184: [aix] Implement os::platform_print_native_stack on AIX
Reviewed-by: goetz
2016-01-13 17:55:57 +01: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
0eda47f124 8145114: const-correctness for ucontext_t* reading functions
Reviewed-by: dholmes, coleenp
2015-12-14 02:29:11 -05:00
Thomas Stuefe
db823b775b 8145103: [aix] implement os::print_register_info()
Reviewed-by: goetz, dholmes
2015-12-10 14:22:00 +01: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
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