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
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
Tom Rodriguez
477cbff4b6
7019819: bare oop in ciField
...
Reviewed-by: kvn, iveresov
2011-02-15 22:18:33 -08:00
Vladimir Kozlov
ddd4d3ad73
Merge
2011-02-14 14:36:29 -08:00
Tom Rodriguez
add4b5bf69
7018506: CTW swallowing OOMs after symbol changes
...
Reviewed-by: kvn, iveresov, coleenp
2011-02-11 12:05:43 -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
c13062093b
7018849: 7017124 fix broke VM build on some platforms
...
Use atomic load and store in inc_stat_counter() only on SPARC and X86.
Reviewed-by: iveresov
2011-02-10 19:34:48 -08:00
Vladimir Kozlov
5d3ab72d1d
7017746: Regression : C2 compiler crash due to SIGSEGV in PhaseCFG::schedule_early()
...
Add TEMP edges (and KILL projections) before duplicated operands are removed in Expand() methods.
Reviewed-by: never
2011-02-10 14:25:59 -08:00
Igor Veresov
6782422f01
7017434: Tiered needs to support reprofiling
...
Tiered needs to support proper method reprofiling after deopts.
Reviewed-by: kvn
2011-02-09 16:34:34 -08: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
Vladimir Kozlov
287139e5a5
7014874: Incorrect COOPs modes on solaris-{sparcv9,amd64} with ParallelGC
...
Align old gen size down to keep specified heap size.
Reviewed-by: ysr
2011-02-08 16:12:16 -08: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
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
e7c3086ed3
7013538: Java memory leak with escape analysis
...
Don't allocate VectorSet iterator on C heap. Reuse resource storage in EA.
Reviewed-by: never
2011-02-07 10:25:39 -08:00
Vladimir Kozlov
c00a50c8e9
7017240: C2: native memory leak in nsk/regression/b4675027 on windows-x86 in comp mode with G1
...
Add ResourceMark into PhaseIdealLoop::build_and_optimize().
Reviewed-by: never
2011-02-07 09:46:01 -08:00
Robert Ottenhag
9cfcb9eda1
Merge
2011-02-07 08:40:30 -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
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
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
Christian Thalinger
6baa3e1f56
7012339: JSR 292 crash in G1SATBCardTableModRefBS::write_ref_field_pre_work()
...
Reviewed-by: jrose, never
2011-02-01 05:51:24 -08: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
Christian Thalinger
561c090437
7009309: JSR 292: compiler/6991596/Test6991596.java crashes on fastdebug JDK7/b122
...
Reviewed-by: kvn, never
2011-02-01 03:38:44 -08:00
Tom Rodriguez
f78d8f1157
6354181: nsk.logging.stress.threads.scmhml001 fails assertion in "src/share/vm/oops/instanceKlass.cpp, 111"
...
Reviewed-by: jrose, acorn
2011-01-31 17:48:21 -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
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
John Cuthbertson
950858350d
Merge
2011-01-27 13:42:28 -08:00
Christian Thalinger
9208a03ec6
Merge
2011-01-27 14:05:59 -05:00
John Cuthbertson
58ac605fea
Merge
2011-01-26 09:57:42 -08:00
Antonios Printezis
ded092cb70
7014261: G1: RSet-related failures
...
A race between the concurrent cleanup thread and the VM thread while it is processing the "expanded sparse table list" causes both threads to try to free the same sparse table entry and either causes one of the threads to fail or leaves the entry in an inconsistent state. The solution is purge all entries on the expanded list that correspond go regions that are being cleaned up.
Reviewed-by: brutisso, johnc
2011-01-25 17:58:19 -05:00
John Cuthbertson
ecdb5848eb
6608385: G1: need to support parallel reference processing
...
Implement support for ParallelRefProcEnabled in the reference processing that takes place at the end of G1 concurrent marking.
Reviewed-by: tonyp, ysr
2011-01-25 10:56:22 -08:00
David Holmes
5573dccf96
6566340: Restore use of stillborn flag to signify a thread that was stopped before it started
...
Restore use of stillborn flag
Reviewed-by: acorn, alanb
2011-01-25 00:14:21 -05:00
Tom Rodriguez
4739203b6c
7008809: should report the class in ArrayStoreExceptions from compiled code
...
Reviewed-by: iveresov, twisti
2011-01-24 13:34:18 -08:00
Tom Rodriguez
0f21994955
Merge
2011-01-21 13:03:13 -08:00