391 Commits

Author SHA1 Message Date
Staffan Larsen
97e74a3862 7023323: Build failure on VS2003: IsDebuggerPresent not found
#define _WIN32_WINNT 0x500

Reviewed-by: ohrstrom, hosterda, coleenp
2011-03-02 09:41:26 +01:00
Robert Ottenhag
1344f54bde Merge 2011-02-28 15:35:45 -08:00
Staffan Larsen
cc6f461357 7022037: Pause when exiting if debugger is attached on windows
Reviewed-by: dsamersoff, kamg, hosterda
2011-02-28 14:19:52 +01:00
Vladimir Kozlov
0ea15ed320 Merge 2011-02-23 11:18:16 -08:00
Daniel D. Daugherty
5d5154fbea 6954420: 2/4 jps shows "process information unavailable" sometimes
Make sure the backing store file is flushed in create_sharedmem_resources() and get_user_name_slow() no longer checks the size of the backing store file.

Reviewed-by: briand, swamyv, acorn, poonam
2011-02-15 19:00:22 -08:00
Christian Tornqvist
d30b5f01d3 7018366: hotspot/runtime_erro Fix for 7014918 does not build using MVC 2003
Looking at API_VERSION_NUMBER define to see what version of dbghelp.h/imagehlp.h is included to determine what MINIDUMP_TYPEs are defined in the header file

Reviewed-by: acorn, brutisso, sla
2011-02-10 12:55:56 +01:00
Vladimir Kozlov
ddd4d3ad73 Merge 2011-02-14 14:36:29 -08:00
Tom Rodriguez
a7f9351b5d 7018101: os::dll_address_to_function_name returning wrong answers in 64 bit
Reviewed-by: acorn, kvn, dsamersoff
2011-02-14 11:46:58 -08:00
Christian Tornqvist
237866941a 7014918: Improve core/minidump handling in Hotspot
Added Minidump support on Windows, enabled large page core dumps when coredump_filter is present and writing out path/rlimit for core dumps.

Reviewed-by: poonam, dsamersoff, sla, coleenp
2011-02-09 11:08:10 +01:00
Bob Vandette
b0d545a4e4 Merge 2011-02-02 11:54:26 -05:00
Bob Vandette
31e3fe4a98 7016023: Enable building ARM and PPC from src/closed repository
Reviewed-by: dholmes, bdelsart
2011-02-02 11:35:26 -05: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
Coleen Phillimore
7b4f8073f0 6990754: Use native memory and reference counting to implement SymbolTable
Move symbols from permgen into C heap and reference count them

Reviewed-by: never, acorn, jmasa, stefank
2011-01-27 16:11:27 -08:00
Coleen Phillimore
8d210c170e 7009828: Fix for 6938627 breaks visualvm monitoring when -Djava.io.tmpdir is defined
Change get_temp_directory() back to /tmp and %TEMP% like it always was and where the tools expect it to be.

Reviewed-by: phh, dcubed, kamg, alanb
2011-01-12 13:59:18 -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
Paul Hohensee
7b0134a7cb 7003271: Hotspot should track cumulative Java heap bytes allocated on a per-thread basis
Track allocated bytes in Thread's, update on TLAB retirement and direct allocation in Eden and tenured, add JNI methods for ThreadMXBean.

Reviewed-by: coleenp, kvn, dholmes, ysr
2011-01-07 10:42:32 -05:00
Christian Thalinger
84f5de835b Merge 2011-01-07 03:41:07 -08:00
Alan Bateman
6f2c2c3272 7009975: Large file support broken in hs20-b04
Reviewed-by: phh, acorn, kamg
2011-01-07 03:38:19 -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
be59fe6c5f Merge 2010-12-22 16:52:02 -05:00
Coleen Phillimore
1b618f6415 Merge 2010-12-22 12:24:40 -05:00
Zhengyu Gu
489367a961 Merge 2010-12-22 11:52:12 -05:00
Zhengyu Gu
7098ab98d5 6961186: Better VM handling of unexpected exceptions from application native code
Trap uncaught C++ exception on Windows and Solaris and generate hs_err report.

Reviewed-by: coleenp, bobv, dholmes
2010-12-22 11:24:21 -05:00
David Holmes
b5542c1c40 7008444: Remove unnecessary include of stdint.h in java_md.c
Remove unnecessary include of stdint.h in java_md.c

Reviewed-by: brutisso, kvn
2010-12-21 23:39:42 -05:00
Bob Vandette
178b7bb4c1 7007769: VM crashes with SIGBUS writing PerfData if tmp space is full
Fill perfdata file with zeros to verify available disk space

Reviewed-by: coleenp, kamg
2010-12-20 14:30:24 -05:00
David Holmes
156ee8c453 7003707: need to remove (some) system include files from the HotSpot header files
Move socket_available into os_linux.cpp to avoid inclusion of ioctl.h in os_linux.inline.hpp

Reviewed-by: coleenp, stefank, ikrylov
2010-12-16 20:57:03 -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
Coleen Phillimore
b2bc7d218f Merge 2010-12-16 09:31:55 -05:00
Staffan Larsen
c299b4709f 7006354: Updates to Visual Studio project creation and development launcher
Updates to Visual Studio project creation and development launcher

Reviewed-by: stefank, coleenp
2010-12-15 07:11:31 -08:00
Zhengyu Gu
86f7ad735d Merge 2010-12-11 13:46:36 -05:00
Zhengyu Gu
61a4658b22 7003748: Decode C stack frames when symbols are presented (PhoneHome project)
Implemented in-process C native stack frame decoding when symbols are available.

Reviewed-by: coleenp, never
2010-12-11 13:20:56 -05:00
Igor Veresov
a9bee9ec34 Merge 2010-12-08 17:50:49 -08:00
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