22881 Commits

Author SHA1 Message Date
Roland Westrelin
227129c4d9 8031754: Type speculation should favor profile data from outermost inlined method
Favor profile data coming from outer most method

Reviewed-by: kvn, twisti
2014-02-28 13:44:16 +01:00
Goetz Lindenmaier
74db1cc753 8035970: PPC64: fix ad file after 8027754: Enable loop optimizations for loops with MathExact
Reviewed-by: kvn
2014-02-27 20:40:24 +01:00
Roland Westrelin
58c97205d0 8032011: nsk/stress/jck60/jck60022 crashes in src\share\vm\runtime\synchronizer.cpp:239
Biased locking's revoke_bias locks monitor in compiled frame with eliminated lock

Reviewed-by: kvn, iveresov
2014-02-27 09:37:16 +01:00
Igor Veresov
2c99a4ef9f 8035283: Second phase of branch shortening doesn't account for loop alignment
Added missing check for loop padding case.

Reviewed-by: kvn, jrose
2014-02-26 16:45:15 -08:00
Goetz Lindenmaier
c01a8b9263 8035396: Introduce accessor for tmp_oop in frame
Avoid #ifs by introducing the accessor function interpreter_frame_temp_oop_addr().

Reviewed-by: kvn, twisti
2014-02-26 11:33:34 -08:00
Albert Noll
6dcf058035 Merge 2014-02-26 02:54:49 -08:00
Albert Noll
1258452546 Merge 2014-02-26 02:38:46 -08:00
Albert Noll
aa570e227c 8034839: jvm hangs with gc/gctests/LoadUnloadGC test
Provide fast lookup of checked dependencies via hashmap

Reviewed-by: kvn, roland
2014-02-26 11:29:47 +01:00
Niclas Adlertz
94a86285a7 8010500: [parfait] Possible null pointer dereference at hotspot/src/share/vm/opto/loopnode.hpp
Added NULL check for loopnode() in get_pre_loop_end()

Reviewed-by: kvn, roland
2014-02-26 07:46:46 +01:00
Albert Noll
39b5a040cd 8032642: [TESTBUG] Fix testbugs in compiler/startup/.*
Fixed issues with these tests

Reviewed-by: kvn, twisti
2014-02-26 07:44:59 +01:00
Roland Westrelin
84c68fc78a Merge 2014-02-25 10:42:25 -08:00
Roland Westrelin
493557fc90 8031752: Failed speculative optimizations should be reattempted when root of compilation is different
Support for speculative traps that keep track of the root of the compilation in which a trap occurs.

Reviewed-by: kvn, twisti
2014-02-25 18:16:24 +01:00
Niclas Adlertz
5d4b624caf 8033260: assert(lrg._area >= 0.0) failed: negative spill area
Change type from float to double on block frequency, and add check for +Inf - +Inf operation

Reviewed-by: kvn, roland
2014-02-25 17:51:27 +01:00
Niclas Adlertz
532b570e81 8032656: Tag the MachSpillCopies with purpose information
Subclassed the MachSpillCopyNode with different subnodes for different spill purposes to enhance debugging / visualization

Reviewed-by: kvn, roland
2014-02-25 14:09:02 +01:00
Albert Noll
a609fe84bb 8034775: Failing to initialize VM when running with negative value for -XX:CICompilerCount
Ensure appropriate min. number of compiler threads (1 for non-tiered, and 2 for tiered)

Reviewed-by: kvn
2014-02-25 13:52:37 +01:00
Niclas Adlertz
e3931e81eb 8032894: Remove dead code in Pressure::lower
Remove dead code in Pressure::lower

Reviewed-by: kvn, roland
2014-02-25 10:26:21 +01:00
Goetz Lindenmaier
683ea742f2 8034797: AIX: Fix os::naked_short_sleep() in os_aix.cpp after 8028280
Imlements os::naked_short_sleep(jlong ms) on AIX

Reviewed-by: dholmes, kvn
2014-02-19 14:03:09 -08:00
Vladimir Kozlov
5117e1a805 Merge 2014-02-19 12:08:49 -08:00
Erik Helin
c5ef624e7c Merge 2014-02-13 17:57:27 +01:00
Ioi Lam
d0baa9304f Merge 2014-02-11 10:05:02 -08:00
Ioi Lam
7f138c5502 7182040: volano29 limited by os resource on Linux - need better diagnostic message
Changed message to "unable to create native thread: possibly out of memory or process/resource limits reached"

Reviewed-by: dholmes, sla
2014-02-11 08:43:17 -08:00
Nils Eliasson
cde5c5862b 8034188: OSR methods may not be recompiled at proper compilation level
Remove_osr_nmethod doesn't check that it is the correct method

Reviewed-by: kvn, iveresov
2014-02-11 13:29:53 +01:00
Yumin Qi
a90e842e0c 8033792: AltHashing used jint for imprecise bit shifting
AltHashing used jint the way of juint in bit shifting which could lead loss of precision. Fix  by change _seed defined as juint.

Reviewed-by: coleenp, ccheung
2014-02-10 21:29:14 -08:00
Daniel D. Daugherty
35ff06e689 Merge 2014-02-10 14:07:11 -08:00
Daniel D. Daugherty
3c5c0ddbce Merge 2014-02-10 12:58:53 -08:00
Daniel D. Daugherty
cf5c3370a3 8028073: race condition in ObjectMonitor implementation causing deadlocks
Move redo of ParkEvent.unpark() after JVMTI_EVENT_MONITOR_WAITED event handler is called.

Reviewed-by: dholmes, sspitsyn, dice, acorn
2014-02-10 12:48:54 -08:00
Ron Durbin
57d286084a 8005262: possible gamma launcher issues
Cleaned out make targets and comments associated with the previously removed gamma launcher

Reviewed-by: dcubed, stefank
2014-02-10 12:38:34 -08:00
Christian Tornqvist
dd25d6fed0 8016644: Improve UnsupportedClassVersionError message
Improved the UnsupportedClassVersionError message to hopefully be more user friendly

Reviewed-by: coleenp, dholmes, twisti
2014-02-10 17:49:17 +01:00
Harold Seigel
7a48daef16 Merge 2014-02-09 13:28:58 -05:00
Coleen Phillimore
2759eb10ae 8033528: assert(0 <= i && i < length()) failed: index out of bounds
Restoring bytecodes for invokedynamic had wrong index calculation added testing stress option.

Reviewed-by: twisti, hseigel
2014-02-07 18:30:27 -05:00
Gerald Thornbrugh
3d76a6654e 8033931: Several nightly tests failing with assert(imin < imax) failed: Unexpected page size
Loosen new assert() in get_stack_commited_bottom()

Reviewed-by: dcubed, coleenp, dsamersoff, hseigel
2014-02-07 11:47:24 -08:00
Alejandro Murillo
9b7378e4fa Merge 2014-02-07 09:41:36 -08:00
Daniel D. Daugherty
62755b7358 8033714: hotspot 'install_jvm' bld target broken with ZIP_DEBUGINFO_FILES=0
Fixed faulty logic in makefiles when compressed FDS builds are disabled

Reviewed-by: rdurbin, dholmes, never, dnsimon, tbell
2014-02-07 09:03:44 -08:00
Oleg Mazurov
50b13833fa 8025841: JVMTI: "vtable stub" dynamic code notification is misplaced
Generate correct "vtable stub" dynamic code notifications

Reviewed-by: sspitsyn, kvn, coleenp
2014-02-06 20:13:38 -08:00
Coleen Phillimore
f23cf29e0f Merge 2014-02-06 20:32:08 +00:00
Frederic Parain
90b16fd7a9 Merge 2014-02-06 14:51:01 -05:00
Gerald Thornbrugh
d3a85e73a7 8029775: Solaris code cleanup
8033464: Linux code cleanup

Cleaned up warnings in solaris and linux specific os code.

Reviewed-by: coleenp, fparain, dcubed
2014-02-06 14:28:35 -05:00
Coleen Phillimore
3eb1ac89c6 8028735: runtime/RedefineObject/TestRedefineObject.java interrupted (timed out?) on solaris_sparcv9-fastdebug-c2-runtime and solaris_x64-debugOpen-c2-runtime
Change GC loop counter to 100 which is enough to test the original problem but doesn't timeout the test.

Reviewed-by: ctornqvi, lfoltan, mseledtsov, sla
2014-02-06 18:57:46 +00:00
Frederic Parain
41edfa7107 8030808: dtrace/hotspot/Monitors/Monitors001 fails in product builds on solaris-sparc
Reviewed-by: sspitsyn, dcubed, kamg, dholmes
2014-02-06 17:59:35 +00:00
Henry Jen
aae536aad7 8033289: clang: clean up unused function warning
Reviewed-by: coleenp, dholmes, mgerdin
2014-02-05 21:24:29 -08:00
Calvin Cheung
a3c78aac2f 8032010: Attempt to resolve abstract method in concrete class fails with AbstractMethodError
Removing a check in LinkResolver::resolve_method() to conform with a change in JVMS-8 5.4.3.3. Method Resolution

Reviewed-by: coleenp, lfoltan
2014-02-05 15:14:47 -08:00
Alejandro Murillo
ce3e113478 Merge 2014-02-05 08:57:33 -08:00
Stefan Johansson
05e4dd3c74 8033426: Scale initial NewSize using NewRatio if not set on command line
Now using NewRatio to size initial NewSize if not specified on commandline.

Reviewed-by: jmasa, jwilhelm
2014-02-05 11:05:13 +01:00
Serguei Spitsyn
465cfd7c01 8032223: nsk/regression/b4663146 gets assert(SafepointSynchronize::is_at_safepoint() || JvmtiEnv::is_thread_fully_suspended(get_thread(), false, &debug_bits))
It is better to calculate frame count for suspended threads at a safepoint

Reviewed-by: twisti, dsamersoff, sla, dholmes, dcubed
2014-02-04 19:41:46 -08:00
Staffan Larsen
731320a7fd 8033126: Can't call default methods from JNI
Reviewed-by: dholmes, acorn, kamg
2014-02-03 15:24:20 +01:00
Staffan Larsen
eaac73cf84 8032462: Change the linux SDT implementation to use USDT2 instead of USDT1
Reviewed-by: coleenp, sspitsyn, kamg
2014-02-03 13:41:26 +01:00
Harold Seigel
f8cf8b295d Merge 2014-02-02 15:31:40 -05:00
Ron Durbin
97d55c801e 8027113: decouple the '-XXaltjvm=<path>' option from the gamma launcher
Decoupled the '-XXaltjvm=<path>' option from the gamma launcher.  Clearing the way for removing the remaining cruft associated with the previously removed gamma launcher.

Reviewed-by: dcubed, dholmes
2014-01-30 14:12:22 -08:00
Goetz Lindenmaier
4c4b46e490 8033168: PPC64: gcc 4.8 warning in output_c.cpp
Fix warnings

Reviewed-by: kvn
2014-01-30 14:30:01 +01:00
Erik Helin
4b802a6d31 Merge 2014-01-30 14:01:45 +01:00