dholmes [Thu, 16 Dec 2010 20:57:03 -0500] rev 7458
7003707: need to remove (some) system include files from the HotSpot header files
Summary: move socket_available into os_linux.cpp to avoid inclusion of ioctl.h in os_linux.inline.hpp
Reviewed-by: coleenp, stefank, ikrylov
ysr [Thu, 16 Dec 2010 12:56:51 -0800] rev 7457
Merge
ysr [Thu, 16 Dec 2010 09:14:34 -0800] rev 7456
Merge
tonyp [Tue, 14 Dec 2010 16:19:44 -0500] rev 7455
7000559: G1: assertion failure !outer || (full_collections_started == _full_collections_completed + 1)
Summary: The concurrent marking thread can complete its operation and increment the full GC counter during a Full GC. This causes the nesting of increments to the start and end of Full GCs that we are expecting to be wrong. the fix is for the marking thread to join the suspendible thread set before incrementing the counter so that it's blocked until the Full GC (or any other safepoint) is finished. The change also includes some minor code cleanup (I renamed a parameter).
Reviewed-by: brutisso, ysr
coleenp [Thu, 16 Dec 2010 09:31:55 -0500] rev 7454
Merge
sla [Wed, 15 Dec 2010 08:03:54 -0800] rev 7453
Merge
sla [Wed, 15 Dec 2010 07:11:31 -0800] rev 7452
7006354: Updates to Visual Studio project creation and development launcher
Summary: Updates to Visual Studio project creation and development launcher
Reviewed-by: stefank, coleenp
stefank [Wed, 15 Dec 2010 05:43:54 -0800] rev 7451
7006659: temporary adlc files are added to the build variables
Summary: Don't recurse into sub-directories when looking for source files.
Reviewed-by: never, brutisso
coleenp [Tue, 14 Dec 2010 15:10:52 -0500] rev 7450
7006471: fix for 6988439 crashes when pending list lock is null
Summary: missing null check in owns_pending_list_lock() because this can be called before pending_list_lock is initialized.
Reviewed-by: never, kvn
coleenp [Mon, 13 Dec 2010 14:46:51 -0800] rev 7449
Merge
zgu [Sat, 11 Dec 2010 13:46:36 -0500] rev 7448
Merge
zgu [Sat, 11 Dec 2010 13:20:56 -0500] rev 7447
7003748: Decode C stack frames when symbols are presented (PhoneHome project)
Summary: Implemented in-process C native stack frame decoding when symbols are available.
Reviewed-by: coleenp, never
coleenp [Fri, 10 Dec 2010 12:13:03 -0500] rev 7446
6988439: Parallel Class Loading test deadlock involving MethodData_lock and Pending List Lock
Summary: Don't acquire methodData_lock while holding pending list lock
Reviewed-by: kvn, never, ysr
dholmes [Thu, 09 Dec 2010 20:12:06 -0500] rev 7445
7005007: Refine use of ALT_COMPILER_PATH to avoid conflict with JPRT usage
Summary: Check for CROSS_COMPILE_ARCH being set as an indicator to use ALT_COMPILER_PATH
Reviewed-by: acorn, ohair
kamg [Thu, 09 Dec 2010 15:04:26 -0500] rev 7444
7004582: Add GetThisObject() function to JVMTI 1.2
Summary: Add 'GetThisObject' function
Reviewed-by: never, coleenp
dsamersoff [Thu, 09 Dec 2010 17:53:22 +0300] rev 7443
6989076: JVM crashes in klassItable::initialize_itable_for_interface
Summary: hotspot should check protection attribute besides the name and signature of the method when constructing vtable.
Reviewed-by: dcubed
iveresov [Wed, 15 Dec 2010 23:38:10 -0800] rev 7442
Merge
never [Mon, 13 Dec 2010 22:41:03 -0800] rev 7441
7004940: CTW: assert(!def_outside->member(r)) failed: Use of external LRG overlaps the same LRG
Reviewed-by: kvn, twisti
kvn [Fri, 10 Dec 2010 14:14:02 -0800] rev 7440
6993125: runThese crashes with assert(Thread::current()->on_local_stack((address)this))
Summary: add another ResourceObj debug field to distinguish garbage
Reviewed-by: dholmes, coleenp
iveresov [Wed, 08 Dec 2010 17:50:49 -0800] rev 7439
Merge
iveresov [Wed, 08 Dec 2010 02:36:36 -0800] rev 7438
7005241: C1: SEGV in java.util.concurrent.LinkedTransferQueue.xfer() with compressed oops
Summary: Implementation of the CAS primitive for x64 compressed oops was incorrect. It kills rscratch2 register (r11), which is allocatable in C1. Also, we don't need to restore cmpval as it's never used after that, so we need only one temporary register, which can be scratch1.
Reviewed-by: kvn, never
kvn [Tue, 07 Dec 2010 11:00:02 -0800] rev 7437
7004925: CTW: assert(nbits == 32 || -(1 << nbits-1) <= x && x < ( 1 << nbits-1)) failed: value out of range
Summary: Set offset in register if it does not fit 13 bits.
Reviewed-by: iveresov
jrose [Fri, 03 Dec 2010 15:53:57 -0800] rev 7436
7001379: bootstrap method data needs to be moved from constant pool to a classfile attribute
Reviewed-by: twisti
never [Fri, 03 Dec 2010 12:14:33 -0800] rev 7435
7004530: casx used for 32 bit cas after 7003554
Reviewed-by: kvn, iveresov
twisti [Fri, 03 Dec 2010 06:14:37 -0800] rev 7434
7003798: test/compiler/6991596 fails with true != false
Summary: The test of 6991596 fails on SPARCV9.
Reviewed-by: kvn, never, jrose
twisti [Fri, 03 Dec 2010 01:34:31 -0800] rev 7433
6961690: load oops from constant table on SPARC
Summary: oops should be loaded from the constant table of an nmethod instead of materializing them with a long code sequence.
Reviewed-by: never, kvn
iveresov [Thu, 02 Dec 2010 17:21:12 -0800] rev 7432
7003554: (tiered) assert(is_null_object() || handle() != NULL) failed: cannot embed null pointer
Summary: C1 with profiling doesn't check whether the MDO has been really allocated, which can silently fail if the perm gen is full. The solution is to check if the allocation failed and bailout out of inlining or compilation.
Reviewed-by: kvn, never
twisti [Thu, 02 Dec 2010 01:02:55 -0800] rev 7431
6998985: faulty generic arraycopy on windows x86_64: 4th arg overwritten with oop
Reviewed-by: kvn, never
never [Wed, 01 Dec 2010 15:47:52 -0800] rev 7430
6875026: CTW failure jdk6_18/hotspot/src/share/vm/c1/c1_LinearScan.cpp:5486
Reviewed-by: kvn, iveresov
never [Wed, 01 Dec 2010 10:16:31 -0800] rev 7429
7002666: eclipse CDT projects crash with compressed oops
Reviewed-by: kvn, twisti
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>