565 Commits

Author SHA1 Message Date
John Coomes
0317c7c485 Merge 2011-03-18 09:03:43 -07:00
Christian Thalinger
51f5142db1 Merge 2011-03-18 01:44:15 -07:00
Y. Srinivas Ramakrishna
7293fabc43 6896099: Integrate CMS heap ergo with default heap sizing ergo
6627787: CMS: JVM refuses to start up with -Xms16m -Xmx16m
7000125: CMS: Anti-monotone young gen sizing with respect to maximum whole heap size specification
7027529: CMS: retire CMSUseOldDefaults flag

Simplify CMS heap sizing code, relying on ergonomic initial sizing consistent with other collectors for the most part, controlling only young gen sizing to rein in pause times. Make CMS young gen sizing default statically cpu-dependant. Remove inconsistencies wrt generation sizing and policy code, allowing for the fixing for 6627787 and 7000125. For 7027529, retire the flag CMSUseOldDefaults which had been introduced as a bridge from JDK 5 to JDK 6 a number of years ago.

Reviewed-by: brutisso, poonam
2011-03-16 10:37:08 -07:00
Daniel D. Daugherty
0c3498d374 7024234: 2/3 jvmti tests fail assert(!_oops_are_stale) failed: oops are stale on Win-AMD64
Move initialization of the '_instance' field to avoid race with ServiceThread start.

Reviewed-by: dholmes, kamg, never, dsamersoff, ysr, coleenp, acorn
2011-03-15 06:35:10 -07:00
John R Rose
6146dffe45 6839872: remove implementation inheritance from JSR 292 APIs
Consolidate runtime support in java.dyn.MethodHandleNatives; include transitional compatibility logic

Reviewed-by: twisti
2011-03-11 22:33:47 -08:00
John R Rose
c506cb0e5b Merge 2011-03-11 21:19:15 -08:00
Jesper Wilhelmsson
aad948f0e8 6820066: Check that -XX:ParGCArrayScanChunk has a value larger than zero
Check that -XX:ParGCArrayScanChunk has a value larger than zero.

Reviewed-by: johnc, jmasa, ysr
2011-03-11 16:35:18 +01:00
Bertrand Delsart
4770417e71 7025485: leverage shared x86-only deoptimization code
Removed an ifdef IA32 around harmless code useful for some ports

Reviewed-by: chrisphi, never
2011-03-10 17:44:32 +01:00
Vladimir Kozlov
fd6487f201 7025742: Can not use CodeCache::unallocated_capacity() with fragmented CodeCache
Use largest_free_block() instead of unallocated_capacity().

Reviewed-by: iveresov, never, ysr
2011-03-09 09:15:16 -08:00
Karen Kinnear
224db84b31 Merge 2011-03-07 09:16:08 -08:00
Igor Veresov
2114527fec 7020403: Add AdvancedCompilationPolicy for tiered
This implements adaptive tiered compilation policy.

Reviewed-by: kvn, never
2011-03-04 15:14:16 -08:00
Vladimir Kozlov
d7802369bc Merge 2011-03-03 23:31:45 -08:00
Coleen Phillimore
3ebf2446ee 7021653: Parfait issue in hotspot/src/share/vm/oops/methodDataOops.hpp
Fix compilation error(s)

Reviewed-by: kvn, phh, jcoomes, dholmes
2011-03-03 19:53:03 -05:00
Coleen Phillimore
c3805bc224 7022999: Can't build with FORCE_TIERED=0
Put UseFastLocking test under #ifdef COMPILER1

Reviewed-by: kvn, phh, never, dcubed
2011-03-03 19:51:36 -05:00
John Coomes
c295eb2515 7018056: large pages not always enabled by default
Reviewed-by: phh, kvn
2011-03-06 11:37:18 -08:00
Igor Veresov
90a153aa38 6627983: G1: Bad oop deference during marking
Bulk zeroing reduction didn't work with G1, because arraycopy would call pre-barriers on uninitialized oops. The solution is to have version of arraycopy stubs that don't have pre-barriers. Also refactored arraycopy stubs generation on SPARC to be more readable and reduced the number of stubs necessary in some cases.

Reviewed-by: jrose, kvn, never
2011-03-01 14:56:48 -08:00
Tom Rodriguez
5432554ecb 6725983: Assertion "method->method_holder())->is_not_initialized(),"method holder must be initialized"
Reviewed-by: kvn, iveresov
2011-03-01 10:27:15 -08:00
Robert Ottenhag
1344f54bde Merge 2011-02-28 15:35:45 -08:00
Christian Thalinger
cd6c0b147e 7012914: JSR 292 MethodHandlesTest C1: frame::verify_return_pc(return_address) failed: must be a return pc
Reviewed-by: never, bdelsart
2011-02-28 06:07:12 -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
Robert Ottenhag
d284715c15 Merge 2011-02-25 03:29:56 -08:00
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
Vladimir Kozlov
0ea15ed320 Merge 2011-02-23 11:18:16 -08: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
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
Antonios Printezis
57d8e5b8ba Merge 2011-02-14 22:21:18 -05:00
Vladimir Kozlov
ddd4d3ad73 Merge 2011-02-14 14:36:29 -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
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
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
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
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
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
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
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