1563 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Igor Veresov
15c6dde68a Merge 2010-11-19 17:01:34 -08:00
Jon Masamitsu
6d7849e8e7 Merge 2010-11-19 13:19:49 -08: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
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