Severin Gehwolf
9ac0d9d341
8087120: [GCC5] java.lang.StackOverflowError on Zero JVM initialization on non x86 platforms
...
Use __builtin_frame_address(0) rather than returning address of local variable.
Reviewed-by: dholmes
2015-06-12 16:09:45 +01:00
Bharadwaj Yadavalli
f8d0a6ff28
Merge
2015-04-30 18:14:58 -04:00
Goetz Lindenmaier
879707ab31
8078482: ppc: pass thread to throw_AbstractMethodError
...
Also improve check for Safepoints in signal handler.
Reviewed-by: kvn, simonis
2015-04-23 09:27:02 +02:00
Vladimir Kozlov
b9c00b1904
Merge
2015-04-16 14:05:48 -07:00
Thomas Stuefe
1afbc04d56
8076185: Provide SafeFetchX implementation for zero
...
Implement SafeFetchX for zero using setjmp/longjmp and Posix TLS
Reviewed-by: sgehwolf, dholmes
2015-03-31 05:30:36 -04:00
Igor Veresov
1b5090da9e
8076968: PICL based initialization of L2 cache line size on some SPARC systems is incorrect
...
Chcek both l2-dcache-line-size and l2-cache-line-size properties to determine the size of the line
Reviewed-by: kvn
2015-04-06 20:20:17 -07:00
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
David Holmes
fee39c63e6
8129526: Solaris: clean up another remnant of interruptible I/O
...
Reviewed-by: fparain, dcubed
2015-10-30 00:23:07 -04:00
Coleen Phillimore
ed82cd0ee8
Merge
2015-10-23 23:06:53 +02:00
Coleen Phillimore
f1e89ea4cc
8140274: methodHandles and constantPoolHandles should be passed as const references
...
Modified code to use const reference parameters
Reviewed-by: sspitsyn, twisti
2015-10-23 16:48:38 -04:00
Goetz Lindenmaier
83b3b21342
8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux
...
Reviewed-by: stuefe, coleenp, roland
2015-10-22 13:07:10 -04: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