iveresov [Tue, 30 Nov 2010 23:14:25 -0800] rev 7428
Merge
iveresov [Tue, 30 Nov 2010 23:23:40 -0800] rev 7427
6985015: C1 needs to support compressed oops
Summary: This change implements compressed oops for C1 for x64 and sparc. The changes are mostly on the codegen level, with a few exceptions when we do access things outside of the heap that are uncompressed from the IR. Compressed oops are now also enabled with tiered.
Reviewed-by: twisti, kvn, never, phh
twisti [Tue, 30 Nov 2010 09:53:04 -0800] rev 7426
7001363: java/dyn/InvokeDynamic should not be a well-known class in the JVM
Summary: Because of the removal of language support, the JDK 7 API for JSR 292 no longer includes a public class named java/dyn/InvokeDynamic.
Reviewed-by: jrose, kvn
iveresov [Wed, 15 Dec 2010 20:43:36 -0800] rev 7425
7007229: Fix warnings with VS2010 in compressedStream.cpp
Summary: An interference between a fix for 6993125 and disabled optimization in compressedStream.cpp produces a warning with VS2010. Disable the warning for the code fragment for which the optimizations are disabled.
Reviewed-by: kvn
trims [Thu, 16 Dec 2010 20:35:33 -0800] rev 7424
Merge
trims [Fri, 10 Dec 2010 18:05:39 -0800] rev 7423
7006221: Bump the HS20 build number to 04
Summary: Update the HS20 build number to 04
Reviewed-by: jcoomes
trims [Fri, 10 Dec 2010 17:59:46 -0800] rev 7422
Merge
ysr [Thu, 09 Dec 2010 21:47:58 -0800] rev 7421
Merge
ysr [Thu, 09 Dec 2010 09:22:57 -0800] rev 7420
7005259: CMS: BubbleUpRef asserts referent(obj)->is_oop() failed: Enqueued a bad referent
Summary: Relaxed the assert by allowing NULL referents when discovery may be concurrent.
Reviewed-by: johnc, jcoomes
ysr [Tue, 07 Dec 2010 21:55:53 -0800] rev 7419
7001033: assert(gch->gc_cause() == GCCause::_scavenge_alot || !gch->incremental_collection_failed())
7002546: regression on SpecJbb2005 on 7b118 comparing to 7b117 on small heaps
Summary: Relaxed assertion checking related to incremental_collection_failed flag to allow for ExplicitGCInvokesConcurrent behaviour where we do not want a failing scavenge to bail to a stop-world collection. Parameterized incremental_collection_will_fail() so we can selectively use, or not use, as appropriate, the statistical prediction at specific use sites. This essentially reverts the scavenge bail-out logic to what it was prior to some recent changes that had inadvertently started using the statistical prediction which can be noisy in the presence of bursty loads. Added some associated verbose non-product debugging messages.
Reviewed-by: johnc, tonyp
johnc [Tue, 07 Dec 2010 16:44:34 -0800] rev 7418
Merge
johnc [Tue, 07 Dec 2010 16:18:45 -0800] rev 7417
6994628: G1: Test gc/gctests/FinalizeTest05 fails (one live object is finalized)
Summary: The Solaris Studio 12 update 1 C++ compiler was incorrectly re-ordering the reads of an object's mark word in oopDesc::forward_to_atomic(). This opened a small window where one thread could execute the successful CAS path even though another thread had already successfully forwarded the object. This could result in an object being copied twice. The code in oopDesc::forward_to_atomic() was changed to read the mark word once.
Reviewed-by: ysr, tonyp
tonyp [Tue, 07 Dec 2010 16:47:42 -0500] rev 7416
6994056: G1: when GC locker is active, extend the Eden instead of allocating into the old gen
Summary: Allow the eden to the expanded up to a point when the GC locker is active.
Reviewed-by: jwilhelm, johnc, ysr, jcoomes
kevinw [Wed, 08 Dec 2010 04:50:35 -0800] rev 7415
7003789: PTRACE_GETREGS problems with SA on Linux.
Summary: ifdef definitions for PTRACE_GETREGS_REQ clarified
Reviewed-by: dholmes
sla [Tue, 07 Dec 2010 03:15:45 -0800] rev 7414
6539281: -Xcheck:jni should validate char* argument to ReleaseStringUTFChars
Summary: Tag allocated memory with a magic value and verify when releasing.
Reviewed-by: phh, stefank
kamg [Mon, 06 Dec 2010 20:21:15 -0500] rev 7413
7003782: Update JVMTI version to 1.2 for jdk7
Summary: Update minor version to 1.2 for jdk7
Reviewed-by: phh, dcubed
coleenp [Mon, 06 Dec 2010 15:37:00 -0500] rev 7412
Merge
coleenp [Sat, 04 Dec 2010 00:09:05 -0500] rev 7411
6704010: Internal Error (src/share/vm/interpreter/interpreterRuntime.cpp:1106)
Summary: Fixed a race condition in the assertion caused by an unguarded, concurrent access to a GrowableArray object.
Reviewed-by: coleenp, dholmes, dsamersoff
Contributed-by: volker.simonis@gmail.com
sla [Thu, 02 Dec 2010 05:45:54 -0800] rev 7410
6981484: Update development launcher
Summary: Add new development launcher called hotspot(.exe)
Reviewed-by: coleenp
stefank [Thu, 02 Dec 2010 20:01:47 +0100] rev 7409
7003786: sort Obj_Files before compiling
Summary: Reverted to old sort order on Linux and Solaris.
Reviewed-by: tonyp, coleenp
stefank [Wed, 01 Dec 2010 15:04:06 +0100] rev 7408
7003125: precompiled.hpp is included when precompiled headers are not used
Summary: Added an ifndef DONT_USE_PRECOMPILED_HEADER to precompiled.hpp. Set up DONT_USE_PRECOMPILED_HEADER when compiling with Sun Studio or when the user specifies USE_PRECOMPILED_HEADER=0. Fixed broken include dependencies.
Reviewed-by: coleenp, kvn
bobv [Thu, 02 Dec 2010 14:00:03 -0500] rev 7407
7004217: Remove IA64 workaround re-introduced with CR6953477
Summary: gcc bug worksaround for IA64 no longer needed
Reviewed-by: andrew
coleenp [Wed, 01 Dec 2010 18:32:50 -0500] rev 7406
Merge
ikrylov [Wed, 01 Dec 2010 18:26:32 -0500] rev 7405
6348631: remove the use of the HPI library from Hotspot
Summary: 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
brutisso [Wed, 01 Dec 2010 03:12:35 -0800] rev 7404
7003456: ADLC files not correctly generated on Windows
Summary: Added target architecture parameters to make ADLC build properly
Reviewed-by: never, stefank
ohair [Tue, 30 Nov 2010 18:10:20 -0800] rev 7403
Merge
ohair [Tue, 30 Nov 2010 18:07:18 -0800] rev 7402
6987107: Add variable to add to but not modify non-fcs version string
Reviewed-by: jcoomes, dholmes, andrew, kvn
coleenp [Mon, 29 Nov 2010 15:43:36 -0500] rev 7401
6780143: hs203t003 hits SIGSEGV/EXCEPTION_ACCESS_VIOLATION with -XX:+UseCompressedOops
Summary: Using r12 as temporary register around call_VM trashes heapbase becausecall_VM doesn't always return immediately to following code (eg forward_exception, popframe and early return support).
Reviewed-by: never, kvn
tonyp [Thu, 02 Dec 2010 13:20:39 -0500] rev 7400
7003860: G1: assert(_cur_alloc_region == NULL || !expect_null_cur_alloc_region) fails
Summary: Wrong assumption about expecting the current alloc region expected to be NULL in expand_and_allocate().
Reviewed-by: brutisso, ysr
johnc [Wed, 01 Dec 2010 17:34:02 -0800] rev 7399
6983204: G1: Nightly test nsk/regression/b4958615 failing with +ExplicitGCInvokesConcurrent
Summary: Enable reference discovery during concurrent marking by setting the reference processor field of the concurrent marking closure. Keep reference objects on the discovered reference lists alive during incremental evacuation pauses until they are processed at the end of concurrent marking.
Reviewed-by: ysr, tonyp
tonyp [Tue, 24 Aug 2010 17:24:33 -0400] rev 7398
6974966: G1: unnecessary direct-to-old allocations
Summary: This change revamps the slow allocation path of G1. Improvements include the following: a) Allocations directly to old regions are now totally banned. G1 now only allows allocations out of young regions (with the only exception being humongous regions). b) The thread that allocates a new region (which is now guaranteed to be young) does not dirty all its cards. Each thread that successfully allocates out of a young region is now responsible for dirtying the cards that corresponding to the "block" that just got allocated. c) allocate_new_tlab() and mem_allocate() are now implemented differently and TLAB allocations are only done by allocate_new_tlab(). d) If a thread schedules an evacuation pause in order to satisfy an allocation request, it will perform the allocation at the end of the safepoint so that the thread that initiated the GC also gets "first pick" of any space made available by the GC. e) If a thread is unable to allocate a humongous object it will schedule an evacuation pause in case it reclaims enough regions so that the humongous allocation can be satisfied aftewards. f) The G1 policy is more careful to set the young list target length to be the survivor number +1. g) Lots of code tidy up, removal, refactoring to make future changes easier.
Reviewed-by: johnc, ysr
stefank [Tue, 23 Nov 2010 13:22:55 -0800] rev 7397
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
coleenp [Tue, 23 Nov 2010 15:01:43 -0500] rev 7396
Merge
twisti [Tue, 23 Nov 2010 04:33:42 -0800] rev 7395
7002129: Zero and Shark fixes, 3rd
Summary: 6970683 and 6953144 introduced changes that need to be implemented for Zero and Shark.
Reviewed-by: twisti
Contributed-by: Gary Benson <gbenson@redhat.com>
coleenp [Fri, 19 Nov 2010 23:46:06 -0500] rev 7394
Merge
poonam [Fri, 19 Nov 2010 03:41:50 -0800] rev 7393
6837842: JNI_CreateJavaVM crashes under impersonation
Reviewed-by: acorn, dholmes
zgu [Thu, 18 Nov 2010 14:37:46 -0500] rev 7392
6751923: JNDI wake up when clock_settime() is called
Summary: Ported Chris Phillips' patch from jdk5 to jdk7
Reviewed-by: chrisphi, coleenp
iveresov [Fri, 19 Nov 2010 17:01:34 -0800] rev 7391
Merge
kvn [Thu, 18 Nov 2010 09:52:48 -0800] rev 7390
7000491: assert(false) failed: should be optimized out in SharedRuntime::g1_wb_pre
Summary: Wrong value type is used for NULL store when clearing the detail message of the preallocated exception object.
Reviewed-by: never, iveresov
iveresov [Tue, 16 Nov 2010 15:57:16 -0800] rev 7389
7000349: Tiered reacts incorrectly to C1 compilation failures
Summary: Fix policy reaction to C1 comilation failures, make C1 properly report errors.
Reviewed-by: kvn
kvn [Fri, 12 Nov 2010 09:51:43 -0800] rev 7388
6999491: non-zero COOPs are used when they should not
Summary: HeapBaseMinAddress should be used only for a default heap size calculation.
Reviewed-by: iveresov, jcoomes, dholmes
jmasa [Fri, 19 Nov 2010 13:19:49 -0800] rev 7387
Merge
johnc [Tue, 16 Nov 2010 16:12:28 -0800] rev 7386
Merge
johnc [Tue, 16 Nov 2010 14:07:33 -0800] rev 7385
6978187: G1: assert(ParallelGCThreads> 1 || n_yielded() == _hrrs->occupied()) strikes again
Summary: An evacuation failure while copying the roots caused an object, A, to be forwarded to itself. During the subsequent RSet updating a reference to A was processed causing the reference to be added to the RSet of A's heap region. As a result of adding to the remembered set we ran into the issue described in 6930581 - the sparse table expanded and the RSet scanning code walked the cards in one instance of RHashTable (_cur) while the occupied() counts the cards in the expanded table (_next).
Reviewed-by: tonyp, iveresov
ysr [Tue, 16 Nov 2010 13:58:48 -0800] rev 7384
7000578: CMS: assert(SafepointSynchronize::is_at_safepoint()) failed: Else races are possible
Summary: Weakened assert in onj_is_alive() to allow its use at initialization time when is_at_safepoint() normally reports false; added some related asserts to check order of is_init_completed() after Universe::is_fully_initialized().
Reviewed-by: jcoomes
zgu [Wed, 17 Nov 2010 09:21:51 -0500] rev 7383
Merge
zgu [Fri, 12 Nov 2010 09:37:13 -0500] rev 7382
Merge
kamg [Fri, 05 Nov 2010 09:32:08 -0400] rev 7381
6981737: The java.vm.specification.version property is 1.0, seems like it should be 2.0
Summary: Change property value to 1.<major_version> for major_version >= 7
Reviewed-by: dholmes, acorn
kamg [Wed, 27 Oct 2010 12:53:36 -0400] rev 7380
6865028: Illegal instructions passing verification prior to 'invokespecial Object.<init>'
Summary: Update verifier to conform to spec re: reference vs. 'Object' types
Reviewed-by: dholmes, coleenp
jmasa [Mon, 15 Nov 2010 16:25:14 -0800] rev 7379
Merge
ysr [Thu, 11 Nov 2010 10:42:43 -0800] rev 7378
6998802: ScavengeALot: assert(!gch->incremental_collection_failed()) failed: Twice in a row
Summary: Weaken assert by excluding scavenges resulting from -XX:+ScavengeALot stress-testing option.
Reviewed-by: jmasa, tonyp
ysr [Tue, 09 Nov 2010 10:47:20 -0800] rev 7377
6996613: CompactibleFreeListSpace::print should call CompactibleFreeListSpace::print_on, not Space::print_on
Reviewed-by: tonyp
ysr [Fri, 05 Nov 2010 13:20:37 -0700] rev 7376
6997298: fatal error: must own lock CMS_markBitMap_lock during heap dump
Summary: Since we are at a stop-world pause, the existing CMS-phase checks are sufficient for safety, and the locking check can be safely elided. Elaborated documentation comment to the case where class unloading and verification are disabled, and the query happens when we aren't in the sweeping phase, where the answer "false" would be (almost everywhere) too pessimistic.
Reviewed-by: jmasa, johnc, tonyp
trims [Thu, 16 Dec 2010 20:32:43 -0800] rev 7375
Merge
trims [Fri, 10 Dec 2010 15:46:59 -0800] rev 7374
Merge
trims [Fri, 03 Dec 2010 09:44:09 -0800] rev 7373
Added tag hs20-b03 for changeset a683e80b9ca8
cl [Thu, 16 Dec 2010 18:17:52 -0800] rev 7372
Added tag jdk7-b122 for changeset c601f7238c18
igor [Tue, 21 Dec 2010 14:51:50 -0800] rev 7371
Merge
herrick [Mon, 20 Dec 2010 13:13:52 -0500] rev 7370
Merge
herrick [Sun, 12 Dec 2010 22:56:48 -0500] rev 7369
Merge
igor [Wed, 08 Dec 2010 01:15:17 -0800] rev 7368
Merge
igor [Mon, 06 Dec 2010 00:43:27 -0800] rev 7367
Merge
jqzuo [Tue, 21 Dec 2010 11:43:26 -0500] rev 7366
Merge
jqzuo [Mon, 20 Dec 2010 13:05:23 -0500] rev 7365
Merge