1645 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
Christian Thalinger
c225b71d63 Merge 2010-10-13 13:31:30 -07:00
Karen Kinnear
7d2a7e7452 Merge 2010-10-13 11:46:46 -04: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