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
Robert Ottenhag
3447053144
Merge
2011-02-11 05:40:41 -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
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
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
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
Tom Rodriguez
84536ec263
6809483: hotspot:::method_entry are not correctly generated for "method()V"
...
Reviewed-by: iveresov, twisti
2011-01-21 13:01:02 -08:00
Antonios Printezis
14f4450d25
7013718: G1: small fixes for two assert/guarantee failures
...
Two small fixes to deal with a guarantee failure (the marking thread should join the SuspendibleThreadSet before calling a method that does pause prediction work so that said method is never called during a pause) and an assert failure (an assert is too strong).
Reviewed-by: iveresov, johnc
2011-01-21 11:30:22 -05:00
Christian Thalinger
32d59f1ed0
Merge
2011-01-21 01:16:13 -08:00
John Cuthbertson
d31ff8a886
Merge
2011-01-20 13:57:12 -08:00
Christian Thalinger
5e35df892d
7011839: JSR 292 turn on escape analysis when using invokedynamic
...
Currently escape analysis is turned off when EnableInvokeDynamic is true.
Reviewed-by: jrose, kvn
2011-01-20 08:25:22 -08:00
Antonios Printezis
8bce4a6620
6977804: G1: remove the zero-filling thread
...
This changeset removes the zero-filling thread from G1 and collapses the two free region lists we had before (the "free" and "unclean" lists) into one. The new free list uses the new heap region sets / lists abstractions that we'll ultimately use it to keep track of all regions in the heap. A heap region set was also introduced for the humongous regions. Finally, this change increases the concurrency between the thread that completes freeing regions (after a cleanup pause) and the rest of the system (before we'd have to wait for said thread to complete before allocating a new region). The changest also includes a lot of refactoring and code simplification.
Reviewed-by: jcoomes, johnc
2011-01-19 19:30:42 -05:00
Keith McGuigan
272d7eaffc
7012505: BreakpointWithFullGC.sh fails with Internal Error (src/share/vm/oops/methodOop.cpp:220)
...
Rebuild breakpoint cache at gc_epilogue instead of during oops_do
Reviewed-by: dcubed, ysr, coleenp
2011-01-19 13:51:53 -08:00
Tom Rodriguez
f028816786
7013008: 2/3 assert(method == NULL || check_method(method, bcp)) failed: bcp must point into method
...
The Relocator should pass a NULL methodOop when rewriting since its resource array can never contain breakpoints.
Reviewed-by: dcubed, kvn, coleenp
2011-01-19 08:16:45 -08:00