Commit Graph

6471 Commits

Author SHA1 Message Date
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
Jon Masamitsu
3e5805dc08 Merge 2014-06-02 06:29:34 -07:00
Per Lidén
44fc435b7e 8042310: TestStringDeduplicationMemoryUsage test failing
Reviewed-by: ehelin, jwilhelm
2014-05-30 10:43:51 +02:00
Per Lidén
06a856ab8a 8044132: Quarantine unstable/broken GC tests
Reviewed-by: ehelin, jwilhelm
2014-05-30 10:37:39 +02:00
Jon Masamitsu
7697ac03f5 Merge 2014-05-29 13:01:54 -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
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
John Coomes
e08330c0d5 Merge 2014-05-23 10:28:09 -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
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
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
Christian Tornqvist
d8ec75da34 8042595: [TESTBUG] runtime/7110720/Test7110720.sh rarely fails with message "explicit compiler command file not read"
Removed the shell test and moved the testcases into the already existing Java based tests

Reviewed-by: coleenp, lfoltan
2014-05-14 18:18:58 +02: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
Mikhailo Seledtsov
6e58e65cf7 8041938: [TESTBUG] runtime/SharedArchiveFile/CdsWriteError.java failed in RT_Baseline with 'Unable to create shared archive file' missing from stdout/stderr
His test is unstable in automated testing system, team agreed to remove it

Reviewed-by: coleenp, gtriantafill
2014-05-14 10:38:40 -04:00