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
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
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
Dmitry Samersoff
b89a834019
Merge
2014-05-28 15:03:36 +00:00
Dmitry Samersoff
c291efb1df
6904403: assert(f == k->has_finalizer(),"inconsistent has_finalizer") 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
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
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
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
Peter Allwin
09afb7b210
8027230: Overflow in java.lang.instrument.Instrumentation.getObjectSize() method
...
Reviewed-by: dholmes, sspitsyn
2014-05-22 09:12:29 +02: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
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
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