351 Commits

Author SHA1 Message Date
Jon Masamitsu
9050363747 Merge 2011-04-22 09:26:09 -07:00
Andrew Haley
cf6f747d17 7034464: Support transparent large pages on Linux
Support transparent huge pages on Linux available since 2.6.38

Reviewed-by: iveresov, ysr
2011-04-20 17:12:04 -07:00
Zhengyu Gu
462140d52d 7016797: Hotspot: securely/restrictive load dlls and new API for loading system dlls
Created Windows Dll wrapped to handle jdk6 and jdk7 platform requirements, also provided more restictive Dll search orders for Windows system Dlls.

Reviewed-by: acorn, dcubed, ohair, alanb
2011-04-15 09:34:43 -04:00
Zhengyu Gu
b3eb7daed6 7033100: CreateMinidumpOnCrash does not work for failed asserts
Passing NULL as MINIDUMP_EXCEPTION_INFORMATION when calling MiniDumpWriteDump when crash is due to assertion instead of real exception to avoid creating zero-length mini dump file.

Reviewed-by: acorn, dcubed, poonam, coleenp
2011-04-14 11:50:36 -04:00
Coleen Phillimore
3c4d3002f2 Merge 2011-04-12 14:18:53 -07:00
John Coomes
2af4bb66d4 6791672: enable 1G and larger pages on solaris
Reviewed-by: ysr, iveresov, johnc
2011-08-17 10:32:53 -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
Dmitry Samersoff
52bf12aead 7017193: Small memory leak in get_stack_bounds os::create_stack_guard_pages
Getline() returns -1 but still allocate memory for str

Reviewed-by: dcubed, coleenp
2011-03-30 19:38:07 +04:00
David Holmes
5b717e764a 6535709: interrupt of wait()ing thread isn't triggerring InterruptedException - test intwait3
Only clear the interrupt state if we will report that it was set

Reviewed-by: dcubed, alanb, phh, coleenp, dice
2011-03-21 22:16:19 -04:00
Coleen Phillimore
c912c29690 7019165: Incorrect symbols in pstack output after SymbolTable changes
And out lsb which is set for symbols in constant pool slots to distinguish them from strings

Reviewed-by: phh, dholmes, never, dcubed
2011-03-16 14:57:49 -04:00
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