195 Commits

Author SHA1 Message Date
Zhengyu Gu
8a690a1250 6424123: JVM crashes on failed 'strdup' call
Calling os::malloc()/os::strdup() and new os::strdup_check_oom() instead of ::malloc()/::strdup() for native memory tracking purpose

Reviewed-by: coleenp, ctornqvi, kvn
2014-08-11 10:18:09 -07:00
Zhengyu Gu
5b85e36189 Merge 2014-07-21 09:48:38 -04:00
Zhengyu Gu
944d684ea8 8050167: linux-sparcv9: hs_err file does not show any stack information
Fixed creation of starting stack frame for stack walking in error handler

Reviewed-by: coleenp, mikael
2014-07-21 06:00:44 -07:00
Zhengyu Gu
039e3d7ccc 8050165: linux-sparcv9: NMT detail causes assert((intptr_t*)younger_sp[FP->sp_offset_in_saved_window()] == (intptr_t*)((intptr_t)sp - STACK_BIAS)) failed: younger_sp must be valid
Fixed native memory tracking stack walking

Reviewed-by: coleenp, mikael
2014-07-18 11:14:20 -07:00
Goetz Lindenmaier
25f33c005d 8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories
Introduce and clean up umbrella headers for the files in the cpu subdirectories.

Reviewed-by: lfoltan, coleenp, dholmes
2014-07-04 11:46:01 +02:00
Coleen Phillimore
bc6fafb55a 8048169: Change 8037816 breaks HS build on PPC64 and CPP-Interpreter platforms
Fix the matching of format string parameter types to the actual argument types for the PPC64 and CPP-Interpreter files in the same way as 8037816 already did it for all the other files

Reviewed-by: stefank, coleenp, dholmes
2014-06-30 14:58:52 -04:00
Jon Masamitsu
633706fa4e Merge 2014-06-23 14:20:20 -07:00
Mikael Vidstedt
da1c36533e 8046769: Set T family feature bit on Niagara systems
Reviewed-by: kvn, iveresov
2014-06-16 16:27:41 -07:00
James Cheng
395560c428 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
Add C2 SHA intrinsics on SPARC

Reviewed-by: kvn, roland
2014-06-11 11:05:10 -07:00
Goetz Lindenmaier
8e7c8f1d88 8044775: Improve usage of umbrella header atomic.inline.hpp
Reviewed-by: stefank, kvn
2014-06-04 11:56:44 +02:00
Mikael Vidstedt
fc984ddd84 8044071: Print format/argument warnings
Reviewed-by: drchase, dholmes, lfoltan, twisti
2014-05-29 16:01:13 -07:00
David Chase
305ec3bd3f 8037816: Fix for 8036122 breaks build with Xcode5/clang
Repaired or selectively disabled offending formats; future-proofed with additional checking

Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Goetz Lindenmaier
6e6f0720a9 8042195: Introduce umbrella header orderAccess.inline.hpp
Reviewed-by: dholmes, kvn, stefank, twisti
2014-04-29 15:17:27 +02:00
Goetz Lindenmaier
9d479b16de 8042309: Some bugfixes for the ppc64 port
Reviewed-by: kvn
2014-05-02 14:53:06 +02:00
Mikael Vidstedt
c781bb874f 8042059: Various fixes to linux/sparc
Reviewed-by: twisti, kvn
2014-04-29 22:05:10 -07:00
Dmitry Samersoff
942d204e59 Merge 2014-04-05 05:55:05 -07:00
Frederic Parain
ba522e5098 8038473: Remove support for old T1 libthread
Reviewed-by: dholmes, coleenp, acorn, dcubed
2014-04-03 09:28:28 +00:00
Alexander Smundak
dd193f4eb2 8036767: PPC64: Support for little endian execution model
Reviewed-by: goetz, kvn, dholmes, simonis
2014-04-02 11:24:44 -07:00
Nils Eliasson
c3f6e08de3 Merge 2014-03-27 14:15:42 +01:00
Goetz Lindenmaier
fc7f4197f1 8037915: PPC64/AIX: Several smaller fixes
Reviewed-by: kvn
2014-03-20 11:03:06 +01:00
Vladimir Kozlov
d3f1dc78ef 8037226: compiler/7196199/Test7196199.java fails on 32-bit linux with MaxVectorSize > 16
Verify YMM registers after signal processing and set limit on vector's size.

Reviewed-by: iveresov, twisti
2014-03-14 17:28:58 -07:00
Bengt Rutisson
ddce6492be 8037495: Remove platform specific specification of SurvivorRatio for BSD
Reviewed-by: mgerdin, stefank
2014-03-18 06:15:45 +01:00
Vladimir Kozlov
5117e1a805 Merge 2014-02-19 12:08:49 -08:00
Gerald Thornbrugh
d3a85e73a7 8029775: Solaris code cleanup
8033464: Linux code cleanup

Cleaned up warnings in solaris and linux specific os code.

Reviewed-by: coleenp, fparain, dcubed
2014-02-06 14:28:35 -05:00
Erik Helin
4b802a6d31 Merge 2014-01-30 14:01:45 +01:00
Vladimir Kozlov
c3a0e80e0b Merge 2014-01-28 12:25:34 -08:00
Zhengyu Gu
673e8b47c0 8032827: NMT: missing virtual memory tagging in os::workaround_expand_exec_shield_cs_limit()
Fixed missing virtual memory type tagging in os::workaround_expand_exec_shield_cs_limit() function

Reviewed-by: hseigel, coleenp
2014-01-28 08:55:00 -05:00
Jon Masamitsu
9d4f3dfd4f 8031290: Adjust call to getisax() for additional words returned
Reviewed-by: kvn, iveresov, twisti
2014-01-15 07:20:04 -08:00
Shrinivas Joshi
d4c9d3889b 8002074: Support for AES on SPARC
Add intrinsics/stub routines support for single-block and multi-block (as used by Cipher Block Chaining mode) AES encryption and decryption operations on the SPARC platform.

Reviewed-by: kvn, roland
2014-01-14 17:46:48 -08:00
Goetz Lindenmaier
06b9210700 8031319: PPC64: Some fixes in ppc and aix coding
Reviewed-by: kvn
2014-01-07 17:24:59 +01:00
Mikael Vidstedt
a0da47fd66 8029233: Update copyright year to match last edit in jdk8 hotspot repository for 2013
Copyright year updated for files modified during 2013

Reviewed-by: twisti, iveresov
2013-12-24 11:48:39 -08:00
Goetz Lindenmaier
7d56518671 8029940: PPC64 (part 122): C2 compiler port
Reviewed-by: kvn
2013-12-11 00:06:11 +01:00
Vladimir Kozlov
39b0e57fdd Merge 2013-11-05 17:38:04 -08:00
Gerard Ziemski
86cd1aaa73 8020753: JNI_CreateJavaVM on Mac OSX 10.9 Mavericks corrupts the callers stack size
Use hard-coded DEFAULT_MAIN_THREAD_STACK_PAGES = 2048 for 10.9

Reviewed-by: dcubed, iveresov
2013-10-24 22:19:48 -07:00
David Simms
d5157be0e8 8023956: Provide a work-around to broken Linux 32 bit "Exec Shield" using CS for NX emulation (crashing with SI_KERNEL)
Execute some code at a high virtual address value, and keep mapped

Reviewed-by: coleenp, zgu
2013-09-25 13:58:13 +02:00
Thomas Schatzl
9005953c71 Merge 2013-09-19 09:26:08 +02:00
Thomas Schatzl
f6e98b8181 8024669: Native OOME when allocating after changes to maximum heap supporting Coops sizing on sparcv9
After changes in 8010722 the ergonomics for calculating the size of the heap that supports zero based compressed oops changed. This lead to the VM actually using zero based compressed oops. Due to low default HeapBaseMinAddress, the OS mapping in the application image at the same address, and limitations of the malloc implementation on Solaris this resulted in very little C heap available for the VM. So the VM immediately gives a native OOME when the machine has lots of physical memory (>=32G). The solution is to increase the HeapBaseMinAddress so that the VM has enough C heap.

Reviewed-by: kvn, brutisso
2013-09-18 13:18:52 +02:00
Zhengyu Gu
9e8f860fec Merge 2013-09-13 10:34:15 -04:00
Volker Simonis
2af861eed1 8023038: PPC64 (part 15): Platform files for AIX/PPC64 support
Reviewed-by: kvn
2013-09-06 20:16:09 +02:00
Ioi Lam
1c2a7eea85 8022335: Native stack walk while generating hs_err does not work on Windows x64
Use WinDbg API StackWalk64()

Reviewed-by: zgu, dholmes
2013-09-06 08:42:42 -07:00
Vladimir Kozlov
1a700c9216 Merge 2013-09-05 11:04:39 -07:00
Jon Masamitsu
451ff188a0 8013938: Native OOME on fastdebug VM on Solaris
Reviewed-by: azeemj, brutisso, kvn, tschatzl
2013-09-04 11:41:17 -07:00
Rickard Bäckman
4cb52fc49d Merge 2013-08-22 18:37:14 +02:00
Yumin Qi
056fb53c83 8023188: Unsafe volatile double store on bsd is broken
Reviewed-by: dcubed, dholmes
2013-08-19 09:16:35 -07:00
Rickard Bäckman
8db7a08b50 Merge 2013-08-15 15:26:16 +02:00
Christian Thalinger
9e056eedc4 8022956: Clang: enable return type warnings on BSD
Reviewed-by: coleenp, sla
2013-08-20 10:57:50 -07:00
Niclas Adlertz
fc44cdf0ec 8022475: Remove unneeded ad-files
Remove .ad files that are not used

Reviewed-by: kvn
2013-08-07 18:04:42 +02:00
Omair Majid
6e609cbc64 8022188: Make zero compile after 8016131 and 8016697
Reviewed-by: dholmes, twisti
2013-08-06 12:28:46 -04:00
Goetz Lindenmaier
cf98cb05ca 8019972: PPC64 (part 9): platform files for interpreter only VM
With this change the HotSpot core build works on Linux/PPC64. The VM succesfully executes simple test programs.

Reviewed-by: kvn
2013-08-02 16:46:45 +02:00
Vladimir Kozlov
f4c4fd7903 Merge 2013-08-01 17:25:10 -07:00