Jesper Wilhelmsson
33a887ef0e
Merge
2015-03-26 14:42:13 +01:00
Ed Nevill
87529b4864
8075860: aarch64: jdk9/dev fails to build
...
Fix undefined os::Linux::ucontext_set_pc in aarch64 build
Reviewed-by: kvn
2015-03-25 10:24:51 -07:00
Jesper Wilhelmsson
5f5b27baba
Merge
2015-03-23 22:08:14 +01:00
Thomas Stufe
33690bd090
8074552: SafeFetch32 and SafeFetchN do not work in error handling
...
Reviewed-by: dholmes, goetz
2015-03-12 19:34:50 -04:00
Dmitry Dmitriev
cc658928be
8073990: Deprecated "UseVectoredExceptions" VM options still defined in several globals files
...
Reviewed-by: dholmes, stuefe, simonis
2015-03-11 18:49:22 -04:00
Daniel D. Daugherty
38b93bbbcb
Merge
2015-03-06 08:47:51 -08:00
Erik Osterlund
c2a4574760
7143664: Clean up OrderAccess implementations and usage
...
Clarify and correct the abstract model for memory barriers provided by the orderAccess class. Refactor the implementations using template specialization to allow the bulk of the code to be shared, with platform specific customizations applied as needed.
Reviewed-by: acorn, dcubed, dholmes, dlong, goetz, kbarrett, sgehwolf
2015-03-03 19:20:26 -05:00
Jesper Wilhelmsson
c1bc0a31b2
8074459: Flags handling memory sizes should be of type size_t
...
Changed the type to size_t for flags that handles memory sizes
Reviewed-by: kbarrett, tschatzl
2015-03-03 18:01:27 +01:00
Alejandro Murillo
94ddb7fc72
Merge
2015-03-03 06:23:49 -08:00
Vladimir Kozlov
5f8d6ce7b6
Merge
2015-01-20 15:24:58 -08:00
Andrew Haley
50c0c29004
8068055: AARCH64: os_cpu
...
Add src/os_cpu/linux_aarch64/vm/* files
Reviewed-by: kvn, roland, dholmes
2015-01-15 11:17:47 -08:00
Severin Gehwolf
e13c212339
8067331: Zero: Atomic::xchg and Atomic::xchg_ptr need full memory barrier
...
Reviewed-by: dholmes, coleenp
2015-01-07 16:43:04 +01:00
Stefan Johansson
2aea48249d
8062672: JVM crashes during GC on various asserts which checks that HeapWord ptr is an oop
...
Crashes were caused by not disabling UseMemSetInBOT as should be done on sparc. Added support for picking up blkinit as a platform feature if available on Linux sparc. This is needed to avoid enabling UseMemSetInBOT when running on this platform.
Reviewed-by: jwilhelm, brutisso
2014-12-11 09:56:57 +01:00
Goetz Lindenmaier
46714a7809
8066964: ppc64: argument and return type profiling, fix problem with popframe
...
Reviewed-by: roland, kvn
2014-12-09 11:57:46 +01:00
Jesper Wilhelmsson
3c3e60d5be
Merge
2014-11-26 18:01:10 +01:00
Staffan Larsen
c217bdda86
Merge
2014-11-17 09:36:40 +01:00
Jesper Wilhelmsson
c72d5c48e2
Merge
2014-11-13 12:29:09 +01:00
Jiangli Zhou
afd3405c2f
8054008: Using -XX:-LazyBootClassLoader crashes with ACCESS_VIOLATION on Win 64bit
...
Only enable the assert for current_stack_pointer after stub routines become available.
Reviewed-by: dholmes, roland, lfoltan
2014-11-12 13:12:35 -05:00
Staffan Larsen
bcb6a1586a
Merge
2014-11-06 19:59:32 +00:00
David Buck
af50fa526b
8058715: stability issues when being launched as an embedded JVM via JNI
...
Use mmap call without MAP_FIXED so we avoid corrupting already allocated memory
Reviewed-by: coleenp, dsimms
2014-11-05 23:37:17 -08:00
Igor Veresov
8db9a55e68
8062591: SPARC PICL causes significantly longer startup times
...
Optimize traversals of the PICL tree
Reviewed-by: kvn
2014-11-04 07:09:34 -10:00
Mikael Gerdin
bb556024a7
8061964: Insufficient compiler barriers for GCC in OrderAccess functions
...
Fix OrderAccess functions to emit memory clobbering inline assembly to attempt to stop copiler reordering.
Reviewed-by: dcubed, dholmes, bdelsart
2014-11-03 11:08:03 +01:00
Erik Osterlund
a324ff0f31
8058255: Native jbyte Atomic::cmpxchg for supported x86 platforms
...
Use the native cmpxchgb instruction on x86.
Reviewed-by: dholmes, kbarrett, phh
2014-10-21 15:07:25 +02:00
Jesper Wilhelmsson
2616e09389
Merge
2014-11-17 21:32:32 +01:00
Stefan Karlsson
692dbfd02d
8062808: Turn on the -Wreturn-type warning
...
Reviewed-by: mgerdin, tschatzl, coleenp, jrose, kbarrett
2014-11-12 13:55:59 +01:00
Igor Veresov
c86e8f5a2c
8059200: Promoted JDK9 b31 for Solaris-amd64 fails (Error: dl failure on line 744, no picl library) on Solaris 11.1
...
Manually load libpicl.so (used on SPARC only)
Reviewed-by: kvn
2014-10-25 21:02:29 -10:00
Goetz Lindenmaier
3263a62bb4
8059592: Recent bugfixes in ppc64 port
...
Reviewed-by: kvn
2014-10-02 09:32:53 +02:00
Volker Simonis
a1628426d3
8058345: Refactor native stack printing from vmError.cpp to debug.cpp to make it available in gdb as well
...
Also fix stack trace on x86 to enable walking of runtime stubs and native wrappers
Reviewed-by: kvn
2014-09-24 12:19:07 -07:00
Volker Simonis
cf7dd2e6e4
8057780: Fix ppc build after "8050147: StoreLoad barrier interferes with stack usages
...
Reviewed-by: kvn, shade
2014-09-08 16:05:48 +02:00
Igor Veresov
5db7b3a4e1
8056124: Hotspot should use PICL interface to get cacheline size on SPARC
...
Using libpicl to get L1 data and L2 cache line sizes
Reviewed-by: kvn, roland, morris
2014-09-05 11:23:47 -07:00
Aleksey Shipilev
13329b5040
8050147: StoreLoad barrier interferes with stack usages
...
Reviewed-by: jrose, kvn, drchase
2014-09-04 13:11:25 +04:00
Vladimir Kozlov
b86cece468
Merge
2014-08-15 12:27:50 -07:00
Zoltan Majo
abd8ce7135
8043913: remove legacy code in SPARC's VM_Version::platform_features
...
Kept only getisax(2) to determine platform features
Reviewed-by: kvn, roland
2014-08-13 10:44:50 +02:00
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