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
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
David Holmes
6e0ea9d21c
8132510: Replace ThreadLocalStorage with compiler/language-based thread-local variables
...
Used compiled-based TLS when available. Additional contributions by Thomas Stufe (AIX) and Andrew Haley (Aarch64)
Reviewed-by: stuefe, bdelsart, dcubed
2015-12-04 04:06:37 -05:00
Christian Thalinger
6896030b96
8140424: don't prefix developer and notproduct flag variables with CONST_ in product builds
...
Reviewed-by: goetz, stefank
2015-11-11 16:32:17 -10:00
David Lindholm
1e71f67736
8080775: Better argument formatting for assert() and friends
...
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Gerald Thornbrugh
72c1fe89b2
8134161: JVM is creating too many GC helper threads on T7/M7 linux/sparc platform
...
Recognize the T7/M7 platform.
Reviewed-by: dcubed, kvn, jmasa
2015-09-01 14:01:18 -07:00
David Holmes
8dfd822c41
8080298: Clean up os::...::supports_variable_stack_size()
...
Reviewed-by: kbarrett, simonis, stuefe, coleenp
2015-08-03 16:54:08 -04: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
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
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
Aleksey Shipilev
13329b5040
8050147: StoreLoad barrier interferes with stack usages
...
Reviewed-by: jrose, kvn, drchase
2014-09-04 13:11:25 +04: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
Mikael Vidstedt
da1c36533e
8046769: Set T family feature bit on Niagara systems
...
Reviewed-by: kvn, iveresov
2014-06-16 16:27:41 -07:00
Mikael Vidstedt
fc984ddd84
8044071: Print format/argument warnings
...
Reviewed-by: drchase, dholmes, lfoltan, twisti
2014-05-29 16:01:13 -07:00
Mikael Vidstedt
c781bb874f
8042059: Various fixes to linux/sparc
...
Reviewed-by: twisti, kvn
2014-04-29 22:05:10 -07: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
Daniel D. Daugherty
c2c0ba529a
Merge
2013-07-18 12:35:55 -07:00
Rickard Bäckman
2d77390705
8020701: Avoid crashes in WatcherThread
...
Reviewed-by: acorn, dcubed, dsimms
2013-07-17 13:48:15 +02:00
Goetz Lindenmaier
ef69ce852c
8016697: Use stubs to implement safefetch
...
Implement Safefetch as stub routines. This reduces compiler and os dependencies.
Reviewed-by: twisti, kvn
2013-06-20 15:02:05 +02:00
Morris Meyer
5b2339a7a2
8008407: remove SPARC V8 support
...
Removed most of the SPARC V8 instructions
Reviewed-by: kvn, twisti
2013-06-07 16:46:37 -07:00
Calvin Cheung
0f7adcc3d9
8011661: Insufficient memory message says "malloc" when sometimes it should say "mmap"
...
Reviewed-by: coleenp, zgu, hseigel
2013-04-30 11:56:52 -07:00
Coleen Phillimore
e21f2d67e1
8008217: CDS: Class data sharing limits the malloc heap on Solaris
...
In 64bit VM move CDS archive address to 32G on all platforms using new flag SharedBaseAddress. In 32bit VM set CDS archive address to 3Gb on Linux and let other OSs pick the address.
Reviewed-by: kvn, dcubed, zgu, hseigel
2013-03-20 08:04:54 -04:00
Ioi Lam
5116181e1f
7107135: Stack guard pages are no more protected after loading a shared library with executable stack
...
Detect the execstack attribute of the loaded library and attempt to fix the stack guard using Safepoint op.
Reviewed-by: dholmes, zgu
2013-03-05 13:55:56 -08:00
Volker Simonis
76fa595599
8008959: Fix non-PCH build on Linux, Windows and MacOS X
...
Fix the build without precompiled headers by either including the missing ".inline.hpp" files into the appropriate files or by turning inline-functions declared in header files into ordinary functions in ".cpp" files.
Reviewed-by: coleenp, stefank, dholmes
2013-02-27 09:40:30 +01:00
Mikael Vidstedt
e7e6443c6d
8004747: Remove last_entry from VM_STRUCT macros
...
Instead of passing in last_entry to all the VM_ macros just expand it in the main vmStructs.cpp file.
Reviewed-by: dholmes, sspitsyn, minqi
2013-01-10 17:06:26 -08:00
Roland Westrelin
d8921b191a
Merge
2012-12-07 01:09:03 -08:00
Christian Thalinger
34733bb83c
8003250: SPARC: move MacroAssembler into separate file
...
Reviewed-by: jrose, kvn
2012-12-06 09:57:41 -08:00
Stefan Karlsson
57204d9f34
8003935: Simplify the needed includes for using Thread::current()
...
Reviewed-by: dholmes, rbackman, coleenp
2012-11-27 14:20:21 +01:00
Harold Seigel
fc938fcbd9
7188234: Deprecate VM command line options
...
Remove support for the UseVectoredExceptions flag
Reviewed-by: jcoomes, kamg
2012-10-25 16:33:15 -04:00
Mikael Vidstedt
769dd50182
7197424: update copyright year to match last edit in jdk8 hotspot repository
...
Update copyright year to 2012 for relevant files
Reviewed-by: dholmes, coleenp
2012-10-09 10:09:34 -07:00
Nils Eliasson
e228ec4078
8000102: Resolve include conflicts
...
Removing include of c1/c1_runtime.hpp and opto/runtime.hpp from all os-files.
Reviewed-by: kvn
2012-10-04 06:31:07 -07:00
Zhengyu Gu
afd497eecc
7190089: NMT ON: NMT failed assertion on thread's stack base address
...
Solaris only, record stack info to NMT after stack size adjustment was made for primordial threads
Reviewed-by: kvn, acorn, coleenp
2012-09-17 10:20:04 -04:00
Jon Masamitsu
5c58d27aac
6964458: Reimplement class meta-data storage to use native memory
...
Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
2012-09-01 13:25:18 -04:00
Rickard Bäckman
be3945d9ff
7161732: Improve handling of thread_id in OSThread
...
Reviewed-by: dholmes, kamg
2012-05-22 10:11:53 +02:00
Roland Westrelin
4012f6cd34
7147740: add assertions to check stack alignment on VM entry from generated code (x64)
...
Check stack alignment on VM entry on x64.
Reviewed-by: kvn, never
2012-02-27 09:17:44 +01:00
Erik Trimble
c9e484d473
7010070: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - second pass
...
Update the copyright to be 2010 on all changed files in OpenJDK
Reviewed-by: ohair
2011-04-05 14:12:31 -07:00
Coleen Phillimore
cba53708ec
6588413: Use -fvisibility=hidden for gcc compiles
...
Add option for gcc 4 and above, define JNIEXPORT and JNIIMPORT to visibility=default, add for jio_snprintf and others since -fvisibility=hidden overrides --version-script definitions.
Reviewed-by: kamg, never
2011-02-01 11:23:19 -05:00
Vladimir Kozlov
afbf71368c
7009756: volatile variables could be broken throw reflection API
...
Use Atomic::load() and Atomic::store() to access a volatile long.
Reviewed-by: iveresov, jrose, dholmes, never
2011-01-07 10:16:57 -08:00
Ivan P Krylov
9802f91e66
6348631: remove the use of the HPI library from Hotspot
...
Move functions from hpi library to hotspot, communicate with licensees and open source community, check jdk for dependency, file CCC request
Reviewed-by: coleenp, acorn, dsamersoff
2010-12-01 18:26:32 -05:00
Stefan Karlsson
8006fe8f75
6989984: Use standard include model for Hospot
...
Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
2010-11-23 13:22:55 -08:00
Tom Rodriguez
1571a4a56f
6970683: improvements to hs_err output
...
Reviewed-by: kvn, jrose, dholmes, coleenp
2010-10-21 11:55:10 -07:00
John Cuthbertson
becf7cffb3
Merge
2010-08-14 00:47:52 -07:00
Y. Srinivas Ramakrishna
7ee29eeb6a
6973570: OrderAccess::storestore() scales poorly on multi-socket x64 and sparc: cache-line ping-ponging
...
Volatile store to static variable removed in favour of a volatile store to stack to avoid excessive cache coherency traffic; verified that the volatile store is not elided by any of our current compilers.
Reviewed-by: dholmes, dice, jcoomes, kvn
2010-08-10 14:53:35 -07:00
Bob Vandette
b95c7e9523
6953477: Increase portability and flexibility of building Hotspot
...
A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.
Reviewed-by: phh, never, coleenp, dholmes
2010-08-03 08:13:38 -04:00