857 Commits

Author SHA1 Message Date
Christian Thalinger
3fc4c7060d 8007923: Tests on references fails
Reviewed-by: kvn, iveresov
2013-10-08 19:57:28 -07:00
Igor Veresov
f2e6d682a1 Merge 2013-10-08 07:08:27 -07:00
Mikael Gerdin
7f3b537807 8014555: G1: Memory ordering problem with Conc refinement and card marking
Add a StoreLoad barrier in the G1 post-barrier to fix a race with concurrent refinement. Also-reviewed-by: martin.doerr@sap.com

Reviewed-by: iveresov, tschatzl, brutisso, roland, kvn
2013-10-08 17:35:51 +02:00
Vladimir Ivanov
0059da4a6d 8024774: assert(_con < t->is_tuple()->cnt()) failed: ProjNode::_con must be in range
Reviewed-by: iveresov, roland, kvn, twisti
2013-10-07 14:12:23 +04:00
Christian Thalinger
bfc53b6607 8011138: C2: stack overflow in compiler thread because of recursive inlining of lambda form methods
Reviewed-by: kvn, roland
2013-10-04 10:11:48 -07:00
Igor Veresov
51a9303c03 Merge 2013-10-03 16:38:21 +04:00
Roland Westrelin
59adc04ee5 8024067: Missing replace_in_map() calls following null checks
Add replace_in_map() calls following some null checks in type checks

Reviewed-by: kvn
2013-10-03 10:55:07 +02:00
Christian Thalinger
619948a8f1 8025566: EXCEPTION_ACCESS_VIOLATION in compiled by C1 String.valueOf method
Reviewed-by: kvn
2013-10-07 10:41:56 -07:00
Axel Siebenborn
0c588fa80b 8025599: Missing store barrier with OptimizeStringConcat
Reviewed-by: kvn, twisti
2013-09-30 15:42:39 -07:00
Zhengyu Gu
bfafab7b47 Merge 2013-09-27 10:08:56 -04:00
Aleksey Shipilev
84fd9150e2 8014447: Object.hashCode intrinsic breaks inline caches
Try to inline as normal method first, then fall back to intrinsic.

Reviewed-by: kvn, twisti
2013-09-27 11:52:24 +04:00
Rickard Bäckman
441f1d74cf 8024924: Intrinsify java.lang.Math.addExact
Reviewed-by: kvn, twisti
2013-09-27 08:39:19 +02:00
Lois Foltan
7bf953d005 7195622: CheckUnhandledOops has limited usefulness now
Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.

Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
2013-09-26 10:25:02 -04:00
Vladimir Kozlov
0ccb2841ea 8022585: VM crashes when ran with -XX:+PrintInlining
Use adr_at() to access inline info structures in growableArray. Add ability to specify print inlining per method.

Reviewed-by: twisti
2013-09-24 16:08:00 -07:00
Niclas Adlertz
afef481831 Merge 2013-09-19 18:01:39 +02:00
Thomas Schatzl
b4e927d2a9 Merge 2013-09-16 09:41:03 +02:00
Goetz Lindenmaier
5d63d647c1 8024342: PPC64 (part 111): Support for C calling conventions that require 64-bit ints
Some platforms, as ppc and s390x/zArch require that 32-bit ints are passed as 64-bit values to C functions. This change adds support to adapt the signature and to issue proper casts to c2-compiled stubs. The functions are used in generate_native_wrapper(). Adapt signature used by the compiler as in PhaseIdealLoop::intrinsify_fill().

Reviewed-by: kvn
2013-09-18 14:34:56 -07:00
David Chase
222c735458 8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
Enhance method resolution and resulting data structures, plus some refactoring.

Reviewed-by: twisti, acorn, jrose
2013-09-13 22:38:02 -04:00
Niclas Adlertz
350906807b 8024646: Remove LRG_List container, replace it with GrowableArray
We already have GrowableArray, use it instead of LRG_List

Reviewed-by: kvn
2013-09-12 23:13:45 +02:00
Niclas Adlertz
bcdf7e7a4d 8010941: MinJumpTableSize is set to 18, investigate if that's still optimal
Lowered the MinJumpTableSize for each platform

Reviewed-by: kvn
2013-09-11 09:34:00 +02:00
Vladimir Ivanov
f0e77ac67f 8001107: @Stable annotation for constant folding of lazily evaluated variables
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: rbackman, twisti, kvn
2013-09-10 14:51:48 -07:00
Vladimir Kozlov
1a700c9216 Merge 2013-09-05 11:04:39 -07:00
Niclas Adlertz
a0a141a9d9 Merge 2013-09-05 10:39:10 +02:00
Niclas Adlertz
547f4dea7b 8024095: Missing brackets in local scheduling code
Added brackets for if-statement

Reviewed-by: kvn, roland
2013-09-02 22:44:57 +02:00
Niclas Adlertz
900acf0c44 8023988: Move local scheduling of nodes to the CFG creation and code motion phase (PhaseCFG)
Moved local scheduling code from class Block to class PhaseCFG

Reviewed-by: kvn, roland
2013-09-01 19:21:05 +02:00
Lois Foltan
fca9e37c80 8021954: VM SIGSEGV during classloading on MacOS; hs_err_pid file produced
Declare all user-defined operator new()s within Hotspot code with the empty throw() exception specification

Reviewed-by: coleenp, twisti, dholmes, hseigel, dcubed, kvn, ccheung
2013-08-29 18:56:29 -04:00
Martin Doerr
c678f0173a 8023597: Optimize G1 barriers code for unsafe load_store
Avoid loading old values in G1 pre-barriers for inlined unsafe load_store nodes.

Reviewed-by: kvn, tonyp
2013-08-28 11:22:43 +02:00
Niclas Adlertz
be8c8aac48 8023691: Create interface for nodes in class Block
Create public methods for accessing the nodes in a block

Reviewed-by: kvn, roland
2013-08-26 12:50:23 +02:00
Goetz Lindenmaier
fac7ee02c5 8023033: PPC64 (part 13): basic changes for AIX
Added AIX includes alpha-sorted before BSD. Fix compilation issues with xlC in shared code. Basic shared platform dependend adaption (vm_version etc.).

Reviewed-by: kvn, dholmes, stefank
2013-08-22 09:39:54 -07:00
Vladimir Kozlov
dac98bcc0d 8023472: C2 optimization breaks with G1
Set control edge for previous value load in G1 pre-barrier

Reviewed-by: twisti
2013-08-23 18:04:35 -07:00
Vladimir Kozlov
ccfb92c6a9 8012972: Incremental Inlining should support scalar replaced object in debug info
Store in _first_index not absolute index but an index relative to the last (youngest) jvms->_scloff value

Reviewed-by: roland, twisti
2013-08-23 11:41:37 -07:00
Erik Helin
30f059b5fc 8015107: NPG: Use consistent naming for metaspace concepts
Reviewed-by: coleenp, mgerdin, hseigel
2013-08-12 17:37:02 +02:00
Rickard Bäckman
a231c31f38 8022675: Redundant class init check
Reviewed-by: kvn, twisti
2013-08-08 03:16:56 +02:00
Vladimir Kozlov
4ee53ef4e3 8021898: Broken JIT compiler optimization for loop unswitching
Fix method clone_projs() to clone all related MachProj nodes.

Reviewed-by: roland, adlertz
2013-08-16 14:11:40 -07:00
Niclas Adlertz
a235ecb344 8023003: Cleanup the public interface to PhaseCFG
Public methods that don't need to be public should be private.

Reviewed-by: kvn, twisti
2013-08-16 10:23:55 +02:00
Vladimir Kozlov
20f7d1a82a 8022993: Convert MAX_UNROLL constant to LoopMaxUnroll C2 flag
Replace MAX_UNROLL constant with new C2 LoopMaxUnroll flag.

Reviewed-by: roland
2013-08-14 10:21:26 -07:00
Niclas Adlertz
bfe8385fa9 8022284: Hide internal data structure in PhaseCFG
Hide private node to block mapping using public interface

Reviewed-by: kvn, roland
2013-08-07 17:56:19 +02:00
Vladimir Kozlov
f4c4fd7903 Merge 2013-08-01 17:25:10 -07:00
Morris Meyer
80b04bb48e Merge 2013-07-24 13:54:03 -07:00
Calvin Cheung
1a1e83be6a 8004872: Early loading of HashMap and StringValue under -XX:+AggressiveOpts can be removed
This fix also removes the -XX:+UseStringCache option

Reviewed-by: dholmes, acorn, iklam
2013-07-18 14:57:51 -07:00
Vladimir Kozlov
1338c067aa 8007898: Incorrect optimization of Memory Barriers in Matcher::post_store_load_barrier()
Generate one "fat" membar instead of set of barriers for volitile store

Reviewed-by: roland
2013-07-12 14:03:10 -07:00
Vladimir Kozlov
493c485dc3 Merge 2013-07-11 12:56:29 -07:00
Goetz Lindenmaier
b57506ea6c 8019973: PPC64 (part 11): Fix IA64 preprocessor conditionals on AIX
On AIX 7.1 systemcfg.h defines IA64 unconditionally, so test for !AIX where IA64 is used.

Reviewed-by: dholmes, kvn
2013-07-05 22:17:47 +02:00
David Chase
9a359984c2 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
Add intrinsics using new instruction to interpreter, C1, C2, for suitable x86; add test

Reviewed-by: kvn, twisti
2013-07-02 20:42:12 -04:00
Vladimir Kozlov
16f3142152 Merge 2013-07-03 11:50:29 -07:00
Vladimir Kozlov
fc1302ea95 8019247: SIGSEGV in compiled method c8e.e.t_.getArray(Ljava/lang/Class;)[Ljava/lang/Object
Undo recent changes (and add more comments) in Ideal_allocation().

Reviewed-by: roland
2013-07-02 10:30:49 -07:00
Vladimir Kozlov
7509ebea00 Merge 2013-06-27 13:04:51 -07:00
Niclas Adlertz
19d56715fa 8017243: 8001345 is incomplete
Replaces unused decodeN at MemBarAcquire with its corresponding loadN if loadN is used at more than one place.

Reviewed-by: kvn, twisti
2013-06-25 12:07:07 -07:00
Vladimir Kozlov
b390a2d8e3 Merge 2013-06-21 15:56:24 -07:00
Goetz Lindenmaier
0522ce7a17 8016586: PPC64 (part 3): basic changes for PPC64
Added #includes needed for ppc64 port. Renamed _MODEL_ppc to _MODEL_ppc_32 and renamed corresponding old _ppc files to _ppc_32.

Reviewed-by: dholmes, kvn
2013-06-20 16:30:44 -07:00