Commit Graph

4856 Commits

Author SHA1 Message Date
Christian Thalinger
a9112cd17c Merge 2014-05-30 10:07:19 -07:00
Christian Thalinger
8f1c6dfff7 Merge 2014-05-30 09:49:53 -07:00
Jon Masamitsu
7697ac03f5 Merge 2014-05-29 13:01:54 -07: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
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
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