Commit Graph

5038 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
Jon Masamitsu
ad2e593b80 Merge 2014-06-18 12:39:57 -07:00
Daniel D. Daugherty
fe70c75531 Merge 2014-06-20 20:37:57 +00:00
Daniel D. Daugherty
e9d1677098 Merge 2014-06-20 12:45:24 -07:00
Mikael Vidstedt
bc8c6370ea 8046611: Build errors with gcc on sparc/fastdebug
Reviewed-by: dholmes, ctornqvi
2014-06-20 11:19:22 -07:00
Coleen Phillimore
d8ce93cea5 6642881: Improve performance of Class.getClassLoader()
Add classLoader to java/lang/Class instance for fast access

Reviewed-by: alanb, lfoltan, rriggs, vlivanov, twisti, jfranck
2014-06-19 14:49:33 -04:00
Coleen Phillimore
243d697d71 8026977: NPG: Remove ConstantPool::lock
Write klass and resolved_references constant pool fields lock free.

Reviewed-by: jrose, twisti
2014-06-19 11:16:10 -04: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
Jesper Wilhelmsson
5a516a9183 Merge 2014-06-18 13:02:33 +00:00
Dan Horak
88577971d0 8043722: Swapped usage of idx_t and bm_word_t types in parMarkBitMap.cpp
Clean up usage of idx_t and uintptr_t when using it in conjunction with BitMap::set_map(), casting to the appropriate type. Fixes compilation on S390.

Reviewed-by: tschatzl
2014-06-18 13:25:40 +02: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
Mikael Vidstedt
da1c36533e 8046769: Set T family feature bit on Niagara systems
Reviewed-by: kvn, iveresov
2014-06-16 16:27:41 -07:00
Daniel D. Daugherty
57113f7d70 Merge 2014-06-13 19:07:11 -07:00
Alejandro Murillo
73c2edba05 Merge 2014-06-13 19:05:56 -07:00
Vladimir Kozlov
31d227f25d Merge 2014-06-13 10:21:30 -07:00
Per Lidén
5e1811cd0e 8044796: G1: Enable G1CollectedHeap::stop()
Reviewed-by: brutisso, sjohanss
2014-06-13 13:46:06 +02:00
Jesper Wilhelmsson
17dd5faf6d 8046715: Add a way to verify an extended set of command line options
Added arguments_ext.cpp to make place for initialization of extended features

Reviewed-by: sla, mgronlun
2014-06-12 20:15:51 +02: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
Goetz Lindenmaier
8e7c8f1d88 8044775: Improve usage of umbrella header atomic.inline.hpp
Reviewed-by: stefank, kvn
2014-06-04 11:56:44 +02:00
Bengt Rutisson
9672a26d51 8043607: Add a GC id as a log decoration similar to PrintGCTimeStamps
Reviewed-by: jwilhelm, ehelin, tschatzl
2014-06-19 13:31:14 +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
Roland Westrelin
ee80d81323 8043638: Multiple compilation attempts break LogCompulation, lead to confusing PrintInlining output
Dumps inlining only for last compilation attempt. Fix LogCompilation tool so it handles multiple compilation attempts.

Reviewed-by: vlivanov, kvn
2014-05-26 14:27:01 +02:00
Dan Horak
f65e3fcaac 8043723: max_heap_for_compressed_oops() declared with size_t, but defined with uintx
The mismatch in declaration and definition has been encountered when compiling on a platform where the sizes are different. Change the method definition to match the declaration.

Reviewed-by: tschatzl, sjohanss
2014-05-26 09:31:43 +02:00
Coleen Phillimore
854f5afca7 Merge 2014-05-23 21:34:49 +00:00
Yuri Gaevsky
4f2c88d8cd 8043925: Fix typo in verifier.cpp
Fix lookupswitch

Reviewed-by: sla, coleenp
2014-05-23 16:54:01 -04:00
Coleen Phillimore
f5266ba9b2 Merge 2014-05-23 16:43:47 -04:00
Kirill Shirokov
20674a667a 8032970: Add stack size check methods to WhiteBox API
Reviewed-by: twisti, kvn, iignatyev
2014-05-24 00:04:21 +04:00
Christian Thalinger
71d4460883 Merge 2014-05-23 09:22:01 -07:00
Christian Thalinger
67ad89efd5 Merge 2014-05-22 16:26:05 -07:00
Lois Foltan
cab91cae04 8043301: Duplicate definitions in vm/runtime/sharedRuntimeTrans.cpp versus math.h in VS2013
Factor out definitions of copysignA and scalbnA into new file sharedRuntimeMath.hpp

Reviewed-by: dholmes, coleenp, kvn
2014-05-22 11:36:23 -04:00
Jon Masamitsu
6fc7041617 Merge 2014-05-22 06:39:47 -07:00
Rickard Bäckman
8bd4b5624c 8030976: Untaken paths should be more vigorously pruned at highest optimization level
Reviewed-by: roland, vlivanov
2014-05-22 13:42:44 +02:00
Rickard Bäckman
0915147727 8031994: java/lang/Character/CheckProp test times out
Reviewed-by: iveresov, roland
2014-06-04 10:01:28 +02:00
Mikael Vidstedt
baadb75921 8044735: Print format/argument warnings
Reviewed-by: twisti, kvn
2014-06-03 18:24:38 -07:00
Igor Ignatyev
f19a510532 8044339: Update FilterSpuriousWakeups documentation. Review "Solaris only" vm options descriptions
Reviewed-by: kvn, dholmes, iignatyev
2014-06-04 00:25:21 +04:00
Mikael Vidstedt
e09b9cbc3c 8044242: Remove dead NativeMovRegMemPatching class
Reviewed-by: twisti, kvn
2014-06-02 15:48:34 -07:00
Christian Thalinger
4c5c9f2ce7 Merge 2014-06-02 13:53:52 -07:00
David Chase
799c72a225 Merge 2014-06-02 15:49:53 -04:00
David Chase
23d6ad76d7 8029381: assert(is_method_type()) failed: bad cast
Access to method_type and appendix from constant pool (cpcache) needs to be guarded by is_f1_null() because of racy update/initialization.

Reviewed-by: kvn, coleenp, jrose
2014-06-02 14:32:29 -04:00
Christian Thalinger
a0b1b7ca70 Merge 2014-06-02 10:48:02 -07:00
Igor Veresov
ddffd7c3f1 8044496: 8034812 broke build with clang
Remove superfluous clang-diagnostic-pop

Reviewed-by: kvn, drchase
2014-06-02 07:26:52 -10:00
Roland Westrelin
bdb8050bbf 8043413: REGRESSION: Hotspot causes segmentation fault in jdk8ux, but not in jdk7ux
Long series of lambda form calls trigger stack overflow in c2

Reviewed-by: kvn, vlivanov
2014-06-02 10:01:15 +02:00
Tobias Hartmann
2a0815a55e 8034812: remove IDX_INIT macro hack in Node class
The IDX_INIT macro used by Node::Node(...) to retrieve the Compile object is removed and replaced by a call to Compile::current(). The Node constructor, new operator and all calls to it are adapted accordingly.

Reviewed-by: kvn, jrose, iveresov, goetz
2014-06-02 08:07:29 +02:00
Igor Ignatyev
b053fa4c48 Merge 2014-05-30 20:01:11 +00:00
Christian Thalinger
0bf0dadd05 Merge 2014-05-30 09:49:50 -07:00
Igor Ignatyev
f99eed3f24 8038756: new WB API :: get/setVMFlag
Reviewed-by: vlivanov, sla
2014-05-30 17:20:48 +04:00
Albert Noll
a3b9ebba8d 8011646: SEGV in compiled code with loop predication
Remove control edge of load node to ensure that castPP removal sets the control edge correctly

Reviewed-by: kvn, roland
2014-05-30 06:50:38 +02:00
Mikael Vidstedt
fc984ddd84 8044071: Print format/argument warnings
Reviewed-by: drchase, dholmes, lfoltan, twisti
2014-05-29 16:01:13 -07:00
Peter Allwin
09afb7b210 8027230: Overflow in java.lang.instrument.Instrumentation.getObjectSize() method
Reviewed-by: dholmes, sspitsyn
2014-05-22 09:12:29 +02:00
Shrinivas Joshi
638b464ed3 8043274: Test compiler/7184394/TestAESMain.java gets NPE on solaris
Save cipher len after registers are saved

Reviewed-by: kvn
2014-05-21 12:16:41 -07:00
Coleen Phillimore
b2989563ad Merge 2014-05-21 19:08:08 +00:00
Coleen Phillimore
ead7a2760b 8042727: nsk/jdb/unwatch/unwatch001 crash in InstanceKlass::methods_do(void (*)(Method*))
Only walk methods in instanceklass if the class is loaded

Reviewed-by: dholmes, fparain
2014-05-21 14:36:18 -04:00
Chuck Rasbold
1bf7f2b9a6 8043354: 8043354: Make is_return_allocated() respect allocated objects than can method-escape
In bcEscapeAnalyzer update the _allocated_escapes flag if a var escapes the method.

Reviewed-by: kvn
2014-05-21 10:54:59 -07:00
Erik Helin
8876554e3c 8043639: Backout JDK-8034852: Shrinking of Metaspace high-water-mark causes incorrect OutOfMemoryErrors or back-to-back GCs
Reviewed-by: stefank, tschatzl
2014-05-21 16:11:04 +02:00
Nils Eliasson
506db6a0ea 8031475: Missing oopmap in patching stubs
Add patch test for lir_checkcast in compute_oop_map

Reviewed-by: roland, twisti
2014-05-21 11:25:25 +02:00
Staffan Larsen
7f721c111b 8043314: Fix for JDK-8041934 causes assert(is_interpreted_frame()) failed: interpreted frame expected
Back out fix for JDK-8041934

Reviewed-by: coleenp, sspitsyn
2014-05-20 20:35:39 +02:00
Per Lidén
eddf95338d 8039042: G1: Phantom zeros in cardtable
Reviewed-by: tschatzl, mgerdin
2014-05-20 10:24:30 +02:00
Jon Masamitsu
92baa3214c Merge 2014-05-19 08:09:35 -07:00
Coleen Phillimore
024bb79ec8 Merge 2014-05-17 19:34:38 -04:00
Krystal Mok
e8c1213b23 8043264: hsdis library not picked up correctly on expected paths
Fix file separator issue on Windows

Reviewed-by: sla, sspitsyn
2014-05-17 01:59:43 -07:00
Serguei Spitsyn
7f2b064e43 8042796: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
Relax the guaranty for deleted methods

Reviewed-by: dcubed, coleenp
2014-05-16 15:05:44 -07:00
Yumin Qi
ec3e742de1 8042885: java does not take hexadecimal number as vm option
Java does not take number with hexadecimal format as options, fix enable hexadecimal format number can be used as vm option.

Reviewed-by: coleenp, lfoltan, ctornqvi, hseigel, mseledtsov
2014-05-15 20:16:14 -07:00
Coleen Phillimore
c336175c94 8038212: Method::is_valid_method() check has performance regression impact for stackwalking
Only prune metaspace virtual spaces at safepoint so walking them is safe outside a safepoint.

Reviewed-by: mgerdin, mgronlun, hseigel, stefank
2014-05-15 18:23:26 -04:00
Yuri Gaevsky
cc3c656cf1 8025580: Temporary flags: UseNewReflection and ReflectionWrapResolutionErrors
The fix removes all UseNewReflection/ReflectionWrapResolutionErrors occurrences/logic and adds them into the list of obsolete_jvm_flags in arguments.cpp.

Reviewed-by: coleenp, hseigel
2014-05-15 17:38:50 -04:00
Christian Thalinger
115d44f61b Merge 2014-05-15 11:35:26 -07:00
Ron Durbin
54da05d840 8028749: java -version crashes with 'fatal error: heap walk aborted with error 1'
Check_heap() should only call HeapWalk() when HeapLock() is successful.

Reviewed-by: ctornqvi, sla, dcubed
2014-05-15 10:44:20 -07:00
Lois Foltan
ca501f6b00 8041918: BootstrapMethods attribute cannot be empty
Allow a BootstrapMethods attribute that contains an empty bootstrap_methods table where num_bootstrap_methods is equal to zero.

Reviewed-by: coleenp, hseigel
2014-05-15 09:25:27 -04: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
Rickard Backman
f0baee0a2c 8041934: com/sun/jdi/RepStep.java fails in RT_Baseline on all platforms with assert(_cur_stack_depth == count_frames()) failed: cur_stack_depth out of sync
Missing call to jvmti_method_exit from native wrapper code

Reviewed-by: twisti, dcubed, sspitsyn
2014-05-14 20:44:33 +02:00
David Chase
ac6a099ed7 8043164: Format warning in traceStream.hpp
Added cast to placate gcc

Reviewed-by: kvn, zgu
2014-05-14 22:54:45 -04: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
Per Lidén
04341bfffb 8040804: G1: Concurrent mark stuck in loop calling os::elapsedVTime()
Reviewed-by: brutisso, tschatzl
2014-05-14 14:32:23 +02:00
Per Lidén
3f35cb0ca0 8040803: G1: Concurrent mark hangs when mark stack overflows
Reviewed-by: brutisso, ehelin
2014-05-14 13:32:44 +02:00
David Holmes
7ddc1c7f4e Merge 2014-05-12 20:25:53 -04:00
David Holmes
24cbe2a44d 8032551: Remove UsePPCLWSYNC from globals.hpp
Reviewed-by: lfoltan, zgu
2014-05-12 20:20:19 -04:00
Harold Seigel
976e7c8aa7 8040292: Annotation attributes must not appear more than once
Add checks for duplicate attributes.

Reviewed-by: coleenp, lfoltan
2014-05-12 13:12:30 -04:00
Lois Foltan
fc1a61a3df Merge 2014-05-12 15:50:20 +00:00
Volker Simonis
693f28c012 8039805: Fix the signature of the global new/delete operators in allocation.cpp
Reviewed-by: dholmes, lfoltan
2014-05-12 09:59:56 -04:00
Coleen Phillimore
388434f387 Merge 2014-05-12 09:47:57 -04:00
Jon Masamitsu
c69251b879 Merge 2014-05-09 19:47:41 -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
Erik Helin
8629eeb403 8034852: Shrinking of Metaspace high-water-mark causes incorrect OutOfMemoryErrors or back-to-back GCs
Reviewed-by: jmasa, pliden, stefank
2014-05-09 09:59:39 +02:00
Jon Masamitsu
39154726de Merge 2014-05-08 18:22:22 -07:00
Christian Thalinger
b2d6f9f78a Merge 2014-05-08 15:08:45 -07:00
Goetz Lindenmaier
fb62773268 8042737: Introduce umbrella header prefetch.inline.hpp
Reviewed-by: twisti, stefank
2014-05-08 15:37:17 +02:00
Yuri Gaevsky
5ec44ad8e9 6883953: java -client -XX:ValueMapInitialSize=0 crashes
Added lower bound check for ValueMapInitialSize

Reviewed-by: kvn
2014-05-20 09:35:05 +02:00
Bharadwaj Yadavalli
c66bd8445c 6563994: assert(wf.check_method_context(ctxk, m), "proper context") failed
Check for redefined method before finding unique concrete method

Reviewed-by: twisti, kvn
2014-05-19 20:28:35 +00:00
Christian Thalinger
12a085f587 Merge 2014-05-16 14:38:42 -07:00
Christian Thalinger
43ba79fce3 Merge 2014-05-16 14:35:37 -07:00
Vladimir Kozlov
5109884dec Merge 2014-05-16 12:06:36 -07:00
Vladimir Kozlov
6bfc0288f3 8042786: Proper fix for 8032566
Check for overflow cases in range checks and collapse it if we can.

Reviewed-by: jrose, iveresov
2014-05-16 12:05:14 -07:00
Igor Veresov
a2eea4770a 8043180: SIGSEGV in Events::log_deopt_message
Added missing deopt reason name Reason_tenured

Reviewed-by: kvn, twisti
2014-05-15 10:37:52 -07:00
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
Andreas Sjoberg
09c2deeb5a 8042474: Clean up duplicated code in RSHashTable
Removed duplicate code in RSHashTable to fetch SparsePRTEntries

Reviewed-by: tschatzl, brutisso
2014-05-08 10:29:17 +02:00
Coleen Phillimore
39f7049fbb Merge 2014-05-07 18:19:31 -04:00
Gerard Ziemski
ed9c096396 8038654: Separate SymbolTable and StringTable code
Refactor stringTable class out of symbolTable, making sure all includes are minimal set and are sorted.

Reviewed-by: coleenp, stefank
2014-05-07 14:16:45 -05:00
Harold Seigel
2216f41ed6 8037157: Verify <init> call
Check for null method

Reviewed-by: coleenp, acorn, mschoene
2014-05-07 19:34:48 +04:00
Karen Kinnear
55dc1a6965 8037167: Better method signature resolution
Reviewed-by: mschoene, hseigel, lfoltan
2014-07-14 13:15:06 +04:00
Harold Seigel
53685b407a 8036800: Attribute OOM to correct part of code
Checks that the attribute_length does not exceed the length of remaining data in the class file

Reviewed-by: coleenp, ahgross
2014-07-14 13:01:34 +04:00
Harold Seigel
13d9244b49 8035119: Fix exceptions to bytecode verification
Prevent ctor calls to super() and this() from avoidable code (try blocks, if stmts, etc.)

Reviewed-by: coleenp, acorn, mschoene
2014-07-14 12:45:14 +04:00
Harold Seigel
afbd45bb8c 8032536: JVM resolves wrong method in some unusual cases
Handle package private case

Reviewed-by: coleenp, acorn, jdn
2014-05-07 19:21:52 +04:00
Harold Seigel
7ec22758dc 8030763: Validate global memory allocation
Add length checks where necessary

Reviewed-by: coleenp, mschoene
2014-07-14 12:43:50 +04:00
Zhengyu Gu
adcde492fa 8041415: remove port.{cpp,hpp} files
Hotspot should use standard headers and types

Reviewed-by: coleenp, kvn
2014-05-07 06:03:31 -07: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
Staffan Larsen
a51135b202 8031126: java/lang/management/ThreadMXBean/ThreadUserTime.java fails intermittently
Reviewed-by: coleenp, simonis, goetz, gthornbr
2014-05-05 20:17:19 +02:00