Commit Graph

6476 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
Igor Ignatyev
cd910ffebb 8043899: compiler/5091921/Test7005594.java fails if specified -Xmx is less than 1600m
Reviewed-by: kvn, twisti, vlivanov
2014-05-28 14:42:00 +04: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
Dmitry Fazunenko
ef1fa497b3 8040250: The test test/gc/parallelScavenge/TestDynShrinkHeap.java fails with OOME
Reviewed-by: jmasa, iignatyev
2014-05-26 19:21:01 +04:00
Filipp Zhinkin
e7419662ba 8038924: Test bit-instructions fails with unexpected exit value on sparc
Reviewed-by: kvn, iignatyev
2014-05-26 19:05:01 +04: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
Roland Westrelin
a7d8aec5fb 8042557: compiler/uncommontrap/TestSpecTrapClassUnloading.java fails with: GC triggered before VM initialization completed
Larger heap size, bug fix when trying to exhaust memory

Reviewed-by: vlivanov, twisti, kvn
2014-05-26 10:48:58 +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
John Coomes
e08330c0d5 Merge 2014-05-23 10:28:09 -07: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
Lana Steuck
b1ddf14645 Merge 2014-05-22 14:38:34 -07:00
Dmitry Samersoff
e70b7ac623 8042155: [TESTBUG] Tests for stack guard pages have to be cleaned up
Tests for 6929067 and 8009062 should be composed to single test that provide better testing for stack guard pages behaviour

Reviewed-by: coleenp, dcubed, dsimms
2014-05-22 13:22:09 -07:00
David Katleman
b6a3e971bb Added tag jdk9-b14 for changeset 631682a70d8a 2014-05-22 12:53:50 -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
Dmitry Fazunenko
049c499423 8039489: Refactor test framework for dynamic VM options
Reviewed-by: jmasa, ehelin, jwilhelm
2014-05-20 18:25:14 +04:00
John Coomes
a7f214e715 8042255: make gc src file exclusion more automatic
Reviewed-by: brutisso, stefank, dholmes, rdurbin
2014-05-20 10:04:03 -07: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
Alejandro Murillo
697dee747b Merge 2014-05-16 02:13:12 -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
Lana Steuck
ec15b9375a Merge 2014-05-15 10:40:38 -07:00
David Katleman
5a070398b3 Added tag jdk9-b13 for changeset ca74accc73cf 2014-05-15 10:25:40 -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