4294 Commits

Author SHA1 Message Date
Roland Westrelin
7ef690b2c7 8026694: New type profiling points break compilation replay
Fixes compilation replay with new profiling points

Reviewed-by: kvn, twisti
2014-05-15 09:09:28 +02:00
Igor Veresov
d7b76028a4 8043063: Code aging should allocate MethodCounters when flushing a method
Make sure that MethodCounters are present when the method is flushed for the first time to switch on code aging

Reviewed-by: kvn
2014-05-14 14:28:09 -07:00
Volker Simonis
397abe646b 8043029: Change 8037816 breaks HS build with older GCC versions which don't support diagnostic pragmas
Added conditions around macro definitions for pragmas.

Reviewed-by: kvn
2014-05-14 12:09:13 -04:00
Vladimir Ivanov
38d80b03c4 8023461: Thread holding lock at safepoint that vm can block on: MethodCompileQueue_lock
Reviewed-by: kvn, iveresov
2014-03-11 15:06:34 +04:00
Igor Veresov
54db2c2d61 8032463: VirtualDispatch test timeout with DeoptimizeALot
Introduce code aging for warm method detection

Reviewed-by: kvn, twisti
2014-05-13 11:32:10 -07:00
Tobias Hartmann
5938d3d5b9 8021770: BackEdgeThreshold option is no longer used and should be removed
The BackEdgeThreshold option is removed because it is no longer used.

Reviewed-by: twisti, kvn, cjplummer
2014-05-13 11:25:17 +02:00
Christian Thalinger
c780be1a3a Merge 2014-05-12 17:01:57 -07:00
David Chase
305ec3bd3f 8037816: Fix for 8036122 breaks build with Xcode5/clang
Repaired or selectively disabled offending formats; future-proofed with additional checking

Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Tobias Hartmann
d2af4e35ec 8029343: CodeCache::allocate increments '_number_of_blobs' even if allocation fails
Incrementing the number of code blobs in CodeCache::allocate(...) is now only performed if allocation succeeds. The guarantee is fixed.

Reviewed-by: kvn, iveresov
2014-05-09 09:12:39 +02:00
Jon Masamitsu
39154726de Merge 2014-05-08 18:22:22 -07:00
Christian Thalinger
013509580f Merge 2014-05-08 15:16:49 -07:00
Christian Thalinger
b2d6f9f78a Merge 2014-05-08 15:08:45 -07:00
Albert Noll
ae28b717f4 8042431: compiler/7200264/TestIntVect.java fails with: Test Failed: AddVI 0 < 4
Define a new function that determines the minimum number of compiler threads for a particular platform/configuration.

Reviewed-by: kvn
2014-05-08 12:49:21 +02:00
Coleen Phillimore
39f7049fbb Merge 2014-05-07 18:19:31 -04:00
Lois Foltan
eddb53ffb9 8041620: Solaris Studio 12.4 C++ 5.13 change in behavior for placing friend declarations within surrounding scope
Remove adlc's unused class FileBuffRegion.

Reviewed-by: coleenp, dholmes, kvn
2014-05-06 09:56:55 -04:00
Lois Foltan
ee1b91d3f0 8041627: Solaris Studio 12.4 C++ 5.13 compilation error due to lack of "surplus" prototype for binaryTreeDictionary.cpp
Fix C++ compilation error diagnostic for the call of "surplus" within get_better_list() method.

Reviewed-by: coleenp, dholmes
2014-05-06 08:59:57 -04:00
Coleen Phillimore
7e2463ea72 8023697: failed class resolution reports different class name in detail message for the first and subsequent times
Cache detail message when we cache exception for constant pool resolution.

Reviewed-by: acorn, twisti, jrose
2014-05-05 19:53:00 -04:00
Christian Thalinger
78bfdda141 Merge 2014-05-02 19:00:04 -07:00
Daniel D. Daugherty
0b8b6462e4 Merge 2014-05-02 11:06:26 -07:00
Zhengyu Gu
16a3e2f16d 6885993: Named Thread: introduce print() and print_on(outputStream* st) methods
Eliminating duplicated code by introducing print_on(outputStream* st) methods in NamedThread

Reviewed-by: twisti, coleenp, dholmes
2014-05-01 05:52:28 -07:00
Jon Masamitsu
799155b537 Merge 2014-04-30 14:43:00 -07:00
Shrinivas Joshi
c0f886ec65 8035936: SIGBUS in StubRoutines::aesencryptBlock, solaris-sparc
Fix the arbitrary alignment issue in SPARC AES crypto stub routines.

Reviewed-by: kvn, iveresov
2014-04-30 14:14:01 -07:00
Vladimir Kozlov
5c074b749c 8041959: Skip replay parsing errors with ReplayIgnoreInitErrors
Allow replay compilation with replay file parsing error.

Reviewed-by: twisti, iveresov
2014-04-29 10:29:56 -07:00
Goetz Lindenmaier
6e6f0720a9 8042195: Introduce umbrella header orderAccess.inline.hpp
Reviewed-by: dholmes, kvn, stefank, twisti
2014-04-29 15:17:27 +02:00
Albert Noll
3073f25b0d 8042570: Excessive number of tests timing out on nightly testing due to fix for 8040798
Remove unnecessary lock in CompileBroker::mark_on_stack() that causes the deadlock

Reviewed-by: kvn, dcubed
2014-05-07 22:06:42 +02:00
Volker Simonis
142ed91465 8042443: Fix C++-Interpreter after "8036956: remove EnableInvokeDynamic flag"
Insert missing bracket to make the interpreter build again

Reviewed-by: sla
2014-05-06 13:08:28 +02:00
Albert Noll
5f49f406c7 Merge 2014-05-06 08:01:14 +00:00
Albert Noll
4eb39cef62 8042428: CompileQueue::free_all() code is incorrect
Free task after getting next pointer of freelist.

Reviewed-by: kvn, adlertz
2014-05-06 09:52:38 +02:00
Tobias Hartmann
85296fec28 8036851: volatile double accesses are not explicitly atomic in C2
The C2 structure is adapted to distinguish between volatile and non-volatile double accesses.

Reviewed-by: twisti, kvn
2014-05-06 09:17:57 +02:00
Tobias Hartmann
ded0d16e25 8042052: assert(t != NULL) failed: must set before get
Added missing call to _gvn.transform to make sure the type of the PhiNode is recorded in the gvn.

Reviewed-by: kvn
2014-05-05 15:10:43 +02:00
Christian Thalinger
d025c1f6ce Merge 2014-05-02 19:10:24 -07:00
Vladimir Kozlov
c909ac41de 8039298: assert(base == NULL || t_adr->isa_rawptr() || !phase->type(base)->higher_equal(TypePtr::NULL_PTR))
Convert the assert into the runtime check to skip IGVN optimizations for problematic memory nodes. Eliminate dead nodes more aggressively.

Reviewed-by: twisti, iveresov
2014-05-02 16:44:54 -07:00
Albert Noll
4865736713 Merge 2014-05-01 21:30:54 -07:00
Severin Gehwolf
a92fee550e 8041992: Fix of JDK-8034775 neglects to account for non-JIT VMs
Allow 0 compiler threads if no JIT is used.

Reviewed-by: kvn, dholmes
2014-05-02 06:24:39 +02:00
Bengt Rutisson
9968a23667 7132678: G1: verify that the marking bitmaps have no marks for objects over TAMS
Co-authored-by: Tony Printezis <tony.printezis@oracle.com>
Reviewed-by: jmasa, tschatzl, ehelin
2014-04-29 09:33:20 +02:00
Albert Noll
b1d07c3707 Merge 2014-04-29 07:14:46 +00:00
Tobias Hartmann
06c26b6f97 8036956: remove EnableInvokeDynamic flag
The EnableInvokeDynamic flag and all support code is removed because it is not longer used in JDK 9.

Reviewed-by: kvn, twisti
2014-04-29 08:08:44 +02:00
Albert Noll
dab05a3040 8040798: compiler/startup/SmallCodeCacheStartup.java timed out in RT_Baseline
Fixes broken memory freeing of compile queue tasks and makes sure that blocking compiles do not hang the VM if compilation gets disabled due to a full code cache.

Reviewed-by: kvn, iveresov
2014-04-29 07:59:22 +02:00
Morris Meyer
3fddcd2712 8040919: Uninitialised memory in hotspot/src/share/vm/compiler/oopMap.cpp
Parfait refactoring in OopMapSet::update_register_map

Reviewed-by: kvn, twisti
2014-04-28 16:05:12 -07:00
Tobias Hartmann
856856524e 8041771: C1: remove unused IR::_locals_size
The unused IR::_locals_size is removed.

Reviewed-by: kvn, roland
2014-04-28 14:34:12 +02:00
Albert Noll
7e3f05c6f7 Merge 2014-04-28 03:44:35 -07:00
Albert Noll
ff3717e719 8040085: dtrace/jsdt tests crash on solaris. found an unadvertised bad scavengable oop in the code cache
Add CodeCache::add_scavenge_root_nmethod(this) to the dtrace-constructor of nmethod

Reviewed-by: roland, iveresov
2014-04-28 12:39:12 +02:00
Staffan Larsen
a792009a9f Merge 2014-04-28 09:31:25 +00:00
Staffan Larsen
c1abf998a6 8041980: (hotspot) sun/jvmstat/monitor/MonitoredVm/CR6672135.java failing on all platforms
Reviewed-by: mgronlun, kamg
2014-04-28 09:27:47 +02:00
Peter Allwin
a610e558a5 Merge 2014-04-27 18:57:56 +02:00
Bharadwaj Yadavalli
469f17357c Merge 2014-04-25 14:29:47 -04:00
Erik Helin
b5474c811c Merge 2014-04-25 15:50:13 +02:00
Niclas Adlertz
922879d58e 8029302: Performance regression in Math.pow intrinsic
Added special case for x^y where y == 2

Reviewed-by: kvn, roland
2014-04-25 12:48:34 +02:00
Markus Grönlund
3852709df9 8041723: Event Based tracing ids to be reassigned for CDS klasses
Reviewed-by: coleenp, ehelin
2014-04-25 10:08:04 +02:00
Roland Westrelin
633a96c2e3 8041481: JVM crashes with collect_args_for_profiling
Method handle call to c1 intrinsic tries to profile popped argument

Reviewed-by: kvn, twisti
2014-04-25 09:22:16 +02:00