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
Daniel D. Daugherty
05b3bc59c3
Merge
2013-03-23 22:35:02 -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
2cd055b0b2
8010144: [parfait] Null pointer deference in hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp
...
Add null check to signal handler
Reviewed-by: dcubed
2013-03-16 07:41:09 -07:00
Morris Meyer
5b2fed9809
Merge
2013-03-14 16:16:05 -07: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
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
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
Morris Meyer
113e9ab39d
8004250: replace AbstractAssembler a_byte/a_long with emit_int8/emit_int32
...
Reviewed-by: jrose, kvn, twisti
2012-12-20 18:53:44 -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
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
Vladimir Kozlov
ebeff89a89
7188227: VM should recognize M-series SPARC
...
Check kstat data for SPARC-M.
Reviewed-by: roland
2012-08-01 14:10:32 -07: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
0ccc41fc10
7171422: Change 7161732 breaks SA on Windows
...
Reviewed-by: dholmes, sla
2012-05-24 13:37:47 +02: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
285f7e0640
7167254: Crash on OSX in Enumerator.nextElement() with compressed oops
...
Null checks in "compressed oops with base" mode may trigger a SIGBUS rather than a SIGSEGV.
Reviewed-by: dsamersoff, dcubed, rbackman, kvn
2012-05-18 15:50:09 +02:00
Tom Rodriguez
dac856d4f2
Merge
2012-03-02 09:13:13 -08: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
Frederic Parain
79a5197d1d
Merge
2012-02-22 08:19:27 -08:00
Staffan Larsen
d856a7745c
7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
...
Change OSThread to use mach thread_t
Reviewed-by: phh, dcubed
2012-02-19 13:11:39 +01:00
Vladimir Kozlov
867f3ba889
7145346: VerifyStackAtCalls is broken
...
Replace call_epilog() encoding with macroassembler use. Moved duplicated code to x86.ad. Fixed return_addr() definition.
Reviewed-by: never
2012-02-16 17:12:49 -08:00
Vladimir Kozlov
2856b9535e
7142167: MAC: _get_previous_fp broken on bsd with llvm-gcc
...
LLVM-GCC (__llvm__) should use the same _get_previous_fp implementation as __clang__ (as is the case for os::current_stack_pointer).
Reviewed-by: twisti, never, dcubed
2012-02-07 11:33:15 -08:00
Karen Kinnear
c323bcdca8
7125934: Add a fast unordered timestamp capability to Hotspot on x86/x64
...
Add rdtsc detection and inline generation.
Reviewed-by: kamg, dholmes
2012-01-01 11:17:59 -05:00
Igor Veresov
e9bfe21bdf
Merge
2011-10-21 00:58:30 -07:00
Axel Siebenborn
96500c22d7
7100935: win32: memmove is not atomic but is used for pd_conjoint_*_atomic operations
...
Replace the call to memmove by a simple copy loop
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Reviewed-by: dholmes, kvn, never
2011-10-19 10:52:30 -07:00
Christos Zoulas
32708baef1
7098194: integrate macosx-port changes
...
Integrate bsd-port/hotspot and macosx-port/hotspot changes as of 2011.09.29.
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Victor Hernandez <vhernandez@apple.com>
Co-authored-by: Pratik Solanki <psolanki@apple.com>
Reviewed-by: kvn, dholmes, never, phh
2011-10-13 09:35:42 -07:00
Kurt Miller
95c56a472b
7089790: integrate bsd-port changes
...
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Jung-uk Kim <jkim@freebsd.org>
Co-authored-by: Christos Zoulas <christos@zoulas.com>
Co-authored-by: Landon Fuller <landonf@plausible.coop>
Co-authored-by: The FreeBSD Foundation <board@freebsdfoundation.org>
Co-authored-by: Michael Franz <mvfranz@gmail.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Reviewed-by: kvn, twisti, jrose
2011-09-25 16:03:29 -07:00
John Coomes
af31d0cf27
Merge
2011-08-19 14:08:18 -07:00
Vladimir Kozlov
ac99f413d7
7063629: use cbcond in C2 generated code on T4
...
Use new short branch instruction in C2 generated code.
Reviewed-by: never
2011-08-11 12:08:11 -07:00
Vladimir Kozlov
48c1293916
7063628: Use cbcond on T4
...
Add new short branch instruction to Hotspot sparc assembler.
Reviewed-by: never, twisti, jrose
2011-07-21 11:25:07 -07:00
John Coomes
c76b491afb
7061197: ThreadLocalStorage sp map table should be optional
...
Reviewed-by: dholmes, never, jwilhelm, kvn
2011-07-06 12:22:29 -07:00
Deepak Bhole
fb47d47b6f
7031385: incorrect register allocation in release_store_fence on linux x86
...
Since gcc 4.5 the inline assembly trying to use r register for an atomic 8-bit exchange and it leads to compilation error
Reviewed-by: dsamersoff, dholmes
2011-05-03 18:43:18 +04:00
David Katleman
079c89189f
7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles
...
Reviewed-by: ohair, trims
2011-05-25 13:31:51 -07: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
Vladimir Kozlov
0ea15ed320
Merge
2011-02-23 11:18:16 -08:00