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
Staffan Larsen
32b46da6e3
7017824: Add support for creating 64-bit Visual Studio projects
...
Updated create.bat and ProjectCreator
Reviewed-by: brutisso, stefank, ohair
2011-02-10 13:03:22 +01:00
Vladimir Kozlov
ddd4d3ad73
Merge
2011-02-14 14:36:29 -08:00
Christian Thalinger
01cc76e02d
7018673: Zero: 6953144, 6990754 and 7009756 made some changes which broke Zero
...
Reviewed-by: kvn, chrisphi, twisti
2011-02-11 03:17:53 -08:00
Vladimir Kozlov
b9633d42b4
7017124: Fix some VM stats to avoid 32-bit overflow
...
Added new method inc_stat_counter() to increment long statistic values and use atomic long load and store.
Reviewed-by: dholmes, jrose, phh, never
2011-02-07 10:34:39 -08:00
Vladimir Kozlov
f743a9db84
7014998: assert(is_T_family(features) == is_niagara(features)) failed: Niagara should be T series
...
Use substring search instead of compare and convert string to upper case before search.
Reviewed-by: never, phh, iveresov
2011-02-01 10:27:02 -08: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
d2aac739a8
7012965: Fix failed on sparc for 7009756: volatile variables could be broken throw reflection API
...
Use LDX/STX on v9 and LDD/STD on v8 sparc for volatile long moves.
Reviewed-by: never
2011-01-18 17:10:03 -08:00
Christian Thalinger
53c79c908e
Merge
2011-01-13 07:20:32 -08:00
Erik Trimble
64115cbb85
Merge
2011-01-07 22:56:35 -08:00
Daniel D. Daugherty
0c7a73dc8c
Merge
2011-01-07 15:54:32 -08: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
Erik Trimble
3c6a7c89ff
7010068: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - first pass
...
Update the copyright to be 2010 on all changed files in OpenJDK
Reviewed-by: jcoomes
2011-01-03 15:30:05 -08:00
Coleen Phillimore
dec384330b
6302804: Hotspot VM dies ungraceful death when C heap is exhausted in various places
...
Enhance the error reporting mechanism to help user to fix the problem rather than making it look like a VM error.
Reviewed-by: kvn, kamg
2011-01-03 14:09:11 -05:00
Vladimir Kozlov
9fd396ce55
7006505: Use kstat info to identify SPARC processor
...
Read Solaris kstat data to get more precise CPU information
Reviewed-by: iveresov, never, twisti, dholmes
2010-12-16 14:15:12 -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
Gary Benson
7b0fb2a1e3
7002129: Zero and Shark fixes, 3rd
...
6970683 and 6953144 introduced changes that need to be implemented for Zero and Shark.
Reviewed-by: twisti
2010-11-23 04:33:42 -08:00
Vladimir Kozlov
249b1f6c4f
6987135: Performance regression on Intel platform with 32-bits edition between 6u13 and 6u14
...
Use hardware DIV instruction for long division by constant when it is faster than code with multiply.
Reviewed-by: never
2010-11-02 09:00:37 -07:00
Tom Rodriguez
1571a4a56f
6970683: improvements to hs_err output
...
Reviewed-by: kvn, jrose, dholmes, coleenp
2010-10-21 11:55:10 -07:00
Tom Rodriguez
d486ceec9f
Merge
2010-08-25 10:31:45 -07:00
Christian Thalinger
a4b2fe3b1c
6978355: renaming for 6961697
...
This is the renaming part of 6961697 to keep the actual changes small for review.
Reviewed-by: kvn, never
2010-08-25 05:27:54 -07:00
Tom Rodriguez
519c627fe5
Merge
2010-08-20 09:55:50 -07:00
Gary Benson
a325f5589a
6977640: Zero and Shark fixes
...
A number of fixes for Zero and Shark.
Reviewed-by: twisti
2010-08-18 01:22:16 -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
Coleen Phillimore
52adb9a491
Merge
2010-06-28 12:03:05 -04:00
Zhengyu Gu
360fcdc7bd
6939019: Source code adjustments for parfait compilation of hotspot
...
Minor source code adjustments for parfait compilation, since it uses different compiler vs. JDK
Reviewed-by: never, kamg
2010-06-22 09:46:15 -04:00
Vladimir Kozlov
9c7b430e11
6730276: JDI_REGRESSION tests fail with "Error: count must be non-zero" error on x86
...
Modify assembler code to check for 0 count for all copy routines.
Reviewed-by: never, ysr, jcoomes
2010-06-10 13:04:20 -07:00
Erik Trimble
ba7c173659
6941466: Oracle rebranding changes for Hotspot repositories
...
Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair
2010-05-27 19:08:38 -07:00
John Coomes
04b4d79094
6951319: enable solaris builds using Sun Studio 12 update 1
...
Reviewed-by: kamg, ysr, dholmes, johnc
2010-05-18 11:02:18 -07:00
John Coomes
d14dfb51af
Merge
2010-05-13 13:05:47 -07:00
Gary Benson
df4f3b6c42
6951923: some uses of fatal1 were missed by 6888954
...
Reviewed-by: jcoomes
2010-05-12 10:28:13 -07:00