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
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
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
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
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
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
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
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