Commit Graph

1097 Commits

Author SHA1 Message Date
Dmitrij Pochepko cfe7d16002 8162603: Unrecognized VM option 'UseCountedLoopSafepoints'
Reviewed-by: kvn
2016-07-28 16:09:31 +03:00
Roland Westrelin 00c5ef5b27 8161147: jvm crashes when -XX:+UseCountedLoopSafepoints is enabled
Don't convert loop with safepoint on the backedge to Counted loop

Reviewed-by: kvn
2016-07-25 14:31:42 -07:00
Ioi Lam 32fcff2ef8 8150752: Share Class Data
Reviewed-by: acorn, hseigel, mschoene
2016-03-24 21:38:15 -07:00
Vladimir Kempik 9ba3601252 8152098: Fix 8151522 caused test compiler/intrinsics/squaretolen/TestSquareToLen.java to fail
Reviewed-by: kvn
2016-03-18 17:23:07 +03:00
Poonam Bajaj 613c6fe30d 8076995: gc/ergonomics/TestDynamicNumberOfGCThreads.java failed with java.lang.RuntimeException: 'new_active_workers' missing from stdout/stderr
Reviewed-by: jmasa, drwhite
2016-04-04 10:59:22 -07:00
Kevin Walls f1787d3c03 8150518: G1 GC crashes at G1CollectedHeap::do_collection_pause_at_safepoint(double)
Reviewed-by: jmasa, kbarrett, tschatzl
2016-03-29 13:05:07 +01:00
Vladimir Kempik d0724d1d2b 8152098: Fix 8151522 caused test compiler/intrinsics/squaretolen/TestSquareToLen.java to fail
Reviewed-by: kvn
2016-03-18 17:23:07 +03:00
Vladimir Kempik 79b5a05b5f 8151522: Disable 8130150 and 8081778 intrinsics by default
Reviewed-by: kvn
2016-03-09 19:51:23 +03:00
Vladimir Kempik 5ecfaab343 8151522: Disable 8130150 and 8081778 intrinsics by default
Reviewed-by: kvn
2016-03-09 19:51:23 +03:00
Vladimir Kempik 015152c046 8130150: Implement BigInteger.montgomeryMultiply intrinsic
Reviewed-by: kvn, mdoerr
2016-03-04 16:15:48 +03:00
Vladimir Kempik 393d49b343 8130150: Implement BigInteger.montgomeryMultiply intrinsic
Reviewed-by: kvn, mdoerr
2016-03-04 16:15:48 +03:00
Roland Westrelin 924f49a47a 8148353: [linux-sparc] Crash in libawt.so on Linux SPARC
Gcc expects clean 32 bit int in 64 bit register on function entry

Reviewed-by: kvn, dlong
2016-02-29 16:08:11 +01:00
Abhijit Saha e3e7ae1eb6 Merge 2016-02-22 13:11:38 -08:00
Ivan Gerasimov d4d9e036ab 8081778: Use Intel x64 CPU instructions for RSA acceleration
Add intrinsics for BigInteger squareToLen and mulAdd methods.

Reviewed-by: kvn, jrose
2016-02-17 13:40:12 +03:00
Alexander Vorobyev e64e82da7a 8059661: Test SoftReference and OOM behavior
Reviewed-by: coffeys
2016-02-12 18:15:57 +03:00
Abhijit Saha 7559d542b7 Merge 2016-02-08 11:54:32 -08:00
Dmitry Fazunenko 54ad16ca5b 8134963: [Newtest] New stress test for changing the coarseness level of G1 remembered set
Reviewed-by: tschatzl, mchernov
2016-02-03 19:13:31 +03:00
Cheleswer Sahu 8e68fb15fd 8073735: [TEST_BUG] compiler/loopopts/CountedLoopProblem.java got OOME
Ignore OOM in the test

Reviewed-by: kvn
2016-01-28 09:41:33 +00:00
Tobias Hartmann 3bfe267422 6675699: need comprehensive fix for unconstrained ConvI2L with narrowed type
Emit CastII to make narrow ConvI2L dependent on the corresponding range check.

Reviewed-by: kvn, roland
2016-01-27 09:02:51 +01:00
David Buck baf5076889 8139424: SIGSEGV, Problematic frame: # V [libjvm.so+0xd0c0cc] void InstanceKlass::oop_oop_iterate_oop_maps_specialized<true,oopDesc*,MarkAndPushClosure>
The crash was caused by a faulty eager humongous reclaim. The reason for reclaiming a live object was that the call to cleanupHRRS was done after dirtying cards and clearing the remembered sets for the humongous object. This could lead to one or many cards being missed.

Reviewed-by: tbenson, kbarrett, tschatzl
2016-01-19 18:16:40 +00:00
Roland Westrelin ba74679853 8134031: Incorrect JIT compilation of complex code with inlining and escape analysis
Bad rewiring of memory edges when we split unique types during EA

Reviewed-by: kvn
2015-08-31 17:20:08 +02:00
Andreas Eriksson 73d1f73040 8131333: [TESTBUG] RedefineRunningMethodsWithResolutionErrors.java Improperly specified VM option 'TraceRedefineClasses=0x600'
Reviewed-by: coleenp, sspitsyn
2015-07-15 15:32:33 +02:00
Cheleswer Sahu f5033d031c 8138745: Implement ExitOnOutOfMemory and CrashOnOutOfMemory in HotSpot
Reviewed-by: dholmes
2016-01-07 02:36:48 -08:00
Sergei Kovalev 0d22b67cef 8144937: [TEST_BUG] testlibrary_tests should be excluded for compact1 and compact2 execution
Reviewed-by: dholmes, rriggs
2015-12-25 14:03:45 +03:00
Andreas Eriksson a530cac62d 6869327: Add new C2 flag to keep safepoints in counted loops
Reviewed-by: kvn
2015-12-04 14:06:38 +01:00
Leonid Mesnik 223c5868a7 8065579: WB method to start G1 concurrent mark cycle should be introduced
Add a WhiteBox callback to the VM to start a concurrent mark cycle in G1.

Reviewed-by: tschatzl, sjohanss
2015-12-02 13:58:34 +05:30
David Buck 4b08d212f9 8022865: [TESTBUG] Compressed Oops testing needs to be revised
Rewrote compressed oops tests

Reviewed-by: kvn, coleenp, mseledtsov
2015-12-08 14:23:56 +00:00
Christian Tornqvist 2afd0dbfe3 8055844: [TESTBUG] test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java fails on Solaris Sparc due to incorrect page size being used
Use 128KB chunks for virtual memory operations

Reviewed-by: zgu, gtriantafill
2014-08-22 14:21:41 -07:00
Roland Westrelin f597b4ea0d 8148353: [linux-sparc] Crash in libawt.so on Linux SPARC
Gcc expects clean 32 bit int in 64 bit register on function entry

Reviewed-by: kvn, dlong
2016-02-29 16:08:11 +01:00
Roland Westrelin 669b6b9bc7 8147645: get_ctrl_no_update() code is wrong
Array.fill intrinsification code doesn't mark replaced control as dead

Reviewed-by: kvn
2016-02-03 10:58:50 +01:00
David Buck d78f9b7061 8017462: G1: guarantee fails with UseDynamicNumberOfGCThreads
Reviewed-by: jmasa, tamao
2016-02-18 20:30:45 +00:00
Poonam Bajaj 8555fc97b9 Merge 2016-02-17 13:42:03 +00:00
Ivan Gerasimov 57e9c78e57 8081778: Use Intel x64 CPU instructions for RSA acceleration
Add intrinsics for BigInteger squareToLen and mulAdd methods.

Reviewed-by: kvn, jrose
2016-02-17 13:40:12 +03:00
Poonam Bajaj dbdb35c87b 8072725: Provide more granular levels for GC verification
Add option VerifySubSet to selectively verify the memory sub-systems

Reviewed-by: kevinw, jmasa
2016-02-16 21:42:29 +00:00
Tobias Hartmann d00754fa6c 8148752: Compiled StringBuilder code throws StringIndexOutOfBoundsException
Fixed handling of long/double MH arguments in GraphBuilder::try_method_handle_inline().

Reviewed-by: roland, shade, vlivanov, kvn, twisti
2016-02-16 08:11:33 +01:00
Alexander Vorobyev 7a8ba94b7a 8059661: Test SoftReference and OOM behavior
Reviewed-by: coffeys
2016-02-12 18:15:57 +03:00
Dmitry Fazunenko 3cc4cc0f8c 8134963: [Newtest] New stress test for changing the coarseness level of G1 remembered set
Reviewed-by: tschatzl, mchernov
2016-02-03 19:13:31 +03:00
Cheleswer Sahu 1dc5cadca0 8073735: compiler/loopopts/CountedLoopProblem.java got OOME
Ignore OOM in the test

Reviewed-by: kvn
2016-01-28 09:41:33 +00:00
Tobias Hartmann f51da0f1a0 6675699: need comprehensive fix for unconstrained ConvI2L with narrowed type
Emit CastII to make narrow ConvI2L dependent on the corresponding range check.

Reviewed-by: kvn, roland
2016-01-27 09:02:51 +01:00
Shafi Ahmad ca3ae54675 8044575: testlibrary_tests/whitebox/vm_flags/UintxTest.java failed: assert(!res || TypeEntriesAtCall::arguments_profiling_enabled()) failed: no profiling of arguments
Reviewed-by: kvn, jmasa
2014-06-10 23:18:25 +04:00
Cheleswer Sahu e43abe4fd2 8063086: Math.pow yields different results upon repeated calls
C2 treats x^2 as a special case and computes x * x while the interpreter and c1 don't have special case code for X^2.

Reviewed-by: kvn
2016-05-24 17:49:06 +05:30
Christian Tornqvist 1a2988f96b 8044364: runtime/RedefineFinalizer test fails on windows
Rewrote the test in pure Java, added RedefineClassHelper utility class

Reviewed-by: coleenp, allwin, gtriantafill, dsamersoff
2014-06-02 19:08:18 +02:00
Dmitry Samersoff 11eaad476a 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
Andreas Eriksson 887887f6cd 8076110: VM crash when class is redefined with Instrumentation.redefineClasses
Reviewed-by: coleenp, sspitsyn
2015-06-16 15:59:57 +02:00
Thomas Schatzl fbde7ab834 8129604: Incorrect GPL header in README causes RE script to create wrong output
Fix up GPL headers by removing leading "#" so that the RE script works.

Reviewed-by: brutisso, coleenp
2015-06-25 09:04:28 +02:00
Thomas Schatzl 212ad4665e 8129602: Incorrect GPL header causes RE script to create wrong output
Fix up GPL headers so that the RE script works.

Reviewed-by: stefank, dholmes, coleenp
2015-06-25 10:12:25 +02:00
Vladimir Ivanov f3ae8f0385 8074551: GWT can be marked non-compilable due to deopt count pollution
Reviewed-by: kvn
2015-06-11 14:19:40 +03:00
Andrew Haley 7d4e013627 8080600: AARCH64: testlibrary does not support AArch64
Partial backport of 8080600 to make AArch64 a known platform

Reviewed-by: dholmes, coleenp
2015-06-23 22:14:58 -04:00
David Holmes d717482bf1 Merge 2015-06-10 20:15:29 -04:00
Sergei Kovalev 67bbeadb7a 8078834: [TESTBUG] Tests fails on ARM64 due to unknown hardware
Reviewed-by: dholmes, adinn
2015-05-20 09:07:36 -04:00
Roland Westrelin fee0548ed9 8077504: Unsafe load can loose control dependency and cause crash
Node::depends_only_on_test() should return false for Unsafe loads

Reviewed-by: kvn, adinn
2015-06-03 14:22:57 +02:00
Andreas Eriksson fa223c2598 8051045: HotSpot fails to wrap Exceptions from invokedynamic in a BootstrapMethodError
Reviewed-by: coleenp, dsimms
2015-05-07 15:05:46 +02:00
Tobias Hartmann aedf674676 8080156: Integer.toString(int value) sometimes throws NPE
Added test to check correctness of type propagation to CmpUNodes.

Reviewed-by: kvn
2015-05-22 13:02:47 +02:00
Denis Kononenko 06da6ba558 8077620: [TESTBUG] Some of the hotspot tests require at least compact profile 3
Reviewed-by: dholmes, vlivanov
2015-05-25 18:48:06 -04:00
Roland Westrelin dbdc162e40 8038636: speculative traps break when classes are redefined
Remove speculative traps that point to methods that are redefined

Reviewed-by: kvn, twisti
2014-04-08 09:51:25 +02:00
Christian Tornqvist 5fb2e4f068 8007890: [TESTBUG] JcmdWithNMTDisabled.java fails when invoked with NMT explicitly turned on
Wrapped the test in another layer process creation to avoid NMT being turned on.

Reviewed-by: coleenp, dcubed
2014-03-27 22:36:08 +01:00
Christian Tornqvist 841807b41e 8007890: [TESTBUG] JcmdWithNMTDisabled.java fails when invoked with NMT explicitly turned on
Wrapped the test in another layer process creation to avoid NMT being turned on.

Reviewed-by: coleenp, dcubed
2014-03-27 22:36:08 +01:00
Stefan Johansson 45cdec5131 8031686: G1: assert(_hrs.max_length() == _expansion_regions) failed
Using pointer_delta to avoid overflowing pointer calculation.

Reviewed-by: jwilhelm, ehelin
2014-01-20 10:55:54 +01:00
Volker Simonis 89885de1e8 8080190: PPC64: Fix wrong rotate instructions in the .ad file
Reviewed-by: kvn
2015-05-19 11:06:34 +02:00
Andrey Zakharov 5e87763e5c 8061715: gc/g1/TestShrinkAuxiliaryData15.java fails with java.lang.RuntimeException: heap decommit failed - after > before
Added WhiteBox methods to count regions and exact aux data sizes

Reviewed-by: jwilhelm, brutisso
2015-05-19 15:49:27 +02:00
Kim Barrett 26055f8bcb 8069367: Eagerly reclaimed humongous objects left on mark stack
Prevent eager reclaim of objects that might be on mark stack.

Reviewed-by: brutisso, tschatzl
2015-04-15 12:16:01 -04:00
Thomas Schatzl 250126c650 8048179: Early reclaim of large objects that are referenced by a few objects
Push the remembered sets of large objects with few referenced into the dirty card queue at the beginning of the evacuation so that they may end up with zero remembered set entries at the end of the collection, and are potentially reclaimed. Also improve timing measurements of the early reclaim mechanism, and shorten flag names.

Reviewed-by: brutisso, jmasa, dfazunen
2015-01-07 15:15:37 +01:00
Tobias Hartmann fae0f563be 8078497: C2's superword optimization causes unaligned memory accesses
Prevent vectorization of memory operations with different invariant offsets if unaligned memory accesses are not allowed.

Reviewed-by: kvn
2015-05-08 12:19:17 +02:00
Coleen Phillimore 06e5d1f192 8035132: [TESTBUG] test/runtime/lambda-features/InvokespecialInterface.java test has unrecognized option
Add IgnoreUnrecognizedVMOptions for product mode run

Reviewed-by: ctornqvi, dholmes
2014-02-18 09:54:24 -05:00
Boris Molodenkov beabc0d8b4 8050486: compiler/rtm/ tests fail due to monitor deflation at safepoint synchronization
Reviewed-by: kvn, iignatyev
2015-04-30 12:06:39 -07:00
Boris Molodenkov 89217ef90e 8068272: Extend WhiteBox API with methods that check monitor state and force safepoint
Reviewed-by: kvn, iignatyev
2015-04-30 11:47:53 -07:00
Boris Molodenkov 2e36b0263c 8058846: c.o.j.t.Platform::isX86 and isX64 may simultaneously return true
Reviewed-by: kvn
2015-04-30 11:45:20 -07:00
David Holmes 5d345c4cf6 8078470: [Linux] Replace syscall use in os::fork_and_exec with glibc fork() and execve()
Reviewed-by: stuefe, dsamersoff, dcubed
2015-04-29 19:37:10 -04:00
Vladimir Ivanov 9441584df6 8062280: C2: inlining failure due to access checks being too strict
Reviewed-by: kvn
2015-04-14 18:11:06 +03:00
Evgeniya Stepanova 6ebeeca113 8038098: [TESTBUG] remove explicit set build flavor from hotspot/test/compiler/* tests
Reviewed-by: kvn, iignatyev
2015-04-23 13:02:32 +03:00
Thomas Schatzl 1e6b498190 8078375: [TESTBUG] gc/g1/TestLargePageUseForAuxMemory.java specifies wrong library path
Reviewed-by: jmasa, jwilhelm
2015-04-24 09:47:07 +02:00
Jesper Wilhelmsson af34e1df69 8062537: [TESTBUG] Conflicting GC combinations in hotspot tests
Reviewed-by: tschatzl, jwilhelm
2015-04-23 15:59:48 +02:00
Thomas Schatzl 5a73324abd 8058354: SPECjvm2008-Derby -2.7% performance regression on Solaris-X64 starting with 9-b29
Allow use of large pages for auxiliary data structures in G1. Clean up existing interfaces.

Reviewed-by: jmasa, pliden, stefank
2015-04-07 10:53:51 +02:00
Yumin Qi cc689f5d7f 8053995: Add method to WhiteBox to get vm pagesize
Unsafe is not recommended and may deprecated in future. Added a WhiteBox API to get VM page size.

Reviewed-by: dholmes, ccheung, mseledtsov
2014-11-26 10:32:21 -08:00
Erik Helin 5368b949a5 8049536: os::commit_memory on Solaris uses aligment_hint as page size
Reviewed-by: stefank, tschatzl
2014-09-15 10:57:22 +02:00
Roland Westrelin a005f1cf0b 8075587: Compilation of constant array containing different sub classes crashes the JVM
Meet of 2 constant arrays result in bottom

Reviewed-by: kvn
2015-03-27 13:47:33 +01:00
Roland Westrelin 468ba82cae 8069263: assert(fm == NULL || fm->method_holder() == _participants[n]) failed: sanity
Default methods added to classes confuse dependency processing

Reviewed-by: kvn
2015-03-12 14:15:09 +01:00
Harold Seigel 023aabbb68 7127066: Class verifier accepts an invalid class file
For *store bytecodes, compare incoming, not outgoing, type state with exception handlers' stack maps.

Reviewed-by: acorn, dholmes
2015-03-25 08:16:48 -04:00
Bengt Rutisson 85fe9907e5 8027962: Per-phase timing measurements for strong roots processing
Reviewed-by: tschatzl, ecaspole
2015-03-19 15:25:54 +01:00
Thomas Schatzl 289d45ccfd Merge 2015-03-24 10:04:10 +00:00
Harold Seigel 8e3c2b75fb 8075118: JVM stuck in infinite loop during verification
Keep a list of handlers to prevent the same handler from being scanned repeatedly.

Reviewed-by: dlong, dholmes
2015-03-19 08:55:50 -04:00
Zoltan Majo c0443563e8 8074869: C2 code generator can replace -0.0f with +0.0f on Linux
Instead of 'fpclass', use cast float->int and double->long to check if value is +0.0f and +0.0d, respectively.

Reviewed-by: kvn, simonis, dlong
2015-03-19 19:53:34 +01:00
Sangheon Kim 184985e0cc 8058801: G1TraceReclaimDeadHumongousObjectsAtYoungGC only prints humongous object liveness output when there is at least one candidate humongous object
If G1TraceReclaimDeadHumongousObjectsAtYoungGC is enabled, always print humongous object liveness output.

Reviewed-by: tschatzl
2014-10-10 12:15:51 +02:00
Tobias Hartmann c4abf66a30 8006960: hotspot, "impossible" assertion failure
Escape state of allocated object should be always adjusted after it was passed to a method.

Reviewed-by: kvn
2015-03-02 13:40:40 +01:00
Igor Veresov f4ad3e3de7 8072753: Nondeterministic wrong answer on arithmetic
Check for overflow when inverting the loop during the counted loop conversion

Reviewed-by: kvn
2015-02-17 11:00:18 -08:00
Goetz Lindenmaier 4012f4f9b1 8068013: [TESTBUG] Aix support in hotspot jtreg tests
Reviewed-by: ctornqvi, fzhinkin, farvidsson
2015-01-21 12:38:11 +01:00
Axel Siebenborn 134dfd32a7 8068909: SIGSEGV in c2 compiled code with OptimizeStringConcat
Reviewed-by: kvn
2015-01-16 13:58:22 +01:00
Filipp Zhinkin 7e72b872ed 8066143: [TESTBUG] New tests in gc/survivorAlignment/ fails
Reviewed-by: jmasa
2014-12-15 18:11:51 +04:00
Filipp Zhinkin 083386f241 8037968: Add tests on alignment of objects copied to survivor space
Reviewed-by: jmasa, dfazunen
2014-11-26 14:17:06 +04:00
Kevin Walls 0d726a04ff 8061785: [TEST_BUG] serviceability/sa/jmap-hashcode/Test8028623.java has utf8 character corrupted by earlier merge
Reviewed-by: sla, dsamersoff
2014-12-04 12:43:45 +00:00
Kevin Walls 8ee59c6f69 8039995: Test serviceability/sa/jmap-hashcode/Test8028623.java fails on some Linux/Mac machines
Reviewed-by: dsamersoff, allwin, sla
2014-12-03 20:40:00 +00:00
Mikhailo Seledtsov 28d47341e1 8067232: [TESTBUG] runtime/CheckEndorsedAndExtDirs/EndorsedExtDirs.java fails with ClassNotFoundException
Added explicit build instructions for test library

Reviewed-by: minqi, mchung, jiangli
2014-12-11 18:53:50 -05:00
Roland Westrelin 5b5bf9b9e9 8066103: C2's range check smearing allows out of bound array accesses
Range check smearing uncorrectly adjust first range check in a list of range checks to cover all of them

Reviewed-by: jrose, kvn, iveresov
2014-12-09 18:49:13 +01:00
Roland Westrelin 1b551d2c28 8067144: SIGSEGV with +TraceDeoptimization in Deoptimization::print_objects
-XX:+TraceDeoptimization tries to print realloc'ed objects even when there are none

Reviewed-by: kvn
2014-12-10 16:45:55 +01:00
Roland Westrelin 91dc7b5d8f 6898462: The escape analysis with G1 cause crash assertion src/share/vm/runtime/vframeArray.cpp:94
OOM during reallocation of scalar replaced objects in deoptimization causes crashes

Reviewed-by: kvn, jrose
2014-11-25 17:33:59 +01:00
Igor Veresov cfac046837 8066900: Array Out Of Bounds Exception causes variable corruption
Fix FP registers save/restore during exception handling

Reviewed-by: kvn, vlivanov
2014-12-09 12:25:38 -08:00
Roland Westrelin af8bf63801 8048170: Test closed/java/text/Normalizer/ConformanceTest.java failed
PhaseIdealLoop::split_if_with_blocks_post() shoulnd't reorder range checks adjusted by range check smearing

Reviewed-by: kvn, jrose
2014-12-04 14:34:11 +01:00
Ioi Lam 083d63c17f 8066670: PrintSharedArchiveAndExit does not exit the VM when the archive is invalid
In FileMapInfo::fail_continue do not set UseSharedSpaces = false

Reviewed-by: dholmes, ccheung
2014-12-04 15:20:09 -08:00
Mandy Chung 23cb381249 Merge 2014-12-02 18:09:39 +00:00
Tatiana Pivovarova 17ee5da3ff 8062742: compiler/EliminateAutoBox/UnsignedLoads.java fails with client vm
Reviewed-by: kvn, rbackman, anoll, vlivanov, iignatyev
2014-12-02 20:13:17 +03:00
Mandy Chung 37770bb90e 8065765: Missing space in output message from -XX:+CheckEndorsedAndExtDirs
Reviewed-by: hseigel, ccheung
2014-12-02 08:42:50 -08:00
Roland Westrelin c59945db1a 8054478: C2: Incorrectly compiled char[] array access crashes JVM
Dead backbranch in main loop results in erroneous array access

Reviewed-by: kvn, iveresov
2014-12-01 22:27:00 +01:00
Coleen Phillimore 202af89dbc Merge 2014-12-01 09:38:52 -05:00
Coleen Phillimore 1509139a8b 8042235: redefining method used by multiple MethodHandles crashes VM
Note all MemberNames created on internal list for adjusting method entries.

Reviewed-by: sspitsyn, dcubed, lfoltan
2014-11-19 13:02:11 -05:00
Tobias Hartmann ac1fdde978 8050079: crash while compiling java.lang.ref.Finalizer::runFinalizer
Ignore non-instance Klasses in the subclass hierarchy.

Reviewed-by: kvn, iignatyev, jrose
2014-11-20 11:06:26 +01:00
Alejandro Murillo a7440ced1d Merge 2014-11-21 10:19:17 -08:00
Mandy Chung 8e487f6ac4 8064667: Add -XX:+CheckEndorsedAndExtDirs flag to JDK 8
Reviewed-by: coleenp, ccheung
2014-11-19 14:21:09 -08:00
Andrey Zakharov 1b25f01c31 8064716: TestHumongousShrinkHeap.java can not be run with -XX:+ExplicitGCInvokesConcurrent
8062957: Heap is not shrunk when deallocating under memory pressure

Added explicit -XX:-ExplicitGCInvokesConcurrent to invocations

Reviewed-by: brutisso, tschatzl
2014-11-14 17:39:07 +04:00
Tobias Hartmann ce96617997 8056071: compiler/whitebox/IsMethodCompilableTest.java fails with 'method() is not compilable after 3 iterations'
Always use MDO if valid and always compile trivial methods with C1 if available.

Reviewed-by: kvn, iveresov
2014-11-11 11:05:41 +01:00
Vladimir Ivanov 122dd592db 8058847: C2: EliminateAutoBox regression after 8042786
Reviewed-by: kvn, roland
2014-10-24 09:13:12 -07:00
Ioi Lam 584e3a7d2b 8064701: Some CDS optimizations should be disabled if bootclasspath is modified by JVMTI
Added API to track bootclasspath modification

Reviewed-by: jiangli, dholmes, minqi
2014-11-18 03:38:50 -08:00
Andreas Eriksson 3b7f05d6b1 8057043: Type annotations not retained during class redefine / retransform
Reviewed-by: coleenp, sspitsyn, jfranck
2014-10-22 13:59:56 +02:00
Tobias Hartmann 6f4f7d7366 8061817: Whitebox.deoptimizeMethod() does not deoptimize all OSR versions of method
Fixed Whitebox.deoptimizeMethod() to deoptimize all OSR versions of the method.

Reviewed-by: kvn, iignatyev
2014-10-30 13:03:30 +01:00
Ioi Lam 0d48023f15 8061651: Interface to the Lookup Index Cache to improve URLClassPath search time
Implemented the interface in sun.misc.URLClassPath and corresponding JVM_XXX APIs

Reviewed-by: mchung, acorn, jiangli, dholmes
2014-10-13 16:09:57 -07:00
Tobias Hartmann 97e056b22e 8061983: [TESTBUG] compiler/whitebox/MakeMethodNotCompilableTest.java fails with "must not be in queue"
Added a method checkNotCompiled(boolean isOsr) to either check if the method is OSR compiled or to check if it is non-OSR compiled.

Reviewed-by: kvn
2014-10-28 09:17:36 +01:00
Tobias Hartmann 1ba0a20fbb 8061486: [TESTBUG] compiler/whitebox/ tests fail : must be osr_compiled (reappeared in nightlies)
Call warmup code from OSR triggering method to make sure no non-OSR compilation is triggered in the loop.

Reviewed-by: kvn
2014-10-24 08:35:29 +02:00
Tobias Hartmann c3e3929605 8060454: [TESTBUG] Whitebox tests fail with -XX:CompileThreshold=100
Move the call to 'waitAndDeoptimize' from the warmup methods to the osr triggering methods to make sure that no non-osr compilation is in the queue after warmup.

Reviewed-by: kvn
2014-10-17 10:04:45 +02:00
Tobias Hartmann 510f3f06f6 8046268: compiler/whitebox/ tests fail : must be osr_compiled
Added code to 'warm up' the methods before triggering OSR compilation by executing them a limited number of times. Like this, the profile information marks the loop exit as taken and we don't add an uncommon trap.

Reviewed-by: kvn, dlong, iignatyev
2014-10-13 12:30:37 +02:00
Albert Noll 61c4e896d1 Merge 2014-10-31 11:46:11 +00:00
Calvin Cheung f13b37ff86 8038268: VM Crashes in MetaspaceShared::generate_vtable_methods while creating CDS archive with limiting SharedMiscCodeSize
Estimate the minimum required size for the misc code region and check if the specified misc code region size meets the minimum size requirement

Reviewed-by: jiangli, dholmes
2014-10-30 13:38:00 -07:00
Coleen Phillimore be12843c7a 8062870: src/share/vm/services/mallocTracker.hpp:64 assert(_count > 0) failed: Negative counter
Signed bitfield size y can only have (1 << y)-1 values.

Reviewed-by: shade, dholmes, jrose, ctornqvi, gtriantafill
2014-11-14 17:39:38 -05:00
Yumin Qi 8b5fa2a914 8062247: [TESTBUG] Allow WhiteBox test to access JVM offsets
Reviewed-by: coleenp, iklam, mseledtsov
2014-11-07 12:48:09 -08:00
John Coomes e86d1b3d07 8060467: CMS: small OldPLABSize and -XX:-ResizePLAB cause assert(ResizePLAB || n_blks == OldPLABSize) failed: Error
Reviewed-by: tschatzl, jmasa, kbarrett
2014-11-07 15:34:33 -08:00
Christian Tornqvist 18fbcbf6b5 8058251: assert(_count > 0) failed: Negative counter when running runtime/NMT/MallocTrackingVerify.java
Fixed an issue when overflowing the MallocSite hash table bucket

Reviewed-by: coleenp, gtriantafill
2014-11-11 10:48:06 -08:00
George Triantafillou 2c48327a92 8061969: [TESTBUG] MallocSiteHashOverflow.java should be enabled for 32-bit platforms
Reviewed-by: ctornqvi, coleenp
2014-11-05 08:22:17 -08:00
George Triantafillou da7e7510f4 8058606: [TESTBUG] Detailed Native Memory Tracking (NMT) data is not verified as output at VM exit
Reviewed-by: coleenp, hseigel
2014-10-28 13:30:40 -07:00
Karen Kinnear 3cc7a15988 Merge 2014-10-24 21:25:40 +00:00
Karen Kinnear 3a8e08ec45 8043275: 8u40 backport: Fix interface initialization for default methods
Reviewed-by: dcubed, coleenp
2014-10-24 12:29:08 -07:00
Vladimir Ivanov 02e1a44714 8058828: Wrong ciConstant type for arrays from ConstantPool::_resolved_reference
Reviewed-by: kvn, jrose
2014-10-01 12:34:38 -07:00
Vladimir Ivanov ba706b412a 8059556: C2: crash while inlining MethodHandle invocation w/ null receiver
Reviewed-by: kvn, jrose
2014-10-01 12:34:45 -07:00
Severin Gehwolf 04fc12e21a 8041992: Fix of JDK-8034775 neglects to account for non-JIT VMs
Allow 0 compiler threads if no JIT is used.

Reviewed-by: kvn, dholmes
2014-05-02 06:24:39 +02:00
Igor Ignatyev eb8eddf653 8038393: [TESTBUG] ciReplay/* tests fail after 8034775
Reviewed-by: kvn
2014-03-29 14:54:48 +04:00
Albert Noll ca4b586383 8036091: compiler/membars/DekkerTest.java fails with -XX:CICompilerCount=1
Start test with -XX:-TieredCompilation so that one compiler thread works

Reviewed-by: kvn, twisti
2014-03-05 10:20:30 +01:00
Albert Noll 0392a7cf60 8034775: Failing to initialize VM when running with negative value for -XX:CICompilerCount
Ensure appropriate min. number of compiler threads (1 for non-tiered, and 2 for tiered)

Reviewed-by: kvn
2014-02-25 13:52:37 +01:00
David Holmes dd1e6242da Merge 2014-10-21 21:39:14 -04:00
Coleen Phillimore f254d7f305 Merge 2014-10-20 16:37:02 -04:00
Coleen Phillimore 49d0e9011e 8059100: SIGSEGV VirtualMemoryTracker::remove_released_region
Disallow increasing native memory tracking level

Reviewed-by: hseigel, ctornqvi, gtriantafill
2014-10-10 19:36:12 +00:00
Vladimir Kozlov 28855bc112 8059299: assert(adr_type != NULL) failed: expecting TypeKlassPtr
Use top() for dead paths when initializing Phi node of exceptions klasses in Parse::catch_inline_exceptions().

Reviewed-by: jrose, vlivanov
2014-10-02 11:36:44 -07:00
David Holmes 8e27bfe579 8058919: Add sanity test for minimal VM in test/Makefile
Reviewed-by: twisti, kvn, coleenp
2014-09-23 21:33:58 -04:00
Mikael Vidstedt ffadd29c14 8049071: Add jtreg jobs to JPRT for hotspot
Reviewed-by: dholmes, iveresov
2014-10-16 20:20:17 -04:00
Marcus Larsson 1f3f54591b 8060116: After JDK-8047976 gc/g1/TestSummarizeRSetStatsThreads fails
Also reviewed by: sangheon.kim@oracle.com

Reviewed-by: brutisso
2014-10-14 19:55:54 +02:00
Andrey Zakharov dadd2bcccf 8043766: CMM Testing: 8u40 Decommit auxiliary data structures
Check that native memory is returned to the system when decommiting memory within the heap with G1.

Reviewed-by: tschatzl, jwilhelm
2014-09-29 09:59:23 +02:00
Erik Helin 09c4e4681d 8049599: MetaspaceGC::_capacity_until_GC can overflow
Reviewed-by: jmasa, stefank
2014-10-01 16:09:01 +02:00
Stefan Karlsson 8ff4a188d5 8058475: TestCMSClassUnloadingEnabledHWM.java fails with '.*CMS Initial Mark.*' missing from stdout/stderr
Reviewed-by: mgerdin, tschatzl, brutisso
2014-09-16 10:13:45 +02:00
Boris Molodenkov 097295bb38 8057165: [TESTBUG] Need a test to cover JDK-8054883
Reviewed-by: kvn, iveresov, iignatyev
2014-09-16 21:29:30 +04:00
Rob McKenna 89dd0bf98e Merge 2018-04-18 12:37:42 -07:00
Abhijit Saha ca7eca138e Merge 2018-04-09 11:36:49 -07:00
Abhijit Saha 52ffc3084b Merge 2018-02-27 11:36:15 -08:00
Bhanu Prakash Gopularam f6adbae237 8068778: [TESTBUG] CompressedClassSpaceSizeInJmapHeap.java fails if SA not available
Reviewed-by: coleenp, sla
2018-02-22 21:28:07 -08:00
David Buck 7709361dcb 8189851: [TESTBUG] runtime/RedefineTests/RedefineInterfaceCall.java fails
Modified jtreg tags and package import to work with JDK 8

Reviewed-by: vlivanov, dholmes
2017-12-18 18:18:10 -05:00