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
Dean Long
344a9becee
Merge
2015-10-17 19:40:30 -04:00
David Lindholm
5770f4eb32
8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
...
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: goetz, brutisso
2015-10-09 09:42:33 +02:00
Christian Thalinger
16526e000e
8136421: JEP 243: Java-Level JVM Compiler Interface
...
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett
2015-10-08 12:49:30 -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
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
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
Aleksey Shipilev
13329b5040
8050147: StoreLoad barrier interferes with stack usages
...
Reviewed-by: jrose, kvn, drchase
2014-09-04 13:11:25 +04: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
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
Nils Eliasson
c3f6e08de3
Merge
2014-03-27 14:15:42 +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
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
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
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
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
David Holmes
aa91e0674a
8016538: volatile double access via Unsafe.cpp is not atomic
...
Volatile jdouble load/store is not atomic, fix by using of existing volatile jlong operations which are atomic for jdouble.
Reviewed-by: kvn, vladidan, jrose
2013-07-19 08:34:48 -07: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
Staffan Larsen
718f3252f6
8005849: JEP 167: Event-Based JVM Tracing
...
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: acorn, coleenp, sla
2013-06-10 11:30:51 +02:00
Vladimir Kozlov
88f70d8026
8011102: Clear AVX registers after return from JNI call
...
Execute vzeroupper instruction after JNI call and on exits in jit compiled code which use 256bit vectors.
Reviewed-by: roland
2013-04-03 11:12:57 -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
Morris Meyer
46a623ec88
8008560: [parfait] Null pointer deference in hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp
...
Add null pointer check in signal handler
Reviewed-by: kvn
2013-03-14 07:44:18 -07: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
Bengt Rutisson
20bc6a3d8c
Merge
2013-02-14 11:01:05 +01:00
Staffan Larsen
e563c0ecf4
8006423: SA: NullPointerException in sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:67)
...
Do not rely on mach thread port names to identify threads from SA
Reviewed-by: dholmes, minqi, rbackman
2013-02-08 12:48:24 +01:00
Jeremy Manson
329bc97900
8006508: Wrong frame constructor is called in os_linux_x86.cpp
...
Reviewed-by: dholmes, coleenp
2013-02-04 23:53:10 -05:00
Bengt Rutisson
ff7575383f
Merge
2013-02-07 18:40:45 -08:00
Jesper Wilhelmsson
2c17d50a8b
8006432: Ratio flags should be unsigned
...
Flags changed to be of uintx type
Reviewed-by: johnc, tamao
2013-02-07 15:51:25 +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
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
Christian Thalinger
2c2c007448
8003240: x86: move MacroAssembler into separate file
...
Reviewed-by: kvn
2012-11-30 15:23:16 -08:00
Staffan Larsen
bcf7a3c298
8001619: Remove usage of _ALLBSD_SOURCE in bsd files
...
Reviewed-by: coleenp, dholmes
2012-10-29 21:04:17 +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
Roland Westrelin
470db77b36
7129715: MAC: SIGBUS in nsk stress test
...
StackOverflowError may get lost on OSX.
Reviewed-by: kvn, dcubed
2012-06-21 09:52:38 +02:00
Zhengyu Gu
a9ea9bd20a
Merge
2012-05-29 20:06:10 -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