Y. Srinivas Ramakrishna
7c3fda39e6
Merge
2010-12-16 12:56:51 -08:00
Tom Rodriguez
b80ad03e3f
6839888: Array overrun in vm adlc
...
Reviewed-by: kvn, iveresov
2010-12-16 12:47:52 -08:00
Y. Srinivas Ramakrishna
771994b0dc
Merge
2010-12-16 09:14:34 -08:00
Coleen Phillimore
b2bc7d218f
Merge
2010-12-16 09:31:55 -05:00
Igor Veresov
4c405911ef
Merge
2010-12-16 01:46:02 -08:00
Igor Veresov
a4b8804ae0
Merge
2010-12-15 23:38:10 -08:00
Igor Veresov
3ccd57dac4
7007229: Fix warnings with VS2010 in compressedStream.cpp
...
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
2010-12-15 20:43:36 -08:00
Staffan Larsen
5ba47f538b
Merge
2010-12-15 08:03:54 -08:00
Staffan Larsen
c299b4709f
7006354: Updates to Visual Studio project creation and development launcher
...
Updates to Visual Studio project creation and development launcher
Reviewed-by: stefank, coleenp
2010-12-15 07:11:31 -08:00
Stefan Karlsson
c7842c2550
7006659: temporary adlc files are added to the build variables
...
Don't recurse into sub-directories when looking for source files.
Reviewed-by: never, brutisso
2010-12-15 05:43:54 -08:00
Tom Rodriguez
e738b0097a
6765546: Wrong sscanf used to parse CompilerOracle command >= 32 characters could lead to crash
...
Reviewed-by: kvn, iveresov
2010-12-14 23:17:00 -08:00
Antonios Printezis
727333a1a3
7000559: G1: assertion failure !outer || (full_collections_started == _full_collections_completed + 1)
...
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
2010-12-14 16:19:44 -05:00
Christian Thalinger
0563626b3c
7006044: materialize cheap non-oop pointers on 64-bit SPARC
...
After 6961690 we load non-oop pointers for the constant table which could easily be materialized in a few instructions.
Reviewed-by: never, kvn
2010-12-14 12:44:30 -08:00
Coleen Phillimore
18324204ef
7006471: fix for 6988439 crashes when pending list lock is null
...
Missing null check in owns_pending_list_lock() because this can be called before pending_list_lock is initialized.
Reviewed-by: never, kvn
2010-12-14 15:10:52 -05:00
Tom Rodriguez
a5f501c021
7004940: CTW: assert(!def_outside->member(r)) failed: Use of external LRG overlaps the same LRG
...
Reviewed-by: kvn, twisti
2010-12-13 22:41:03 -08:00
Coleen Phillimore
d2481f01f0
Merge
2010-12-13 14:46:51 -08:00
Zhengyu Gu
86f7ad735d
Merge
2010-12-11 13:46:36 -05:00
Zhengyu Gu
61a4658b22
7003748: Decode C stack frames when symbols are presented (PhoneHome project)
...
Implemented in-process C native stack frame decoding when symbols are available.
Reviewed-by: coleenp, never
2010-12-11 13:20:56 -05:00
Erik Trimble
72a4a57a9e
7006221: Bump the HS20 build number to 04
...
Update the HS20 build number to 04
Reviewed-by: jcoomes
2010-12-10 18:05:39 -08:00
Erik Trimble
3ba0ee979e
Merge
2010-12-10 17:59:46 -08:00
Erik Trimble
3d041302d0
Merge
2010-12-10 15:46:59 -08:00
Vladimir Kozlov
19a01fed97
6993125: runThese crashes with assert(Thread::current()->on_local_stack((address)this))
...
Add another ResourceObj debug field to distinguish garbage
Reviewed-by: dholmes, coleenp
2010-12-10 14:14:02 -08:00
Coleen Phillimore
aa521ed9cd
6988439: Parallel Class Loading test deadlock involving MethodData_lock and Pending List Lock
...
Don't acquire methodData_lock while holding pending list lock
Reviewed-by: kvn, never, ysr
2010-12-10 12:13:03 -05:00
Y. Srinivas Ramakrishna
874098b1c6
Merge
2010-12-09 21:47:58 -08:00
David Katleman
06759914a2
Added tag jdk7-b121 for changeset 355804dc2e5e
2010-12-09 21:25:25 -08:00
David Holmes
83c72a434a
7005007: Refine use of ALT_COMPILER_PATH to avoid conflict with JPRT usage
...
Check for CROSS_COMPILE_ARCH being set as an indicator to use ALT_COMPILER_PATH
Reviewed-by: acorn, ohair
2010-12-09 20:12:06 -05:00
Keith McGuigan
de27a1608c
7004582: Add GetThisObject() function to JVMTI 1.2
...
Add 'GetThisObject' function
Reviewed-by: never, coleenp
2010-12-09 15:04:26 -05:00
Y. Srinivas Ramakrishna
8baafdfd45
7005259: CMS: BubbleUpRef asserts referent(obj)->is_oop() failed: Enqueued a bad referent
...
Relaxed the assert by allowing NULL referents when discovery may be concurrent.
Reviewed-by: johnc, jcoomes
2010-12-09 09:22:57 -08:00
Dmitry Samersoff
d344b51209
6989076: JVM crashes in klassItable::initialize_itable_for_interface
...
Hotspot should check protection attribute besides the name and signature of the method when constructing vtable.
Reviewed-by: dcubed
2010-12-09 17:53:22 +03:00
Igor Veresov
a9bee9ec34
Merge
2010-12-08 17:50:49 -08:00
Kevin Walls
03a1ccfef2
7003789: PTRACE_GETREGS problems with SA on Linux
...
Ifdef definitions for PTRACE_GETREGS_REQ clarified
Reviewed-by: dholmes
2010-12-08 04:50:35 -08:00
Igor Veresov
eafb22164b
7005241: C1: SEGV in java.util.concurrent.LinkedTransferQueue.xfer() with compressed oops
...
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
2010-12-08 02:36:36 -08:00
Y. Srinivas Ramakrishna
544b475fc5
7001033: assert(gch->gc_cause() == GCCause::_scavenge_alot || !gch->incremental_collection_failed())
...
7002546: regression on SpecJbb2005 on 7b118 comparing to 7b117 on small heaps
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
2010-12-07 21:55:53 -08:00
John Cuthbertson
4aaa89ea60
Merge
2010-12-07 16:44:34 -08:00
John Cuthbertson
8f4579fe60
6994628: G1: Test gc/gctests/FinalizeTest05 fails (one live object is finalized)
...
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
2010-12-07 16:18:45 -08:00
Antonios Printezis
edcfaf0f84
6994056: G1: when GC locker is active, extend the Eden instead of allocating into the old gen
...
Allow the eden to the expanded up to a point when the GC locker is active.
Reviewed-by: jwilhelm, johnc, ysr, jcoomes
2010-12-07 16:47:42 -05:00
Vladimir Kozlov
797fb02b41
7004925: CTW: assert(nbits == 32 || -(1 << nbits-1) <= x && x < ( 1 << nbits-1)) failed: value out of range
...
Set offset in register if it does not fit 13 bits.
Reviewed-by: iveresov
2010-12-07 11:00:02 -08:00
Staffan Larsen
1765b0fbf0
6539281: -Xcheck:jni should validate char* argument to ReleaseStringUTFChars
...
Tag allocated memory with a magic value and verify when releasing.
Reviewed-by: phh, stefank
2010-12-07 03:15:45 -08:00
Keith McGuigan
dd62e29b29
7003782: Update JVMTI version to 1.2 for jdk7
...
Update minor version to 1.2 for jdk7
Reviewed-by: phh, dcubed
2010-12-06 20:21:15 -05:00
Coleen Phillimore
faf320aede
Merge
2010-12-06 15:37:00 -05:00
Volker Simonis
df6c2c2e63
6704010: Internal Error (src/share/vm/interpreter/interpreterRuntime.cpp:1106)
...
Fixed a race condition in the assertion caused by an unguarded, concurrent access to a GrowableArray object.
Reviewed-by: coleenp, dholmes, dsamersoff
2010-12-04 00:09:05 -05:00
Kelly O'Hair
7e995b2d2b
Merge
2010-12-03 19:44:29 -08:00
John R Rose
cc7c58e166
7001379: bootstrap method data needs to be moved from constant pool to a classfile attribute
...
Reviewed-by: twisti
2010-12-03 15:53:57 -08:00
Tom Rodriguez
f74039fd41
7004530: casx used for 32 bit cas after 7003554
...
Reviewed-by: kvn, iveresov
2010-12-03 12:14:33 -08:00
Erik Trimble
f5a7f6d606
Added tag hs20-b03 for changeset a683e80b9ca8
2010-12-03 09:44:09 -08:00
Christian Thalinger
bd6731ae92
7003798: test/compiler/6991596 fails with true != false
...
The test of 6991596 fails on SPARCV9.
Reviewed-by: kvn, never, jrose
2010-12-03 06:14:37 -08:00
Christian Thalinger
ffaadcecea
6961690: load oops from constant table on SPARC
...
Oops should be loaded from the constant table of an nmethod instead of materializing them with a long code sequence.
Reviewed-by: never, kvn
2010-12-03 01:34:31 -08:00
Christine Lu
636b550f8c
Added tag jdk7-b120 for changeset 6df7c2b3dbea
2010-12-02 19:04:00 -08:00
Igor Veresov
ab725dba1d
7003554: (tiered) assert(is_null_object() || handle() != NULL) failed: cannot embed null pointer
...
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
2010-12-02 17:21:12 -08:00
Antonios Printezis
dcf8c40e3a
7003860: G1: assert(_cur_alloc_region == NULL || !expect_null_cur_alloc_region) fails
...
Wrong assumption about expecting the current alloc region expected to be NULL in expand_and_allocate().
Reviewed-by: brutisso, ysr
2010-12-02 13:20:39 -05:00
Staffan Larsen
7765368022
6981484: Update development launcher
...
Add new development launcher called hotspot(.exe)
Reviewed-by: coleenp
2010-12-02 05:45:54 -08:00
Stefan Karlsson
c4121e4375
7003786: sort Obj_Files before compiling
...
Reverted to old sort order on Linux and Solaris.
Reviewed-by: tonyp, coleenp
2010-12-02 20:01:47 +01:00
Christian Thalinger
7fedab77bf
6998985: faulty generic arraycopy on windows x86_64: 4th arg overwritten with oop
...
Reviewed-by: kvn, never
2010-12-02 01:02:55 -08:00
John Cuthbertson
1065281a98
6983204: G1: Nightly test nsk/regression/b4958615 failing with +ExplicitGCInvokesConcurrent
...
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
2010-12-01 17:34:02 -08:00
Tom Rodriguez
f9d845fd45
6875026: CTW failure jdk6_18/hotspot/src/share/vm/c1/c1_LinearScan.cpp:5486
...
Reviewed-by: kvn, iveresov
2010-12-01 15:47:52 -08:00
Tom Rodriguez
532dec3797
7002666: eclipse CDT projects crash with compressed oops
...
Reviewed-by: kvn, twisti
2010-12-01 10:16:31 -08:00
Stefan Karlsson
4a33afe6c4
7003125: precompiled.hpp is included when precompiled headers are not used
...
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
2010-12-01 15:04:06 +01:00
Bob Vandette
18a6408d84
7004217: Remove IA64 workaround re-introduced with CR6953477
...
Gcc bug worksaround for IA64 no longer needed
Reviewed-by: andrew
2010-12-02 14:00:03 -05:00
Coleen Phillimore
49678541ff
Merge
2010-12-01 18:32:50 -05:00
Ivan P Krylov
9802f91e66
6348631: remove the use of the HPI library from Hotspot
...
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
2010-12-01 18:26:32 -05:00
Bengt Rutisson
8c5bc8227a
7003456: ADLC files not correctly generated on Windows
...
Added target architecture parameters to make ADLC build properly
Reviewed-by: never, stefank
2010-12-01 03:12:35 -08:00
Igor Veresov
72c2bb7859
Merge
2010-11-30 23:14:25 -08:00
Igor Veresov
d59d7ffc4a
6985015: C1 needs to support compressed oops
...
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
2010-11-30 23:23:40 -08:00
Kelly O'Hair
0736598d42
Merge
2010-11-30 18:10:20 -08:00
Kelly O'Hair
dddeba18de
6987107: Add variable to add to but not modify non-fcs version string
...
Reviewed-by: jcoomes, dholmes, andrew, kvn
2010-11-30 18:07:18 -08:00
Christian Thalinger
36b4f60585
7001363: java/dyn/InvokeDynamic should not be a well-known class in the JVM
...
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
2010-11-30 09:53:04 -08:00
Coleen Phillimore
a1d3c19596
6780143: hs203t003 hits SIGSEGV/EXCEPTION_ACCESS_VIOLATION with -XX:+UseCompressedOops
...
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
2010-11-29 15:43:36 -05:00
Stefan Karlsson
8006fe8f75
6989984: Use standard include model for Hospot
...
Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
2010-11-23 13:22:55 -08:00
Coleen Phillimore
01f78952da
Merge
2010-11-23 15:01:43 -05:00
Gary Benson
7b0fb2a1e3
7002129: Zero and Shark fixes, 3rd
...
6970683 and 6953144 introduced changes that need to be implemented for Zero and Shark.
Reviewed-by: twisti
2010-11-23 04:33:42 -08:00
Christine Lu
b23d739ffb
Added tag jdk7-b119 for changeset a683e80b9ca8
2010-11-22 14:57:11 -08:00
Coleen Phillimore
ced35487cb
Merge
2010-11-19 23:46:06 -05:00
Igor Veresov
15c6dde68a
Merge
2010-11-19 17:01:34 -08:00
Jon Masamitsu
6d7849e8e7
Merge
2010-11-19 13:19:49 -08:00
Poonam Bajaj
b91e418b3e
6837842: JNI_CreateJavaVM crashes under impersonation
...
Reviewed-by: acorn, dholmes
2010-11-19 03:41:50 -08:00
Zhengyu Gu
04b08adf06
6751923: JNDI wake up when clock_settime() is called
...
Ported Chris Phillips' patch from jdk5 to jdk7
Reviewed-by: chrisphi, coleenp
2010-11-18 14:37:46 -05:00
Vladimir Kozlov
606ee163ca
7000491: assert(false) failed: should be optimized out in SharedRuntime::g1_wb_pre
...
Wrong value type is used for NULL store when clearing the detail message of the preallocated exception object.
Reviewed-by: never, iveresov
2010-11-18 09:52:48 -08:00
Zhengyu Gu
dd078e8562
Merge
2010-11-17 09:21:51 -05:00
John Cuthbertson
92aa340360
Merge
2010-11-16 16:12:28 -08:00
Igor Veresov
5c238caed1
7000349: Tiered reacts incorrectly to C1 compilation failures
...
Fix policy reaction to C1 comilation failures, make C1 properly report errors.
Reviewed-by: kvn
2010-11-16 15:57:16 -08:00
John Cuthbertson
e5344b854c
6978187: G1: assert(ParallelGCThreads> 1 || n_yielded() == _hrrs->occupied()) strikes again
...
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
2010-11-16 14:07:33 -08:00
Y. Srinivas Ramakrishna
9af444d011
7000578: CMS: assert(SafepointSynchronize::is_at_safepoint()) failed: Else races are possible
...
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
2010-11-16 13:58:48 -08:00
Jon Masamitsu
fbe476856f
Merge
2010-11-15 16:25:14 -08:00
Vladimir Kozlov
d563b15558
6999491: non-zero COOPs are used when they should not
...
HeapBaseMinAddress should be used only for a default heap size calculation.
Reviewed-by: iveresov, jcoomes, dholmes
2010-11-12 09:51:43 -08:00
Zhengyu Gu
6fd53f05d1
Merge
2010-11-12 09:37:13 -05:00
Erik Trimble
5301c4b90d
6997698: Bump the HS20 build number to 03
...
Update the HS20 build number to 03
Reviewed-by: jcoomes
2010-11-11 23:30:49 -08:00
Erik Trimble
d1ecf9099e
Merge
2010-11-11 23:29:32 -08:00
Erik Trimble
5a96d19828
Added tag hs20-b02 for changeset dc71e7fdd835
2010-11-11 23:17:26 -08:00
Igor Veresov
eb71d414e1
Merge
2010-11-11 17:36:50 -08:00
Christine Lu
ccc776c4de
Added tag jdk7-b118 for changeset d3227b2c2929
2010-11-11 11:02:11 -08:00
Y. Srinivas Ramakrishna
33688e92b9
6998802: ScavengeALot: assert(!gch->incremental_collection_failed()) failed: Twice in a row
...
Weaken assert by excluding scavenges resulting from -XX:+ScavengeALot stress-testing option.
Reviewed-by: jmasa, tonyp
2010-11-11 10:42:43 -08:00
Erik Trimble
b8683ec199
Merge
2010-11-10 21:22:56 -08:00
Erik Trimble
76006dc11b
Merge
2010-11-10 20:38:30 -08:00
Vladimir Kozlov
22c924061d
6839891: Array overrun in vm ci
...
Fix index check
Reviewed-by: never
2010-11-09 17:31:18 -08:00
Igor Veresov
0e15b9fce3
6998737: JSR 292: Remove the plug guarding the use of compressed oops
...
The plug that guards the use of compressed oops with invokedynamic needs to be removed
Reviewed-by: twisti, kvn
2010-11-09 15:12:15 -08:00
Y. Srinivas Ramakrishna
579c9e4b03
6996613: CompactibleFreeListSpace::print should call CompactibleFreeListSpace::print_on, not Space::print_on
...
Reviewed-by: tonyp
2010-11-09 10:47:20 -08:00
Igor Veresov
39ef076af4
Merge
2010-11-08 14:33:48 -08:00
Vladimir Kozlov
296ddc8e2e
6991188: C2 Crashes while compiling method
...
Do several iterations to build EA Connection Graph.
Reviewed-by: never, twisti, ysr
2010-11-06 20:35:36 -07:00
Vladimir Kozlov
ce2df719c6
6997311: SIGFPE in new long division asm code
...
Use unsigned DIV instruction
Reviewed-by: never
2010-11-06 18:52:07 -07:00
Igor Veresov
085e1ad6e1
Merge
2010-11-06 02:53:59 -07:00
Igor Veresov
c3d3f0f262
6997456: Not possible to build just compiler2
...
Fix the compiler error. Allow to build just c2 specifying FORCE_TIERED=0 on the command line.
Reviewed-by: never, kvn
2010-11-05 14:49:50 -07:00
Y. Srinivas Ramakrishna
fe147ae592
6997298: fatal error: must own lock CMS_markBitMap_lock during heap dump
...
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
2010-11-05 13:20:37 -07:00
John R Rose
4b08c56f72
6996563: 6984311 changes forgot to update vmStructs.cpp for new field _operands
...
Add missing line to vmStructs. Also fix bug with class dumper.
Reviewed-by: twisti, kvn
2010-11-05 12:18:30 -07:00
Keith McGuigan
d4ca94df32
6981737: The java.vm.specification.version property is 1.0, seems like it should be 2.0
...
Change property value to 1.<major_version> for major_version >= 7
Reviewed-by: dholmes, acorn
2010-11-05 09:32:08 -04:00
Erik Trimble
273b1733c0
Merge
2010-11-04 16:17:54 -07:00
Christine Lu
59efb01f6a
Added tag jdk7-b117 for changeset fa3a454c72a6
2010-11-04 15:54:20 -07:00
Lana Steuck
83b80f473c
Merge
2010-11-04 15:32:01 -07:00
Erik Trimble
d6009ec771
Added tag hs20-b02 for changeset 9353ae6eae7d
2010-11-04 15:19:16 -07:00
Christian Thalinger
b64a0fd5a4
6997459: JSR 292 after 6994093 getting: on return to interpreted call, restored SP is corrupted
...
Reviewed-by: kvn, jrose, never
2010-11-04 12:16:58 -07:00
Pavel Tisnovsky
f37b5faab7
6997495: correction of regression test compiler/6857159/Test6857159
...
Testcase correction.
Reviewed-by: never
2010-11-04 14:03:12 +01:00
Igor Veresov
308952f81e
6996136: VM crash in src/share/vm/runtime/virtualspace.cpp:424
...
Turn CDS off if compressed oops is on
Reviewed-by: ysr, kvn, jcoomes, phh
2010-11-02 16:02:46 -07:00
Christian Thalinger
a1396ef871
6996240: The BitSet.length method sometimes returns an index+1 value less than that of the highest bit set
...
Reviewed-by: never, kvn
2010-11-02 14:56:40 -07:00
Vladimir Kozlov
249b1f6c4f
6987135: Performance regression on Intel platform with 32-bits edition between 6u13 and 6u14
...
Use hardware DIV instruction for long division by constant when it is faster than code with multiply.
Reviewed-by: never
2010-11-02 09:00:37 -07:00
John Coomes
f07d7731aa
Merge
2010-11-01 10:49:14 -07:00
John R Rose
ce0125e7f2
6984311: JSR 292 needs optional bootstrap method parameters
...
Allow CONSTANT_InvokeDynamic nodes to have any number of extra operands.
Reviewed-by: twisti
2010-10-30 13:08:23 -07:00
John R Rose
fb2011ac04
6981777: implement JSR 292 EG adjustments from summer 2010
...
Small bug fix to make "raw" adapters work for JDK changes under 6981777
Reviewed-by: twisti
2010-10-30 12:19:07 -07:00
John R Rose
c798146bee
6994093: MethodHandle.invokeGeneric needs porting to SPARC
...
SPARC code missing from fix to 6939224
Reviewed-by: twisti
2010-10-30 11:45:49 -07:00
John R Rose
b22ecee555
6981788: GC map generator sometimes picks up the wrong kind of instruction operand
...
Distinguish pool indexes from cache indexes in recently changed code.
Reviewed-by: never
2010-10-30 11:45:35 -07:00
Y. Srinivas Ramakrishna
9333ab2399
6995045: assert(!gch->incremental_collection_failed()) failed: Error, defNewGeneration.cpp:827
...
Sharpened an assert, introduced in 6896603, that intended to check that the incremental_collection_failed() predicate on the heap was being reset "soon enough".
Reviewed-by: jmasa
2010-10-28 14:46:29 -07:00
Christine Lu
a62c13ae81
Added tag jdk7-b116 for changeset fde203c3a894
2010-10-28 13:31:30 -07:00
Christian Thalinger
336fbd6d7f
6994630: java/lang/instrument/IsModifiableClassAgent.java fails with -XX:+EnableInvokeDynamic
...
The logic of ClassFileParser::java_dyn_MethodHandle_fix_pre needs to take care of an already changed vmentry signature.
Reviewed-by: never, jrose
2010-10-28 00:48:18 -07:00
Keith McGuigan
596507e5d3
6865028: Illegal instructions passing verification prior to 'invokespecial Object.<init>'
...
Update verifier to conform to spec re: reference vs. 'Object' types
Reviewed-by: dholmes, coleenp
2010-10-27 12:53:36 -04:00
Keith McGuigan
b8baad4610
Merge
2010-10-26 16:48:28 -07:00
Karen Kinnear
331bfdb1c0
Merge
2010-10-26 14:43:21 -04:00
Keith McGuigan
e36f1e36eb
6891959: HotSpot should not throw ClassFormatError if a class has a field with '>' and/or '<' in its name
...
Class file parser needs to look for and disallow '[' in names.
Reviewed-by: coleenp, never
2010-10-26 14:08:49 -04:00
Karen Kinnear
9b27c6cc6f
Merge
2010-10-25 13:31:55 -04:00
Y. Srinivas Ramakrishna
cbc7f8756a
6896603: CMS/GCH: collection_attempt_is_safe() ergo should use more recent data
...
Deprecated HandlePromotionFailure, removing the ability to turn off that feature, did away with one epoch look-ahead when deciding if a scavenge is likely to fail, relying on current data.
Reviewed-by: jmasa, johnc, poonam
2010-10-23 23:03:49 -07:00
Karen Kinnear
22929fb78f
6988353: refactor contended sync subsystem
...
Reduce complexity by factoring synchronizer.cpp
Reviewed-by: dholmes, never, coleenp
2010-10-22 15:59:34 -04:00
Gary Benson
4ebbe4ca45
6994130: Zero PowerPC fix
...
6953477 broke Zero.
Reviewed-by: twisti
2010-10-22 03:34:25 -07:00
Y. Srinivas Ramakrishna
554e77efb4
6992998: CMSWaitDuration=0 causes hangs with +ExplicitGCInvokesConcurrent
...
Closed a timing hole during which concurrent full gc requests can be missed. The hole can increase the latency of the response to a full gc request by up to the value of CMSWaitDuration. If CMSWaitDuration=0 is, as currently, interpreted as an unbounded wait, suitable in certain tuning scenarios, the application can potentially hang. Made two obscure tunables, including CMSWaitDuration, manageable.
Reviewed-by: jcoomes, tonyp
2010-10-21 17:29:24 -07:00
Christine Lu
1e57e21d50
Added tag jdk7-b115 for changeset 6c5fa35fa077
2010-10-21 17:12:26 -07:00
Tom Rodriguez
1571a4a56f
6970683: improvements to hs_err output
...
Reviewed-by: kvn, jrose, dholmes, coleenp
2010-10-21 11:55:10 -07:00
Keith McGuigan
c3401153c8
6991315: RedefineClasses fails with java.lang.VerifyError
...
Repair stackmap table attribute when relocating bytecode
Reviewed-by: acorn, never
2010-10-21 10:10:23 -04:00
Erik Trimble
6884edbc25
Merge
2010-10-20 17:07:25 -07:00
Erik Trimble
d9b5ccdbd9
Merge
2010-10-20 16:49:06 -07:00
Tom Rodriguez
8a75e5275a
Merge
2010-10-20 13:18:17 -07:00
Christian Thalinger
c63f0d6e6a
Merge
2010-10-20 04:19:01 -07:00
Tom Rodriguez
1d8c677377
6968367: can_post_on_exceptions is still using VM_DeoptimizeFrame in some places
...
Reviewed-by: kvn, twisti
2010-10-19 16:14:34 -07:00
Igor Veresov
6a17d9c416
6989669: Coops: -Xshare:dump causes crash
...
Temporarily fix to disable compressed oops with CDS
Reviewed-by: dholmes, twisti, kvn, never
2010-10-19 11:14:52 -07:00
Christian Thalinger
9cabdbf770
6990192: VM crashes in ciTypeFlow::get_block_for()
...
Reviewed-by: never
2010-10-19 02:52:57 -07:00
Tom Rodriguez
1022ea2299
Merge
2010-10-18 15:43:29 -07:00
Tom Rodriguez
daa052114f
Merge
2010-10-18 09:33:24 -07:00
Christian Thalinger
14d9ac3169
6991596: JSR 292 unimplemented adapter_opt_i2i and adapter_opt_l2i on SPARC
...
Reviewed-by: kvn, jrose, dsamersoff
2010-10-18 01:54:24 -07:00
Antonios Printezis
0c660e1f60
6991377: G1: race between concurrent refinement and humongous object allocation
...
There is a race between the concurrent refinement threads and the humongous object allocation that can cause the concurrent refinement threads to corrupt the part of the BOT that it is being initialized by the humongous object allocation operation. The solution is to do the humongous object allocation in careful steps to ensure that the concurrent refinement threads always have a consistent view over the BOT, region contents, and top. The fix includes some very minor tidying up in sparsePRT.
Reviewed-by: jcoomes, johnc, ysr
2010-10-16 17:12:19 -04:00
John Cuthbertson
f6acb9efb0
6988458: G1: assert(mr.end() <= _cm->finger()) failed: otherwise the region shouldn't be on the stack
...
The changes from 6941395 did not clear the CMTask::_aborted_region fields when concurrent marking aborted because of overflow. As a result, the next time around we could see a memory region whose start address was above the global finger and the assertion tripped. Moved the clearing of the aborted regions to ConcurrentMark::clear_marking_state, which is executed on all of the exit paths.
Reviewed-by: tonyp, ysr, jmasa
2010-10-18 15:01:41 -07:00
Antonios Printezis
0c9bfb6003
6992189: G1: inconsistent base used in sparse rem set iterator
...
The remembered set iterator for sparse tables incorrectly assumes that index 0 corresponds to the bottom of the heap, not address 0 as it is the case.
Reviewed-by: ysr, jmasa
2010-10-15 17:26:56 -04:00
Tom Rodriguez
e4f08bc195
6992477: fix for 6991512 broke sparc barriers
...
Reviewed-by: kvn, iveresov
2010-10-15 14:21:11 -07:00
Karen Kinnear
4af336814e
Merge
2010-10-15 15:12:04 -04:00
Roland Westrelin
4bf36a476f
Merge
2010-10-15 02:59:48 -07:00
Roland Westrelin
e1a504b343
6991577: add IfOp optimization to C1
...
Ifop optimization for c1
Reviewed-by: never, phh, iveresov
2010-10-15 09:38:20 +02:00
Christine Lu
c37a3a68ef
Added tag jdk7-b114 for changeset 21dec68c50e9
2010-10-14 19:24:57 -07:00
Erik Trimble
daea1b7ef4
6992267: Bump the HS20 build number to 02
...
Update the HS20 build number to 02
Reviewed-by: jcoomes
2010-10-14 16:05:59 -07:00
Erik Trimble
f589bf7945
Merge
2010-10-14 15:52:41 -07:00
John Coomes
add5d46008
Merge
2010-10-14 11:57:48 -07:00
Vladimir Kozlov
ec8fa4caa2
Merge
2010-10-14 10:46:38 -07:00
Antonios Printezis
e79a62412f
6990359: G1: don't push a stolen entry on the taskqueue, deal with it directly
...
When an entry is stolen, don't push it on the task queue but process it directly.
Reviewed-by: iveresov, ysr, jcoomes
2010-10-14 10:38:14 -04:00
Roland Westrelin
225a3b0eb8
Merge
2010-10-13 15:38:14 -07:00
Christian Thalinger
c225b71d63
Merge
2010-10-13 13:31:30 -07:00
Karen Kinnear
7d2a7e7452
Merge
2010-10-13 11:46:46 -04:00
Roland Westrelin
08e2ead403
6991211: assert failure on sparc: "can not have caller-save register operands at calls"
...
Fixes sparc only assert failure following 6972540
Reviewed-by: never
2010-10-13 10:29:31 +02:00
Christian Thalinger
98e9ecf9da
6987555: JSR 292 unboxing to a boolean value fails on big-endian SPARC
...
Reviewed-by: never, jrose
2010-10-13 01:19:43 -07:00
Igor Veresov
28a13e88e7
6991512: G1 barriers fail with 64bit C1
...
Fix compare-and-swap intrinsic problem with G1 post-barriers and issue with branch ranges in G1 stubs on sparc
Reviewed-by: never, kvn
2010-10-12 23:51:20 -07:00
John Coomes
d85b042fca
6989448: G1: refactor and simplify G1ParScanThreadState
...
Reviewed-by: iveresov, tonyp
2010-10-12 11:29:45 -07:00
John Cuthbertson
02bad20969
6971296: G1: simplify G1RemSet class hierarchy
...
Remove G1RemSet base class and StupidG1RemSet class; rename HRInto_G1RemSet to just G1RemSet.
Reviewed-by: ysr, tonyp
2010-10-12 09:36:48 -07:00
Keith McGuigan
da95f5319e
6392697
: Additional flag needed to supress Hotspot warning messages
...
Apply PrintJvmWarnings flag to all warnings
Reviewed-by: coleenp, phh
2010-10-12 10:57:33 -04:00
Christian Thalinger
e870866699
6991065: missed a review comment in 6829194
...
Reviewed-by: kvn
2010-10-12 02:21:06 -07:00
Christian Thalinger
0e4ed251b8
6829194: JSR 292 needs to support compressed oops
...
Reviewed-by: kvn, jrose
2010-10-11 04:18:58 -07:00
John Coomes
cdc9022728
Merge
2010-10-08 09:29:09 -07:00
Gary Benson
a10ec19a4d
6990549: Zero and Shark fixes after 6978355 and 6953144
...
Reviewed-by: twisti
2010-10-08 02:42:17 -07:00
Tom Rodriguez
39d16839d3
6980792: Crash "exception happened outside interpreter, nmethods and vtable stubs (1)"
...
Reviewed-by: kvn
2010-10-07 21:40:55 -07:00
Christine Lu
b705fe7b12
Added tag jdk7-b113 for changeset 4fb06c9f1ce0
2010-10-07 15:12:06 -07:00
Yumin Qi
612faf72b7
6966589: hs16-b08 causes java.lang.StackOverflowError
...
Reviewed-by: mchung, dholmes, chrisphi
2010-10-07 13:49:40 -07:00
Erik Trimble
bb7771888b
Merge
2011-01-13 22:54:23 -08:00
Erik Trimble
ad51e6bdec
7012348: Bump the HS20 build number to 07
...
Update the HS20 build number to 07
Reviewed-by: jcoomes
2011-01-13 22:53:34 -08:00
Bob Vandette
a594a8dea5
Merge
2010-10-07 15:14:41 -04:00
Bob Vandette
72616ad2bc
6989297: Integrate additional portability improvements
...
Reviewed-by: vladidan, dholmes
2010-10-07 15:12:57 -04:00
Coleen Phillimore
39992cab03
6983240: guarantee((Solaris::min_stack_allowed >= (StackYellowPages+StackRedPages...) wrong
...
Min_stack_allowed is a compile time constant and Stack*Pages are settable
Reviewed-by: dholmes, kvn
2010-10-07 08:06:06 -07:00
Vladimir Kozlov
68f9001261
Merge
2010-10-06 14:18:32 -07:00
Tom Rodriguez
f3c22cd1e2
6989736: fix mapfile warnings on solaris
...
Reviewed-by: kvn, iveresov, jcoomes
2010-10-05 17:38:40 -07:00
Tom Rodriguez
84e48aee05
6988018: dtrace/hotspot/MethodInvocation/MethodInvocation002 crashes with client compiler
...
Reviewed-by: iveresov, kvn, kamg
2010-10-05 11:16:12 -07:00
Vladimir Kozlov
c5191a8103
6979458: VM crashes when -XX:ObjectAlignmentInBytes is too big
...
Set upper limit 256 for ObjectAlignmentInBytes value.
Reviewed-by: never, iveresov
2010-10-05 08:57:20 -07:00
Igor Veresov
32ebbc92ec
6989368: Regression in scimark2.MonteCarlo in jdk7_b112 on Linux
...
Fix ciMethod::instructions_size() to return correct value
Reviewed-by: kvn, twisti
2010-10-05 00:19:21 -07:00
Tom Rodriguez
f591ed981d
6968348: Byteswapped memory access can point to wrong location after JIT
...
Reviewed-by: twisti, kvn, iveresov
2010-10-04 17:09:18 -07:00
Karen Kinnear
4ba2050f4e
Merge
2010-10-04 10:08:29 -07:00
Karen Kinnear
9e4a795ff5
6763959: java.util.concurrent.locks.LockSupport.parkUntil(0) blocks forever
...
Absolute time 0 needs to return immediately.
Reviewed-by: phh, dcubed, dholmes
2010-10-04 13:11:10 -04:00
Erik Trimble
3ee389a913
Added tag hs20-b01 for changeset 75ef8813e3e2
2010-10-01 18:04:36 -07:00
Christine Lu
498a2a778a
Added tag jdk7-b112 for changeset 75ef8813e3e2
2010-10-01 15:45:01 -07:00
Antonios Printezis
189be5a71f
6980838: G1: guarantee(false) failed: thread has an unexpected active value in its SATB queue
...
Under certain circumstances a safepoint could happen between a JavaThread object being created and that object being added to the Java threads list. This could cause the active field of that thread's SATB queue to get out-of-sync with respect to the other Java threads. The solution is to activate the SATB queue, when necessary, before adding the thread to the Java threads list, not when the JavaThread object is created. The changeset also includes a small fix to rename the surrogate locker thread from "Surrogate Locker Thread (CMS)" to "Surrogate Locker Thread (Concurrent GC)" since it's also used in G1.
Reviewed-by: iveresov, ysr, johnc, jcoomes
2010-10-01 16:43:05 -04:00
John Cuthbertson
8980543dc1
Merge
2010-10-01 21:48:40 -07:00
John Cuthbertson
20289fbffd
6983311: G1: LoopTest hangs when run with -XX:+ExplicitInvokesConcurrent
...
Clear the concurrent marking "in progress" flag while the FullGCCount_lock is held. This avoids a race that can cause back to back System.gc() calls, when ExplicitGCInvokesConcurrent is enabled, to fail to initiate a marking cycle causing the requesting thread to hang.
Reviewed-by: tonyp, ysr
2010-10-01 18:23:16 -07:00
Y. Srinivas Ramakrishna
8fbdf5c7f0
6794422: Perm gen expansion policy for concurrent collectors
...
Concurrent collectors should expand the perm gen without a full STW GC, but possibly by triggering a concurrent collection. Temporary band-aid for G1 where no concurrent collection is kicked off since the perm gen is not collected concurrently.
Reviewed-by: johnc
2010-10-01 16:12:54 -07:00
Vladimir Kozlov
7cc55737b6
6916062: assert(_inserts <= _insert_limit,"hash table overflow") in NodeHash::hash_insert
...
Missing check for not empty worklist when puting memory node back on worklist and expecting address type update.
Reviewed-by: never
2010-09-30 18:31:45 -07:00
Igor Veresov
63fd308170
6988779: c1_LIRAssembler_x86.cpp crashes VS2010 compiler
...
The workaround changes the scope of the variable
Reviewed-by: phh, ysr, kvn
2010-09-30 16:00:40 -07:00
John Coomes
603e50f355
6988678: fatal error deadlock handling was unintentionally disabled
...
Reviewed-by: ysr
2010-09-30 12:15:13 -07:00
Zhengyu Gu
afc563751f
6988363: Rebrand vm vendor property settings (jdk7 only)
...
Vendor properties should be initialized after JDK version is determined.
Reviewed-by: kamg, ohair, dcubed, dholmes
2010-09-30 12:05:08 -04:00
Igor Veresov
8309071a08
6988346: 6986046 breaks tiered
...
Adjusted profiling code generation to use the new ValueStack implementation; lowered optimization level for c1_LinearScan.cpp on solaris x64.
Reviewed-by: kvn, never
2010-09-29 16:53:42 -07:00
Y. Srinivas Ramakrishna
cf2163334f
6692906: CMS: parallel concurrent marking may be prone to hanging or stalling mutators for periods of time
...
Inserted missing yield(check)s in closures used during the work-stealing phase of parallel concurrent marking, a missing synchronous yield-request in the cms perm gen allocation path, and a terminator-terminator for the offer_termination invocation that monitors the yield status of the concurrent marking task. Elaborated some documentation comments and made some task queue termination loop flags configurable at start-up to aid debugging in the field.
Reviewed-by: jmasa, johnc, poonam
2010-09-29 16:17:02 -07:00
Roland Westrelin
8067fc5d4a
6988303: 6986046 breaks build with recent gcc
...
Fixes build break
Reviewed-by: never, kvn
2010-09-29 18:53:28 +02:00
Christian Thalinger
59ea7a14e6
6987634: JSR 292 assert(start_bci() >= 0 && start_bci() < code_size()) failed: correct osr_bci argument
...
Reviewed-by: never, kvn
2010-09-29 00:30:57 -07:00
John Coomes
1cdd538ea5
6423256: GC stacks should use a better data structure
...
6942771: SEGV in ParScanThreadState::take_from_overflow_stack
Reviewed-by: apetrusenko, ysr, pbk
2010-09-28 15:56:15 -07:00