Commit Graph

4918 Commits

Author SHA1 Message Date
Daniel D. Daugherty
c1c9f333d5 8047156: cleanup more non-indent white space issues prior to Contended Locking cleanup bucket
Checkpoint some missed do_space_filter.ksh cleanups for Contended Locking.

Reviewed-by: sspitsyn, lfoltan, coleenp
2014-06-18 14:21:28 -07:00
Igor Veresov
d8ba26e6df Merge 2014-06-18 12:21:39 -07:00
Coleen Phillimore
cef2b3be11 8039150: host_klass invariant fails when verifying newly loaded JSR-292 anonymous classes
Initialize host_klass while parsing the class with the other initializations.

Reviewed-by: sspitsyn, stefank
2014-06-18 13:58:13 -04:00
Igor Veresov
7ae9df8697 8046684: sharedRuntime.cpp...assert(((nmethod*)cb)->is_at_poll_or_poll_return(pc)) failed: safepoint polling: type must be poll
Emit a poll relocation for the testl in is_polling_page_far() on x86

Reviewed-by: vlivanov, roland
2014-06-18 10:54:32 -07:00
Daniel D. Daugherty
7d153c461e 8046758: cleanup non-indent white space issues prior to Contended Locking cleanup bucket
Checkpoint do_space_filter.ksh cleanups for Contended Locking.

Reviewed-by: sspitsyn, coleenp
2014-06-17 12:54:01 -07:00
Daniel D. Daugherty
57113f7d70 Merge 2014-06-13 19:07:11 -07:00
Vladimir Kozlov
31d227f25d Merge 2014-06-13 10:21:30 -07:00
Lois Foltan
466ed1ae11 6961433: Revisit need to disable Windows C++ compiler optimisation of sharedRuntimeTrig.cpp
Remove pragma optimize ("", off) to turn off optimization for WIN32.

Reviewed-by: coleenp, dcubed, kvn
2014-06-12 13:37:53 -04:00
Vladimir Kozlov
b571b4214a 8046516: Segmentation fault in JVM (easily reproducible)
Place new nodes on the previous loop exit in reorg_offsets().

Reviewed-by: roland
2014-06-12 10:15:43 -07:00
David Simms
ba00ce514e 8046662: Check JNI ReleaseStringChars / ReleaseStringUTFChars verify_guards test inverted
Negative verify_guards when testing for corruption

Reviewed-by: sla, fparain
2014-06-12 11:34:35 +02:00
James Cheng
395560c428 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
Add C2 SHA intrinsics on SPARC

Reviewed-by: kvn, roland
2014-06-11 11:05:10 -07:00
David Simms
d9b63bdbdd 8043224: -Xcheck:jni improvements to exception checking and excessive local refs
Warning when not checking exceptions from function that require so, also when local refs expand beyond capacity.

Reviewed-by: zgu, coleenp, hseigel
2014-06-11 18:34:09 +02:00
Harold Seigel
b6a2f946f6 8031819: Remove legacy jdk checks and code
Delete old jdk specific code.

Reviewed-by: dholmes, coleenp, zgu, lfoltan
2014-06-11 09:58:23 -04:00
David Simms
6f97a45429 6311046: -Xcheck:jni should support checking of GetPrimitiveArrayCritical
Wrapped memory with standard bounds checking "GuardedMemory".

Reviewed-by: zgu, fparain, dcubed
2014-06-11 12:09:12 +02:00
Tobias Hartmann
83fc2acbd7 8044538: assert(which != imm_operand) failed: instruction is not a movq reg, imm64
Fixed internal_word_Relocation::target() to not retrieve target address from code if relocation points into the constant section. Added test.

Reviewed-by: kvn, twisti, dlong
2014-06-11 09:16:19 +02:00
Jon Masamitsu
dc694646b7 Merge 2014-06-10 20:46:28 -07:00
Daniel D. Daugherty
d5b7b9ffe3 Merge 2014-06-10 20:24:48 -07:00
Vladimir Kozlov
56cea022c9 8035605: Expand functionality of PredictedIntrinsicGenerator
Allow several predicates and separate intrinsic methods per one intrinsified (virtual) method.

Reviewed-by: roland
2014-06-10 12:28:06 -07:00
Harold Seigel
70c76ec8c4 8044738: Check attribute_length of EnclosingMethod attribute
Add check that attribute_length == 4.

Reviewed-by: fparain, coleenp, lfoltan
2014-06-10 14:04:37 -04:00
Roland Westrelin
2838bcc3bf 8026796: Make replace_in_map() on parent maps generic
Propagate node replacements along control flow edges to callers

Reviewed-by: kvn, vlivanov
2014-06-10 13:37:16 +02:00
Vladimir Ivanov
ea0470002e 8033626: assert(ex_map->jvms()->same_calls_as(_exceptions->jvms())) failed: all collected exceptions must come from the same place
Reviewed-by: kvn, roland
2014-06-10 10:00:59 +00:00
Tobias Hartmann
5067eae483 8033145: Runtime1::arraycopy_count_address uses wrong _oop_arraycopy_cnt variable
The method Runtime1::arraycopy_count_address(..) returns the address of Runtime::_oop_arraycopy_cnt instead of the the file static variable _oop_arraycopy_cnt.

Reviewed-by: roland, kvn, twisti
2014-06-10 08:53:22 +02:00
Vladimir Kozlov
0853423f46 8046275: Fastdebug build failing on jdk9/hs/ control jobs after pulling some hs-comp changes
Add missing check for Opaque nodes from loop predicates in clone_loop().

Reviewed-by: iveresov
2014-06-09 15:42:31 -07:00
Vladimir Ivanov
075ea25462 8046226: assert(_thread == Thread::current()) failed: thread must be current w/ -XX:+TraceDeoptimization -XX:+Verbose
Reviewed-by: twisti, dcubed, fparain
2014-06-09 11:49:02 +00:00
Vladimir Kozlov
655b317ad1 Merge 2014-06-06 11:37:23 -07:00
Christian Tornqvist
71b76d4073 8043492: ad_x86_64_misc.obj : error LNK2011: precompiled object not linked in; image may not run
Added _build_pch_file.obj to LD_FLAGS and cleaned up support for older Visual Studio versions

Reviewed-by: twisti, lfoltan, sla, kvn
2014-06-06 14:46:42 +02:00
Jon Masamitsu
24d624d6cb Merge 2014-06-05 10:34:57 -07:00
Tobias Hartmann
aeff8925b3 8031389: On x86 C1 emits two relocations for polls
C1 emits two poll_type relocations at safepoint polls because LIR_Assembler::safepoint_poll(..) adds a relocation and calls LIR_Assembler::add_debug_info_for_branch(..) which adds a relocation as well. The implementation of add_debug_info_for_branch(..) is changed to not emit a poll relocation.

Reviewed-by: kvn, roland
2014-06-05 10:43:16 +02:00
Per Lidén
9c1843a7c3 8044768: Backout fix for JDK-8040807
Reviewed-by: brutisso, ehelin
2014-06-04 14:16:20 +02:00
Staffan Larsen
8dc26f1a17 8044107: Add Diagnostic Command to list all ClassLoaders
Reviewed-by: mgerdin, stefank
2014-06-04 11:05:30 +02:00
Markus Grönlund
489a26ec8e 8044531: Event based tracing locks to rank as leafs where possible
Reviewed-by: dcubed, dholmes
2014-06-03 09:44:54 +02:00
Coleen Phillimore
3656168efc Merge 2014-06-01 11:56:15 -04:00
Staffan Larsen
7142b60efc 8044398: Attach code should propagate errors in Diagnostic Commands as errors
Reviewed-by: dcubed, mgronlun
2014-05-30 19:13:07 +02:00
Christian Thalinger
a9112cd17c Merge 2014-05-30 10:07:19 -07:00
Christian Thalinger
8f1c6dfff7 Merge 2014-05-30 09:49:53 -07:00
Daniel D. Daugherty
ad6d8d6abd 8036823: Stack trace sometimes shows 'locked' instead of 'waiting to lock'
Add a !owner check for 'waiting to lock' to catch current_pending_monitor corner cases.

Co-authored-by: Krystal Mok <rednaxelafx@gmail.com>
Co-authored-by: Zhengyu Gu <zhengyu.gu@oracle.com>
Reviewed-by: dholmes, sspitsyn, kmo, zgu
2014-05-30 07:20:51 -07:00
Jon Masamitsu
7697ac03f5 Merge 2014-05-29 13:01:54 -07:00
Lois Foltan
5ff7186a1c 8041623: Solaris Studio 12.4 C++ 5.13, CHECK_UNHANDLED_OOPS use of class oop's copy constructor definitions causing error level diagnostic
Fix several minor compilation issues with volatile oops for CHECK_UNHANDLED_OOPS support.

Reviewed-by: coleenp, hseigel
2014-05-29 08:58:51 -04:00
Erik Helin
65cf6a8edc 8042933: assert(capacity_until_gc >= committed_bytes) failed
Reviewed-by: stefank, jmasa
2014-05-29 14:31:28 +02:00
Bengt Rutisson
f013a5db3b Merge 2014-06-03 09:34:04 +00:00
Bengt Rutisson
426151a22e 8043239: G1: Missing post barrier in processing of j.l.ref.Reference objects
Removed all write barriers during reference processing and added explicit write barriers when iterating through the discovered list.

Reviewed-by: pliden, jmasa, tschatzl
2014-06-03 10:44:36 +02:00
Per Lidén
2652623308 8040807: G1: Enable G1CollectedHeap::stop()
Reviewed-by: brutisso, jmasa, tschatzl
2014-06-03 10:37:46 +02:00
Vladimir Ivanov
679712201d 8034935: JSR 292 support for PopFrame has a fragile coupling with DirectMethodHandle
Reviewed-by: twisti, jrose, sspitsyn
2014-05-29 09:41:07 +00:00
Igor Veresov
3966e14be8 8044090: C1: Old value instead of new one is passed to post-barrier in UnsafeGetAndSetObject
Pass correct value to post-barrier in UnsafeGetAndSetObject

Reviewed-by: roland, vlivanov
2014-05-28 07:59:23 -10:00
Dmitry Samersoff
b89a834019 Merge 2014-05-28 15:03:36 +00:00
Dmitry Samersoff
c291efb1df 6904403: assert(f == k-&gt;has_finalizer(),&quot;inconsistent has_finalizer&quot;) with debug VM
Don't assert if one of classes in hierarhy was redefined

Reviewed-by: coleenp, sspitsyn
2014-05-28 07:36:32 -07:00
Poonam Bajaj
39a6695059 8043086: Hotspot is expected to report OOM which is occurred String.intern(), but crashes in JDK8u5
In case of allocation failure, restore the value of _chunk in Arena

Reviewed-by: dholmes, dcubed
2014-05-28 06:26:05 -07:00
Yumin Qi
1a3734cdfa 8043896: Error reporting for insufficient shared region size is incorrect
In SharedSpaceType, we have three enum types which are used in report_out_of_shared_space(SharedSpaceType type). In fact we supplied more than three messages and flags. This leads the warning always gives wrong message with the first not used.

Reviewed-by: iklam, coleenp
2014-05-27 21:58:23 -07:00
Mikael Vidstedt
7ffabd53cf 8043206: Fix signed vs. unsigned comparison warning in copy_sparc.hpp
Reviewed-by: coleenp, lfoltan, kvn
2014-05-27 16:05:29 -07:00
Yumin Qi
49c3c35a14 8038422: CDS test failed: assert((size % os::vm_allocation_granularity()) == 0) failed when limiting SharedMiscDataSize
In debug version, the assert is against os::vm_allocation_granularity(), but in initialization, we use os::vm_page_size() to align the allocation size. In windows, _vm_page_size and _vm_allocation_granularity may not be same. In debug version, the assert is against os::vm_allocation_granularity(), but in initialization, we use os::vm_page_size() to align the allocation size. In windows, _vm_page_size and _vm_allocation_granularity may not be same.

Reviewed-by: dholmes, iklam, jiangli, coleenp
2014-05-27 08:44:23 -07:00