608 Commits

Author SHA1 Message Date
Christian Thalinger
ffaadcecea 6961690: load oops from constant table on SPARC
Oops should be loaded from the constant table of an nmethod instead of materializing them with a long code sequence.

Reviewed-by: never, kvn
2010-12-03 01:34:31 -08:00
Staffan Larsen
7765368022 6981484: Update development launcher
Add new development launcher called hotspot(.exe)

Reviewed-by: coleenp
2010-12-02 05:45:54 -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
Poonam Bajaj
b91e418b3e 6837842: JNI_CreateJavaVM crashes under impersonation
Reviewed-by: acorn, dholmes
2010-11-19 03:41:50 -08:00
Zhengyu Gu
04b08adf06 6751923: JNDI wake up when clock_settime() is called
Ported Chris Phillips' patch from jdk5 to jdk7

Reviewed-by: chrisphi, coleenp
2010-11-18 14:37:46 -05:00
Karen Kinnear
22929fb78f 6988353: refactor contended sync subsystem
Reduce complexity by factoring synchronizer.cpp

Reviewed-by: dholmes, never, coleenp
2010-10-22 15:59:34 -04:00
Bob Vandette
a594a8dea5 Merge 2010-10-07 15:14:41 -04:00
Bob Vandette
72616ad2bc 6989297: Integrate additional portability improvements
Reviewed-by: vladidan, dholmes
2010-10-07 15:12:57 -04:00
Coleen Phillimore
39992cab03 6983240: guarantee((Solaris::min_stack_allowed >= (StackYellowPages+StackRedPages...) wrong
Min_stack_allowed is a compile time constant and Stack*Pages are settable

Reviewed-by: dholmes, kvn
2010-10-07 08:06:06 -07:00
Karen Kinnear
9e4a795ff5 6763959: java.util.concurrent.locks.LockSupport.parkUntil(0) blocks forever
Absolute time 0 needs to return immediately.

Reviewed-by: phh, dcubed, dholmes
2010-10-04 13:11:10 -04:00
Daniel D. Daugherty
d7850a0df7 Merge 2010-08-27 21:31:15 -07:00
David Holmes
670922cd27 6978641: Fix for 6929067 introduces additional overhead in thread creation/termination paths
Disable stack bounds checks in product mode other than for the initial thread

Reviewed-by: coleenp, jcoomes, aph
2010-08-25 21:29:05 -04: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
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
Andrew Haley
d44a3683b1 6888526: Linux getCurrentThreadCpuTime is drastically slower than Windows
Reviewed-by: dcubed, dholmes
2010-07-28 17:38:21 +01:00
Andrei Pangin
8ce591cea8 Merge 2010-07-17 21:49:23 -07:00
Alan Bateman
640336ebe6 6649594: Intermittent IOExceptions during dynamic attach on linux and solaris
Reviewed-by: dcubed, dholmes
2010-07-16 13:14:03 +01:00
Tom Rodriguez
ffb15fdb04 Merge 2010-07-15 13:48:01 -07:00
Tom Rodriguez
7533d0caf7 6965184: possible races in make_not_entrant_or_zombie
Reviewed-by: kvn
2010-07-08 14:29:44 -07:00
Mandy Chung
a20650acd0 6967423: Hotspot support for modules image
Add hotspot support for modules image

Reviewed-by: acorn
2010-07-07 15:35:58 -07: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
John R Rose
d6a9b93b5a Merge 2010-06-02 22:45:42 -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
Christian Thalinger
c9f2ba541b 6951083: oops and relocations should part of nmethod not CodeBlob
This moves the oops from Codeblob to nmethod.

Reviewed-by: kvn, never
2010-05-20 06:34:23 -07:00
Vladimir Kozlov
85854f0e13 6951686: Using large pages on Linux prevents zero based compressed oops
Use req_addr when attaching shared memory segment.

Reviewed-by: twisti
2010-05-17 11:32:56 -07:00
Daniel D. Daugherty
1f1393802c Merge 2010-05-05 16:39:47 -07:00
John Coomes
99196ff9ca 6888954: argument formatting for assert() and friends
Reviewed-by: kvn, twisti, apetrusenko, never, dcubed
2010-04-22 13:23:15 -07:00
Andreas Kohn
50654ebc2b 6944822: Fix for 6938627 exposes problem with hard-coded buffer sizes
Make tmpdir buffer sizes MAX_PATH+1

Reviewed-by: dholmes, coleenp
2010-04-19 18:58:31 -04:00
Coleen Phillimore
47cda47c42 6938627: Make temporary directory use property java.io.tmpdir when specified
Get java.io.tmpdir property in os::get_temp_directory() and call this instead of harcoding "/tmp".  Don't assume trailing file_separator either.

Reviewed-by: dholmes, kamg
2010-03-31 16:51:18 -07:00
Andrew Haley
87f44737a8 6936168: Recent fix for unmapping stack guard pages doesn't close /proc/self/maps
Add close to returns (fix for 6929067 also contributed by aph)

Co-authored-by: Andreas Kohn <andreas.kohn@fredhopper.com>
Reviewed-by: aph, dcubed, andrew, acorn
2010-03-18 16:47:37 -04:00
Frederic Parain
2450ae35a1 6935224: Adding new DTrace probes to work with Palantir
Adding probes related to thread scheduling and class initialization

Reviewed-by: kamg, never
2010-03-17 11:01:05 +01:00
Coleen Phillimore
053d7adeb2 6929067: Stack guard pages should be removed when thread is detached
Add code to unmap stack guard area when thread is detached.

Reviewed-by: coleenp, kamg
2010-03-12 10:42:16 -05:00
Daniel D. Daugherty
8acae99fd8 Merge 2010-02-02 11:08:17 -07:00
Daniel D. Daugherty
54c04bca93 6918421: 1/1 in-process JVM now ignores preset Windows unhandled exception filter
Add support for chaining Windows UnhandledExceptionFilter handlers

Reviewed-by: kamg, dholmes, never, acorn, ikrylov
2010-02-02 10:37:32 -07:00
Paul Hohensee
ce423c9e98 6843629: Make current hotspot build part of jdk5 control build
Source changes for older compilers plus makefile changes.

Reviewed-by: xlu
2009-12-16 12:54:49 -05:00
David Holmes
10232cb341 6822370: ReentrantReadWriteLock: threads hung when there are no threads holding onto the lock (Netra x4450)
This day one bug is caused by missing memory barriers in various Parker::park() paths that can result in lost wakeups and hangs.

Reviewed-by: dice, acorn
2009-12-01 22:29:02 -05:00
Gary Benson
5473f394c6 6890308: integrate zero assembler hotspot changes
Reviewed-by: never
2009-10-13 12:04:21 -07:00
Abhijit Saha
42e578e5cc 6821003: Update hotspot windows os_win32 for windows 7
Reviewed-by: xlu
2009-08-28 08:54:28 -07:00
Vladimir Kozlov
ab7a29cdcc Merge 2009-08-06 09:37:26 -07:00
Coleen Phillimore
76a4e2a8c1 Merge 2009-07-30 15:06:19 -04:00
Xiomara Jayasena
a63ef10004 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:40 -07:00
Vladimir Kozlov
2641db378b 6863420: os::javaTimeNanos() go backward on Solaris x86
Use new atomic long load method Atomic::load() to load max_hrtime.

Reviewed-by: never, ysr, johnc, phh, dcubed, acorn
2009-07-26 16:40:14 -07:00
Poonam Bajaj
fea09e9cd0 6840305: Discrepancy in system memory details (when 4G or greater) reported by JVM and Windows OS
GlobalMemoryStatus() does not report correct memory usage when the system has more than 4gb of RAM. GlobalMemoryStatusEx() should be used in place of GlobalMemoryStatus().

Reviewed-by: kamg, coleenp
2009-07-16 18:21:40 -07:00
Igor Veresov
702a13b785 6840196: NUMA allocator: crash in fastdebug during startup on Linux
With libnuma >1.2 explicity use 1.1 symbols

Reviewed-by: ysr
2009-05-12 15:55:56 -07:00
Igor Veresov
dacaa6b65d 6838842: NUMA allocator: Segfault during startup on Linux
Restored os::free_memory() semantics

Reviewed-by: apetrusenko
2009-05-08 15:20:10 -07:00
Coleen Phillimore
2e43a0450f 6830069: UseLargePages is broken on Win64
Making VirtualAlloc/VirtualProtect two calls for PAGE_EXECUTE_READWRITE doesn't work for MEM_LARGE_PAGES.

Reviewed-by: xlu, kvn, jcoomes
2009-04-21 16:12:51 -04:00
Paul Hohensee
4be7c3c672 6819213: revive sun.boot.library.path
Support multiplex and mutable sun.boot.library.path

Reviewed-by: acorn, dcubed, xlu
2009-04-01 16:38:01 -04:00
Coleen Phillimore
cec3a034d1 6541756: Reduce executable C-heap
Add executable parameters to reserve_memory and commit_memory to reduce executable memory to only the Code Heap.

Reviewed-by: xlu, kvn, acorn
2009-03-25 14:19:20 -04:00
Vladimir Kozlov
41463d1d3a Merge 2009-03-19 09:13:24 -07:00