Commit Graph

2100 Commits

Author SHA1 Message Date
David Holmes
e6b07111ea 7021953: Remove flags from globals.hpp inadvertently dragged in by 7016023
Removed erroneous flags

Reviewed-by: kvn, dcubed
2011-02-24 21:38:37 -05:00
Robert Ottenhag
c4270e4517 Merge 2011-02-21 04:49:17 -08:00
Coleen Phillimore
3899f14f1f 7019557: SharedMiscDataSize too small for 64-bit fastdebug JVM
Increase default SharedMiscDataSize

Reviewed-by: dcubed, kamg
2011-02-18 18:26:17 -05:00
Erik Trimble
8e3541f4fa Merge 2011-02-16 17:26:20 -08:00
Keith McGuigan
c2ea25db39 7019718: make error reporting flags product instead of diagnostic
See synopsis

Reviewed-by: acorn, coleenp
2011-02-16 16:58:24 -08:00
Coleen Phillimore
5cef1a1a84 Merge 2011-02-16 16:25:57 -08:00
Volker Simonis
5e83438315 7019689: Non-dependent name is found in dependent base class although it should be rejected
Fix hashtable.hpp to qualify non-dependant name with "this"

Reviewed-by: phh, never, poonam
2011-02-16 17:12:31 -05:00
Coleen Phillimore
9c5679fe53 6840152: JVM crashes when heavyweight monitors are used
Turn off biased locking if !UseFastLocking or UseHeavyMonitors options are requested.

Reviewed-by: phh, never, dcubed, dholmes
2011-02-16 11:34:44 -05:00
David Holmes
89f51d79cc Merge 2011-02-16 01:42:00 -05: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
Antonios Printezis
57d8e5b8ba Merge 2011-02-14 22:21:18 -05:00
David Holmes
74c63197eb 7018429: JPRT: Update Makefile to use ALT_JDK_TARGET_IMPORT_PATH for copying JDK
Set JDK_IMPORT_PATH to  ALT_JDK_TARGET_IMPORT_PATH if it is defined

Reviewed-by: phh, ohair
2011-02-14 19:27:36 -05:00
Robert Ottenhag
231caaed9b Merge 2011-02-14 03:19:33 -08:00
Coleen Phillimore
876fbcb9f7 7019157: errorHandler doesn't compile with super old gcc without precompiled headers
Old gccs don't support precompiled headers so have to supply includes

Reviewed-by: phh, kamg
2011-02-12 10:28:34 -05:00
Erik Trimble
72ec986b22 7019104: Bump the HS21 build number to 02
Update the HS21 build number to 02

Reviewed-by: jcoomes
2011-02-11 15:32:03 -08:00
Erik Trimble
f57a34b353 Merge 2011-02-11 15:31:58 -08:00
Erik Trimble
8c80661027 Added tag hs21-b01 for changeset 251814950cb2 2011-02-11 14:30:27 -08:00
Robert Ottenhag
3447053144 Merge 2011-02-11 05:40:41 -08:00
Stefan Karlsson
311bd2a9a9 7018257: jmm_DumpThreads allocates into permgen
Don't allocate in permgen

Reviewed-by: ysr, sla
2011-02-11 14:15:16 +01:00
Christine Lu
97dbe91443 Added tag jdk7-b129 for changeset 251814950cb2 2011-02-10 16:24:29 -08:00
Y. Srinivas Ramakrishna
2c35cde750 7018302: newly added assert related to size of constantPoolOop causes secondary assertions or crashes
6912621 used a raw oop in the newly added assert following an allocation attempt that could result in a GC.

Reviewed-by: jmasa
2011-02-10 14:48:07 -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
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
John Cuthbertson
7334402db5 7017008: G1: Turn on compressed oops by default
Normally compressed oops is enabled when the maximum heap size is under a certain limit, except when G1 is also enabled. Remove this limitation. Also re-enable GCBasher testing with G1 on 64 bit windows in jprt.

Reviewed-by: jcoomes, brutisso, tonyp
2011-02-09 09:43:02 -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
Mandy Chung
8ff932b950 Merge 2011-02-08 22:27:57 -08:00
Coleen Phillimore
f5db22169b Merge 2011-02-08 19:50:41 -05:00
Keith McGuigan
9acb43fa6d 7003401: Implement VM error-reporting functionality on erroneous termination
Add support for distribution-specific error reporting

Reviewed-by: coleenp, phh, jcoomes, ohair
2011-02-08 17:20:45 -05:00
Mandy Chung
9eecf686c5 7017673: Remove setting of the sun.jkernel.DownloadManager as a boot classloader hook
Reviewed-by: alanb, dcubed, coleenp
2011-02-08 09:11:37 -08:00
Stefan Karlsson
0c395c7799 7014851: Remove unused parallel compaction code
Removed.

Reviewed-by: jcoomes, brutisso
2011-02-08 12:33:19 +01:00
Y. Srinivas Ramakrishna
7eccb460db 6912621: iCMS: Error: assert(_markBitMap.isMarked(addr + 1),"Missing Printezis bit?")
Fix block_size_if_printezis_bits() so it does not expect the bits, only uses them when available. Fix block_size_no_stall() so it does not stall when the bits are missing such cases, letting the caller deal with zero size returns. Constant pool cache oops do not need to be unparsable or conc_unsafe after their klass pointer is installed. Some cosmetic clean-ups and some assertion checking for conc-usafety which, in the presence of class file redefinition, has no a-priori time boundedness, so all GCs must be able to safely deal with putatively conc-unsafe objects in a stop-world pause.

Reviewed-by: jmasa, johnc
2011-02-07 22:19:57 -08:00
Coleen Phillimore
c4ddbc7c87 6472925: OutOfMemoryError fails to generate stack trace as it now ought
Print an additional message for OOM during stack trace printing

Reviewed-by: dholmes, phh, acorn, kamg, dcubed
2011-02-07 14:36:26 -05:00
Robert Ottenhag
9cfcb9eda1 Merge 2011-02-07 08:40:30 -08:00
Erik Trimble
f34f98b653 Merge 2011-02-04 16:29:41 -08:00
Erik Trimble
3e40f4947e Merge 2011-02-03 23:26:25 -08:00
Yasumasa Suenaga
60418bbde3 7015169: GC Cause not always set
Sometimes the gc cause was not always set. This caused JStat to print the wrong information.

Reviewed-by: tonyp, ysr
2011-02-03 20:49:09 -08:00
Coleen Phillimore
2fcd065a0d Merge 2011-02-03 20:30:19 -08:00
Coleen Phillimore
4940eacbf7 7017009: Secondary out of c-heap memory error reporting out of memory
Use os::malloc() to allocate buffer to read elf symbols and check for null

Reviewed-by: zgu, phh, dsamersoff, dholmes, dcubed
2011-02-03 21:30:08 -05:00
Christine Lu
924a172085 Added tag jdk7-b128 for changeset 5eecea832c83 2011-02-03 17:22:06 -08:00
Paul Hohensee
5b37c4faec 7016998: gcutil class LinearLeastSquareFit doesn't initialize some of its fields
Initialize _sum_x_squared, _intercept and _slope in constructor.

Reviewed-by: bobv, coleenp
2011-02-03 16:06:01 -05:00
Coleen Phillimore
052aed6276 7012088: jump to 0 address because of lack of memory ordering in SignatureHandlerLibrary::add
Write method signature handler under lock to prevent race with growable array resizing

Reviewed-by: dsamersoff, dholmes
2011-02-02 18:38:40 -05:00
Keith McGuigan
8a44936bb0 6766644: Redefinition of compiled method fails with assertion "Can not load classes with the Compiler thread"
Defer posting events from the compiler thread: use service thread

Reviewed-by: coleenp, dholmes, never, dcubed
2011-02-02 14:38:01 -05:00
John Cuthbertson
3373070e7f 6923430: G1: assert(res != 0,"This should have worked.")
7007446: G1: expand the heap with a single step, not one region at a time

Changed G1CollectedHeap::expand() to expand the committed space by calling VirtualSpace::expand_by() once rather than for every region in the expansion amount. This allows the success or failure of the expansion to be determined before creating any heap regions. Introduced a develop flag G1ExitOnExpansionFailure (false by default) that, when true, will exit the VM if the expansion of the committed space fails. Finally G1CollectedHeap::expand() returns a status back to it's caller so that the caller knows whether to attempt the allocation.

Reviewed-by: brutisso, tonyp
2011-02-02 10:41:20 -08: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
Erik Trimble
d31a60e26f Merge 2011-02-01 18:57:53 -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
Bengt Rutisson
1c643e68f0 6789220: CMS: intermittent timeout running nsk/regression/b4796926
The reference handler java thread and the GC could dead lock

Reviewed-by: never, johnc, jcoomes
2011-02-01 14:05:46 +01:00
Y. Srinivas Ramakrishna
1046ee088f 6999988: CMS: Increased fragmentation leading to promotion failure after CR#6631166 got implemented
Fix calculation of _desired, in free list statistics, which was missing an intended set of parentheses.

Reviewed-by: poonam, jmasa
2011-02-01 10:02:01 -08:00
Antonios Printezis
d18d952e56 7014679: G1: deadlock during concurrent cleanup
There's a potential deadlock between the concurrent cleanup thread and the GC workers that are trying to allocate and waiting for more free regions to be made available.

Reviewed-by: iveresov, jcoomes
2011-01-31 16:28:40 -05:00