Commit Graph

1097 Commits

Author SHA1 Message Date
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
Rob McKenna a11834e543 Merge 2018-02-07 10:45:15 -08:00
Muthusamy Chinnathambi 64dc87d8d0 8148175: C1: G1 barriers don't preserve FP registers
Reviewed-by: vlivanov, kvn
2018-02-07 07:01:44 -05:00
David Buck fe1815815f 8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack
Reviewed-by: dholmes, erikj
2018-01-16 04:20:19 -05:00
Abhijit Saha 6e41fe9dee Merge 2018-01-08 22:39:26 -08:00
Kevin Walls f1df9c0d4f 8055008: Clean up code that saves the previous versions of redefined classes
8156137: SIGSEGV in ReceiverTypeData::clean_weak_klass_links
8057570: RedefineClasses() tests fail assert(((Metadata*)obj)->is_valid()) failed: obj is valid

Reviewed-by: coleenp
2018-01-08 08:32:04 -08:00
Abhijit Saha 426708cf0c Merge 2017-12-22 13:10:41 -08:00
Vaibhav Choudhary 46c45a78f4 8153194: PreserveFPRegistersTest.java runs out of memory in the nightlies
Reviewed-by: kvn
2018-02-21 11:11:07 +05:30
Roland Westrelin 79112a42c6 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
Coleen Phillimore 12e00c95c7 Merge 2014-10-02 23:10:39 +00:00
Coleen Phillimore 46cdc6f193 8058927: ATG throws ClassNotFoundException
ClassLoader for array klass set to null and not the class loader of the component type.

Reviewed-by: dcubed, ctornqvi
2014-09-26 12:50:30 -04:00
Bengt Rutisson 05b1f33521 Merge 2014-09-30 08:29:26 +00:00
Thomas Schatzl d3d896786f 8052172: Evacuation failure handling in G1 does not evacuate all objects if -XX:-G1DeferredRSUpdate is set
Remove -XX:-G1DeferredRSUpdate functionality as it is racy. During evacuation failure handling, threads where evacuation failure handling occurred may try to add remembered sets to regions which remembered sets are currently being scanned. The iterator to handle the remembered set scan does not support addition of entries during scan and so may skip valid references.

Reviewed-by: iveresov, brutisso, mgerdin
2014-09-30 09:44:36 +02:00
Sangheon Kim fdf24fea72 8047976: Ergonomics for GC thread counts should update the flags
Ergonomics updates flags for number of GC threads

Reviewed-by: tschatzl, jwilhelm
2014-09-27 15:11:41 +02:00
Coleen Phillimore f227b3be57 8058818: Allocation of more then 1G of memory using Unsafe.allocateMemory is still causing a fatal error on 32bit platforms
The assert was firing for NMT_Off and minimal too even though the size isn't used.

Reviewed-by: gtriantafill, dholmes
2014-09-25 07:52:32 -04:00
Igor Veresov ca008cc21b 8059002: 8058744 needs a test case
Added a test case the UnsafeRawOp intrinsics

Reviewed-by: kvn
2014-09-23 17:24:34 -07:00
Staffan Larsen 5427b7db47 8058936: hotspot/test/Makefile should use jtreg script from $JT_HOME/bin/jreg (instead of $JT_HOME/win32/bin/jtreg)
Reviewed-by: dholmes, stefank
2014-09-24 09:49:47 +02:00
Mikhailo Seledtsov 04a830d782 8052313: Backport CDS tests from JDK-9 to jdk8_u40
Copied CDS tests from jdk-9 to jdk8u40

Reviewed-by: ccheung, dholmes
2014-09-19 11:12:39 -04:00
George Triantafillou 973d9305d0 8056263: [TESTBUG] Re-enable NMTWithCDS.java test
Reviewed-by: lfoltan, hseigel
2014-09-17 05:30:19 -07:00
Tobias Hartmann 133e2f694e 8044538: assert(which != imm_operand) failed: instruction is not a movq reg, imm64
Fixed internal_word_Relocation::target() to not retrieve target address from code if relocation points into the constant section. Added test.

Reviewed-by: kvn
2014-06-11 09:16:19 +02:00
Stefan Karlsson f7613f1091 8058481: Test gc/class_unloading/TestCMSClassUnloadingDisabledHWM.java was removed, but TEST.groups still refers to it
Reviewed-by: tschatzl, fzhinkin, mgerdin
2014-09-16 11:03:19 +02:00
Zhengyu Gu 96a5b15b21 8055289: Internal Error: mallocTracker.cpp:146 fatal error: Should not use malloc for big memory block, use virtual memory instead
Return NULL if memory allocation size is bigger than MAX_MALLOC_SIZE when NMT is on

Reviewed-by: coleenp, gtriantafill
2014-09-04 14:50:31 -04:00
Andrey Zakharov 320bdf166b 8056237: [TESTBUG] gc/g1/TestHumongousShrinkHeap.java fails due to OOM
Added respect for available memory. Renamed function names

Reviewed-by: jwilhelm, tschatzl
2014-09-11 14:21:24 +02:00
Andrey Zakharov 10ea685bb7 8041946: CMM Testing: 8u40 an allocated humongous object at the end of the heap should not prevents shrinking the heap
New test added

Reviewed-by: jwilhelm, tschatzl
2014-09-11 14:21:13 +02:00
Vladimir Kozlov 14021833c8 Merge 2014-09-11 15:41:43 +00:00
Stefan Johansson e44b88a9a4 8057752: WhiteBox extension support for testing
Refactored parts of whitebox.cpp to enable registration of whitebox methods defined outside this file.

Reviewed-by: mikael, ctornqvi, jmasa
2014-09-08 15:24:10 +02:00
Christian Tornqvist f39d6e0b7a Merge 2014-09-10 17:36:20 +00:00
George Triantafillou 5fb3221ccb 8054836: [TESTBUG] Test is needed to verify correctness of malloc tracking
Reviewed-by: ctornqvi, lfoltan
2014-09-09 09:48:42 -07:00
Filipp Zhinkin 4149c9cbac 8055903: Develop sanity tests on SPARC's SHA instructions support
Reviewed-by: kvn, iignatyev
2014-09-03 15:26:06 +04:00
Filipp Zhinkin 476cf87251 8055904: Develop tests for new command-line options related to SHA intrinsics
Reviewed-by: kvn, iignatyev
2014-09-03 15:29:57 +04:00
Filipp Zhinkin e8ed819ee6 8056091: Move compiler/intrinsics/mathexact/sanity/Verifier to compiler/testlibrary and extend its functionality
Reviewed-by: kvn, iignatyev
2014-09-08 20:32:10 +04:00
Roland Westrelin 122a4dbe61 8054224: Recursive method that was compiled by C1 is unable to catch StackOverflowError
Do not update exception cache if exception is replaced when thrown

Reviewed-by: kvn, iveresov
2014-08-11 15:09:04 +02:00
Roland Westrelin b07c9ddde2 8046698: assert(false) failed: only Initialize or AddP expected macro.cpp:943
PhiNode inserted between AllocateNode and Initialization node confuses allocation elimination

Reviewed-by: kvn
2014-08-02 07:06:08 +02:00
Vladimir Kozlov b939952248 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
Add new C2 intrinsic for BigInteger::multiplyToLen() on x86 in 64-bit VM.

Reviewed-by: roland
2014-09-02 12:48:45 -07:00
Tobias Hartmann 2579dcc5ab 8048879: "unexpected yanked node" opto/postaloc.cpp:139
MemBarAcquireNode prevents deletion of dead LoadNNode. Added condition to 'has_special_unique_user' to trigger deletion.

Reviewed-by: kvn, iveresov
2014-08-19 07:36:11 +02:00
George Triantafillou 591fe7d031 8055765: Misplaced @key stress prevents MallocSiteHashOverflow.java and MallocStressTest.java tests from running
Reviewed-by: ctornqvi, zgu, hseigel
2014-08-22 06:28:14 -07:00
George Triantafillou 8a995a3538 8055684: runtime/NMT/CommandLineEmptyArgument.java fails
Reviewed-by: ctornqvi, sla
2014-08-21 14:37:39 -07:00
George Triantafillou 86d03f832b 8055053: [TESTBUG] runtime/NMT/VirtualAllocCommitUncommitRecommit.java fails
Reviewed-by: ctornqvi, zgu
2014-08-22 07:38:42 -07:00
George Triantafillou 0a021772b3 8055052: [TESTBUG] runtime/NMT/JcmdDetailDiff.java fails on Windows when there are no debug symbols available
Reviewed-by: ctornqvi, hseigel
2014-08-22 06:46:29 -07:00
George Triantafillou 441a1060ce 8055051: runtime/NMT/CommandLineEmptyArgument.java fails
Disable failing test

Reviewed-by: ctornqvi, zgu
2014-08-19 06:47:28 -07:00
George Triantafillou 9e0c9a64be 8054711: [TESTBUG] Enable NMT2 tests after NMT2 is integrated
Enable tests for NMT2

Reviewed-by: ctornqvi, zgu
2014-09-04 10:14:37 -04:00
George Triantafillou 48c5a6ffe3 8054952: [TESTBUG] Add missing NMT2 tests
The new NMT2 tests got lost on the way into jdk9 yesterday, this change adds them.

Reviewed-by: coleenp, zgu, ctornqvi
2014-08-12 14:06:41 -07:00
Albert Noll c6cdc2a731 Merge 2014-09-03 08:44:47 +00:00
Thomas Schatzl fb01c54fab Merge 2014-09-03 09:25:44 +02:00
Thomas Schatzl 7e63a62dd7 8056043: Heap does not shrink within the heap after JDK-8038423
Enable shrinking within the heap by removing some code added for JDK-8054818. Enable the test case that checks that again too.

Reviewed-by: jwilhelm, jmasa
2014-09-03 09:24:07 +02:00
Andrey Zakharov 94c41f1e07 8037925: CMM Testing: an allocated humongous object at the end of the heap should not prevents shrinking the heap
New test added.

Reviewed-by: ehelin, tschatzl, jwilhelm
2014-09-03 09:23:58 +02:00
Tobias Hartmann 50a76f34d7 8055657: Test compiler/classUnloading/methodUnloading/TestMethodUnloading.java does not work with non-default GC
Remove the '-XX:+UseParallelGC' parameter from the test because it is conflicting with other GC settings.

Reviewed-by: kvn
2014-08-29 10:47:50 +02:00
Vladimir Kozlov 32a6b7ecf2 8055069: TSX and RTM should be deprecated more strongly until hardware is corrected
Require to specify UnlockExperimentalVMOptions flag together with UseRTMLocking flag on un-patched systems where CPUID allows it but is unsupported otherwise.

Reviewed-by: iveresov, fzhinkin
2014-08-22 12:03:49 -07:00
Zhengyu Gu 6462e909c2 8056256: [TESTBUG] Disable NMTWithCDS.java test as launcher change has yet promoted
Disable the test until related Java launcher change reaches promotion build

Reviewed-by: ctornqvi, gtriantafill
2014-08-28 11:55:10 -04:00
Ioi Lam c687ab9cee 8046070: Class Data Sharing clean up and refactoring
Cleaned up CDS to be more configurable, maintainable and extensible

Reviewed-by: dholmes, coleenp, acorn, mchung
2014-08-21 13:57:51 -07:00
Zhengyu Gu 6eb98a5b20 8055061: assert at share/vm/services/virtualMemoryTracker.cpp:332 Error: ShouldNotReachHere() when running NMT tests
Handled CDS mapping region and added test for the scenario

Reviewed-by: coleenp, ctornqvi
2014-08-19 09:05:55 -04:00
Zhengyu Gu 8a74b0cf77 8054938: [TESTBUG] Wrong WhiteBox.java was pushed by JDK-8044140
Reserved WhiteBox.java pushed by JDK-8044140

Reviewed-by: ccheung, hseigel
2014-08-12 12:39:02 -07:00
George Triantafillou 6c3ee58b3f 8044140: Create NMT (Native Memory Tracking) tests for NMT2
Create new/modify existing tests for NMT2, which is an internal redesign to address scalability issues in the first implementation.

Reviewed-by: ctornqvi, zgu
2014-08-27 08:35:03 -04:00
Zhengyu Gu 7c742ab25c 8046598: Scalable Native memory tracking development
Enhance scalability of native memory tracking

Reviewed-by: coleenp, ctornqvi, gtriantafill
2014-08-27 08:19:12 -04:00
Leonid Mesnik 0c86679ede 8055953: [TESTBUG] Fix for 8055098 does not contain unit test
Add missing unit test.

Reviewed-by: tschatzl
2014-08-26 14:15:42 +02:00
Leonid Mesnik 440bbeec3c 8055098: WB API should be extended to provide information about size and age of object
Extend the WhiteBox API to provide information about the size and age of objects. Further add a mechanism to trigger a young GC.

Reviewed-by: tschatzl, sjohanss
2014-08-21 16:44:41 +02:00
Tobias Hartmann 5c9a3619a8 8054402: "klass->is_loader_alive(_is_alive)) failed: must be alive" for anonymous classes
Because anonymous classes are not in the system dictionary, we have to set 'unloading_occurred' based on 'CLDG::do_unloading()'. Added jtreg test.

Reviewed-by: kvn, coleenp
2014-08-25 08:20:17 +02:00
Thomas Schatzl 4300bfe5f0 8054362: gc/g1/TestEagerReclaimHumongousRegions2.java timeout
Give the test a time limit of approximately one minute so that it exits early on slow machines.

Reviewed-by: ehelin, dfazunen, brutisso
2014-08-18 15:41:57 +02:00
Stefan Karlsson c8a88d0e30 8055275: Several gc/class_unloading/ tests fail due to missed +UnlockDiagnosticVMOptions flag
Reviewed-by: mgerdin, jwilhelm
2014-08-18 14:12:48 +02:00
James Cheng f312e11bf8 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
Add C2 SHA intrinsics on SPARC

Reviewed-by: kvn, roland
2014-06-11 11:05:10 -07:00
Thomas Schatzl 6ab8b41cca 8052170: G1 asserts at collection exit with -XX:-G1DeferredRSUpdate
Do not try to verify timing measures for the redirty logged cards phase when it is not executed.

Reviewed-by: brutisso, jmasa
2014-08-07 22:28:16 +02:00
Thomas Schatzl 28a9b74af2 8051973: Eager reclaim leaves marks of marked but reclaimed objects on the next bitmap
Eager reclaim also needs to clear marks of eagerly reclaimed regions if they have already been marked during concurrent mark.

Reviewed-by: jmasa
2014-07-31 09:23:24 +02:00
Thomas Schatzl 74e67f185f 8027959: Early reclamation of large objects in G1
Try to reclaim humongous objects at every young collection after doing a conservative estimate of its liveness.

Reviewed-by: brutisso, mgerdin
2014-07-23 09:03:32 +02:00
Tobias Hartmann 58f8c2e723 8029443: 'assert(klass->is_loader_alive(_is_alive)) failed: must be alive' during VM_CollectForMetadataAllocation
Added missing metadata relocation to 'loadConP_no_oop_cheap' on Sparc if the pointer is referring to a Klass. Added jtreg test.

Reviewed-by: kvn
2014-08-06 08:47:40 +02:00
Filipp Zhinkin c093c7cfd4 8054805: Update CLI tests on RTM options to reflect changes in JDK-8054376
Reviewed-by: kvn
2014-08-11 19:19:47 +04:00
Filipp Zhinkin 6f3d9d3295 8051344: JVM crashed in Compile::start() during method parsing w/ UseRTMDeopt turned on
Call rtm_deopt() only if there were no compilation bailouts before.

Reviewed-by: kvn
2014-07-28 15:06:38 -07:00
Stefan Karlsson 88bfcb9c5b 8048269: Add flag to turn off class unloading after G1 concurrent mark
Added -XX:+/-ClassUnloadingWithConcurrentMark

Reviewed-by: jmasa, brutisso, mgerdin
2014-08-06 09:55:16 +02:00
Stefan Karlsson 97b630c646 8051883: TEST.groups references missing test: gc/class_unloading/TestCMSClassUnloadingDisabledHWM.java
Reviewed-by: brutisso, tschatzl, ehelin, jmasa, dfazunen
2014-08-04 15:04:45 +02:00
Stefan Karlsson ca806eadeb 8049831: Metadata Full GCs are not triggered when CMSClassUnloadingEnabled is turned off
Reviewed-by: brutisso, tschatzl, ehelin, jmasa, dfazunen
2014-07-11 09:07:23 +02:00
Stefan Karlsson f33e9c19aa 8049421: G1 Class Unloading after completing a concurrent mark cycle
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Igor Ignatyev 59a87bb1be Merge 2014-08-07 21:10:32 +00:00
Harold Seigel 4ac06978bc 8046233: VerifyError on backward branch
Remove check that causes the VerifyError

Reviewed-by: dholmes, coleenp, acorn
2014-08-05 09:11:35 -04:00
Igor Ignatyev db3f4b4c6d 8038756: new WB API :: get/setVMFlag
Reviewed-by: vlivanov, sla
2014-05-30 17:20:48 +04:00
Dmitry Fazunenko c2efe115c9 8039489: Refactor test framework for dynamic VM options
Reviewed-by: jmasa, ehelin, jwilhelm
2014-05-20 18:25:14 +04:00
Jon Masamitsu 498da47120 8038928: gc/g1/TestGCLogMessages.java fail with "[Evacuation Failure'
Reviewed-by: ysr, brutisso, tschatzl
2014-05-11 16:35:43 -07:00
Alejandro Murillo 02f50d2107 Merge 2014-07-25 10:28:04 -07:00
Alejandro Murillo 065527e3f2 Merge 2014-07-16 16:45:17 -07:00
Vladimir Ivanov fbe17a54fc 8043546: C1 optimizes @Stable instance fields with default values
Reviewed-by: kvn, jrose
2014-07-10 12:04:43 -07:00
Mikael Vidstedt f0251e285a 8042804: Support invoking Hotspot tests from top level
Reviewed-by: sla, erikj
2014-05-12 06:17:05 -07:00
Bengt Rutisson 9de9d95e24 8049327: [TESTBUG] gc/logging/TestGCId.java assumes default PrintGCID value is true
Reviewed-by: ehelin, tschatzl
2014-07-07 14:44:33 +02:00
Bengt Rutisson 08cdf9431c 8043607: Add a GC id as a log decoration similar to PrintGCTimeStamps
Reviewed-by: jwilhelm, ehelin, tschatzl
2014-06-19 13:31:14 +02:00
Vladimir Ivanov dbaa3adcd2 8033626: assert(ex_map->jvms()->same_calls_as(_exceptions->jvms())) failed: all collected exceptions must come from the same place
Reviewed-by: kvn, roland
2014-06-17 09:02:30 +00:00
Vladimir Kozlov 86eb6091d2 8046516: Segmentation fault in JVM (easily reproducible)
Place new nodes on the previous loop exit in reorg_offsets().

Reviewed-by: roland
2014-06-12 10:15:43 -07:00
Daniel D. Daugherty c7ee15b14a 8046287: [TESTBUG] runtime/Thread/TestThreadDumpMonitorContention.java failed error_cnt=12
Added a new header waiting pattern to catch the case where the target thread waiting on a condition (like a VM op); several other test improvements

Reviewed-by: sspitsyn, dholmes
2014-06-12 15:57:16 -07:00
Nils Eliasson 5dfa5f915f Merge 2014-06-13 08:40:35 +00:00
Roland Westrelin 5f67ee2ebe Merge 2014-06-13 00:30:18 -07:00
Erik Helin 8e85dd4454 8042933: assert(capacity_until_gc >= committed_bytes) failed
Reviewed-by: stefank, jmasa
2014-06-13 08:44:11 +02:00
Nils Eliasson feac871af5 8040244: compiler/whitebox/IsMethodCompilableTest.java fails
Prevent from running with Xcomp

Reviewed-by: kvn, twisti
2014-06-09 10:32:49 +02:00
Roland Westrelin 4162f57cd5 8032410: compiler/uncommontrap/TestStackBangRbp.java times out on Solaris-Sparc V9
Make compiled code bang the stack by the worst case size of the interpreter frame at deoptimization points.

Reviewed-by: twisti, kvn
2014-04-01 09:36:49 +02:00
Thomas Schatzl 3a227e7886 8040977: G1 crashes when run with -XX:-G1DeferredRSUpdate
When G1 is run with -XX:-G1DeferredRSUpdate, the VM crashes because of wrong initialization order of member variables. The change makes the initalization explicit, not relying on initialization order any more.

Reviewed-by: brutisso, mgerdin
2014-07-21 09:41:06 +02:00
Andrey Zakharov 2ebb3718c2 8026847: [TESTBUG] gc/g1/TestSummarizeRSetStats* tests launch 32bit jvm with UseCompressedOops
The test launched a 32 bit VM with UseCompressedOops enabled. This is not supported on 32 bit VMs, causing a test failure. Investigation showed that the use of this flag is not required at all, so simply remove it.

Reviewed-by: tschatzl, jwilhelm
2014-07-21 09:40:19 +02:00
Thomas Schatzl 297f319bf8 8019342: G1: High "Other" time most likely due to card redirtying
Parallelize card redirtying to decrease the time it takes.

Reviewed-by: brutisso
2014-07-21 09:40:19 +02:00
Katja Kantserova 47cb53e51b 8043915: Tests get ClassNotFoundException: com.oracle.java.testlibrary.StreamPumper
Reviewed-by: sla, allwin
2014-06-05 15:55:49 +02:00
Albert Noll eb35dd12c5 Merge 2014-06-05 06:40:35 +00:00
Daniel D. Daugherty 2a2595bbd3 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-06-04 06:25:53 -07:00
Per Lidén 9d63a03e7c 8042310: TestStringDeduplicationMemoryUsage test failing
Reviewed-by: ehelin, jwilhelm
2014-05-30 10:43:51 +02:00
Albert Noll 2be197e2b8 8011646: SEGV in compiled code with loop predication
Remove control edge of load node to ensure that castPP removal sets the control edge correctly

Reviewed-by: kvn, roland
2014-05-30 06:50:38 +02:00
Chuck Rasbold 0a7a48beeb 8043354: OptimizePtrCompare too aggressive when allocations are present
In bcEscapeAnalyzer update the _allocated_escapes flag if a var escapes the method.

Reviewed-by: kvn
2014-05-21 10:54:59 -07:00
Peter Allwin 018c0cc73a 8027230: Overflow in java.lang.instrument.Instrumentation.getObjectSize() method
Reviewed-by: dholmes, sspitsyn
2014-05-22 09:12:29 +02:00
Lois Foltan 9d03d9cffd 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
Filipp Zhinkin 09a316f776 8042949: +UnlockExperimentalVMOptions missed from TestUseRTMLockingOptionOnUnsupportedVM.java test
Reviewed-by: kvn, iignatyev
2014-05-18 00:25:06 +04:00
Roland Westrelin a01a78d818 8041481: JVM crashes with collect_args_for_profiling
Method handle call to c1 intrinsic tries to profile popped argument

Reviewed-by: kvn, twisti
2014-04-25 09:22:16 +02:00
Shrinivas Joshi 2f9a892302 8042281: compiler/7184394/TestAESMain.java fails with: javax.crypto.IllegalBlockSizeException: Input length not multiple of 16 bytes
Added missing -DmsgSize=640 to test's run commands.

Reviewed-by: kvn
2014-05-01 17:57:29 -07:00
Shrinivas Joshi 7eacd2a774 8035936: SIGBUS in StubRoutines::aesencryptBlock, solaris-sparc
Fix the arbitrary alignment issue in SPARC AES crypto stub routines.

Reviewed-by: kvn, iveresov
2014-04-30 14:14:01 -07:00
Igor Ignatyev fd08a86187 8041497: Compilation of compiler/rtm/cli/TestUseRTMDeoptOption* tests failed
Reviewed-by: kvn, roland
2014-04-24 14:02:48 +04:00
Richard Reingruber 89391621d3 8038048: assert(null_obj->escape_state() == PointsToNode::NoEscape,etc) runThese -full
Use correct set_escape_state() method.

Reviewed-by: kvn, iignatyev
2014-04-16 14:49:03 -07:00
Lois Foltan f19357371c 8038076: constraint on multianewarray instruction is not checked since class version 50
No VerifiyError generated if multianewarray bytecode's array type descriptor was 1 dimension smaller than dimensions specified.

Reviewed-by: hseigel, ctornqvi, coleenp, kamg
2014-04-14 10:13:03 -04:00
Filipp Zhinkin 4dddf42a7f 8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
Reviewed-by: kvn, iignatyev
2014-04-16 08:28:19 +04:00
Pavel Punegov e74b34711c 8038418: New tests development for type profiling and speculation
Reviewed-by: roland, iignatyev
2014-04-11 18:46:35 +04:00
Christian Tornqvist d0cd67ea06 8034781: [TESTBUG] runtime/ClassFileUnsupportedClassFileVersion.java unable to find or load main class
Passed empty string to ProcessBuilder which caused problems on Linux, fixed by checking string length

Reviewed-by: lfoltan, sla, mseledtsov
2014-02-12 20:40:02 +01:00
Christian Tornqvist 3a4a05df22 8016644: Improve UnsupportedClassVersionError message
Improved the UnsupportedClassVersionError message to hopefully be more user friendly

Reviewed-by: coleenp, dholmes, twisti
2014-02-10 17:49:17 +01:00
Igor Ignatyev 88208f0aa1 Merge 2014-04-14 22:53:29 +04:00
Filipp Zhinkin c74d0db846 8037860: Add tests to cover Intel RTM instructions support
Reviewed-by: kvn, iignatyev
2014-04-11 00:35:23 +04:00
Filipp Zhinkin 71f09932eb 8039496: Add sanity tests on RTM-related command line options
Reviewed-by: kvn, iignatyev
2014-04-14 19:29:34 +04:00
Filipp Zhinkin 597eb43478 8039499: Add all common classes used by tests on RTM support to testlibrary
Reviewed-by: kvn, iignatyev
2014-04-14 19:29:34 +04:00
Filipp Zhinkin 2697db768e 8039497: Testlibrary should be updated to provide information about all VM types as well as access to Unsafe
Reviewed-by: kvn, iignatyev
2014-04-11 00:34:56 +04:00
Roland Westrelin 95339828fb 8032011: nsk/stress/jck60/jck60022 crashes in src\share\vm\runtime\synchronizer.cpp:239
Biased locking's revoke_bias locks monitor in compiled frame with eliminated lock

Reviewed-by: kvn, iveresov
2014-02-27 09:37:16 +01:00
Per Lidén bed7a5e664 8038461: Test gc/g1/TestStringDeduplicationMemoryUsage.java fails with unexpected memory usage
Reviewed-by: jmasa, sjohanss
2014-04-03 10:39:27 +02:00
Nils Eliasson 711d611b02 8007270: Make IsMethodCompilable test work with tiered
Only c2 compiles counts toward cutoff

Reviewed-by: kvn, roland
2014-01-28 15:05:46 +01:00
Anton Ivanov b7aff66e43 8038953: Add sanity tests for BMI1 and LZCNT instructions
Reviewed-by: kvn, iignatyev
2014-04-11 00:34:51 +04:00
Igor Veresov a27cfca507 8039043: Implicit null check is in the wrong place in C1 -UseCompressedOops
Null check is placed in a wrong place when storing a null to an object field on x64 with compressed oops off

Reviewed-by: roland, vlivanov, kvn
2014-04-02 11:24:51 -07:00
Yasumasa Suenaga e00446818f 7090324: gclog rotation via external tool
GC log rotation can be set via java command line, but customer sometime need to sync with OS level rotation setting.

Reviewed-by: sla, minqi, ehelin
2014-03-31 13:09:35 -07:00
Vladimir Ivanov 12fea4c7ba Merge 2014-03-28 12:22:04 -07:00
Vladimir Ivanov d0cc111433 8035828: Turn on @Stable support in VM
Reviewed-by: jrose, twisti
2014-03-28 10:13:37 -07:00
Igor Ignatyev 9907f32e87 8038240: new WB API to get nmethod
Reviewed-by: morris, kvn
2014-03-27 11:17:26 +04:00
Filipp Zhinkin fcb306930f 8038193: Add command line option tests for BMI options
Reviewed-by: iveresov, kvn, iignatyev
2014-03-27 17:29:41 +04:00
Vladimir Kozlov b0c6522634 Merge 2014-03-25 17:07:36 -07:00
Filipp Zhinkin 57cfab1d43 8035857: Add tests to verify correctness of operations with BMI1 and LZCNT instructions
Reviewed-by: iveresov, kvn, iignatyev
2014-03-22 00:26:48 +04:00
Poonam Bajaj 16d2ce230b 6653795: C2 intrinsic for Unsafe.getAddress performs pointer sign extension on 32-bit systems
Native pointers less than 64 bits wide should be extended as an unsigned number.

Reviewed-by: kvn, kevinw
2014-03-24 08:43:10 -07:00
Per Lidén e9acbd7c38 8029075: String deduplication in G1
Implementation of JEP 192, http://openjdk.java.net/jeps/192

Reviewed-by: brutisso, tschatzl, coleenp
2014-03-18 19:07:22 +01:00
Thomas Schatzl 95b44732e5 Merge 2014-03-24 08:05:53 -07:00
Thomas Schatzl f5bf8669db 8035654: Add times for evacuation failure handling in "Other" time
Detailed breakdown of time spent in the evacuation failure handling phases to make the "Other" time roughly correspond to the sum of its parts.

Reviewed-by: jwilhelm, jmasa
2014-03-24 15:30:46 +01:00
Thomas Schatzl aabfd5d2b8 8035398: Add card redirty time in "Other" time in G1
Show the time taken by card redirtying during GC in a new "Redirty Cards" line.

Reviewed-by: jwilhelm, brutisso
2014-03-24 15:30:40 +01:00
Thomas Schatzl 84b78d9a81 8027295: Free CSet takes ~50% of young pause time
Improve fast card cache iteration and avoid taking locks when freeing the collection set.

Reviewed-by: brutisso
2014-03-24 15:30:36 +01:00
Thomas Schatzl 04075dff2c 8035406: Improve data structure for Code Cache remembered sets
Change the code cache remembered sets data structure from a GrowableArray to a chunked list of nmethods. This makes the data structure more amenable to parallelization, and decreases freeing time.

Reviewed-by: mgerdin, brutisso
2014-03-24 15:30:14 +01:00
Andrey Zakharov bbfffe4e31 8037510: CMM Testing: Min/MaxHeapFreeRatio flags should be manageable through the API
Added tests for Min/MaxHeapFreeRatio flags

Reviewed-by: jwilhelm, tschatzl
2014-03-20 16:31:47 +01:00
Roland Westrelin c443a82a25 8032633: Enable type speculation by default
Enable type speculation

Reviewed-by: kvn
2014-03-06 11:11:04 +01:00
Albert Noll a55b154c0e 8036092: [TESTBUG] compiler/uncommontrap/TestSpecTrapClassUnloading.java fails with: Unrecognized VM option 'UseTypeSpeculation'
Add -XX:+IgnoreUnrecognizedVMOptions to @main/othervm to make the test pass on Client VM

Reviewed-by: kvn, roland
2014-03-05 06:08:19 +01:00
Igor Veresov 13db3cc1d3 Merge 2014-03-17 10:48:53 -07:00
Igor Veresov 2a3b48c950 8031321: Support Intel bit manipulation instructions
Add support for BMI1 instructions

Reviewed-by: kvn, roland
2014-03-12 11:24:26 -07:00
Roland Westrelin 33e7f5d7c4 8031752: Failed speculative optimizations should be reattempted when root of compilation is different
Support for speculative traps that keep track of the root of the compilation in which a trap occurs.

Reviewed-by: kvn, twisti
2014-02-25 18:16:24 +01:00
Sean Coffey 21a85d8936 Merge 2014-03-12 18:53:34 +00:00
Vladimir Ivanov 27ba53b0c6 8036100: Default method returns true for a while, and then returns false
Reviewed-by: kvn, jrose
2014-03-03 16:10:26 -08:00
Alejandro Murillo 0a1ec78d4f Merge 2014-02-28 08:43:42 -08:00
Staffan Larsen 46fc4d1507 8035150: ShouldNotReachHere() in ConstantPool::copy_entry_to
Reviewed-by: dcubed, mgronlun
2014-02-26 15:47:44 +01:00
Alejandro Murillo 1af3d39a55 Merge 2014-02-25 13:02:52 -08:00
Sean Coffey d4de19b48e Merge 2014-02-14 17:57:17 +00:00
George Triantafillou a00e205d83 8021774: [TESTBUG] Tests failed because of a warning in its output
Remove check for warning

Reviewed-by: ctornqvi, hseigel, coleenp
2014-02-06 13:27:50 -05:00
Thomas Schatzl 0d958d12f2 8032771: The flag VerifySilently misses a test case
Add test case for the VerifySilently flag.

Reviewed-by: brutisso
2014-01-31 09:55:59 +01:00
Albert Noll 845168aee5 8009738: compiler/6826736/Test.java times out on big machines
Added -Xmx256m -XX:ParallelGCThreads=4 to the test @run command. Verified that 256m is enough to trigger old 6826736 bug.

Reviewed-by: kvn
2014-01-27 07:54:25 +01:00
Harold Seigel 6caf4a6d18 8028553: The JVM should not throw VerifyError when 'overriding' a static final method in a superclass
Check if method is static before throwing exception.

Reviewed-by: kamg, coleenp, lfoltan, fparain
2014-01-24 08:13:42 -05:00
Roland Westrelin bd9e6fc0b0 8027422: assert(_gvn.type(obj)->higher_equal(tjp)) failed: cast_up is no longer needed
Type methods shouldn't always operate on speculative part

Reviewed-by: kvn, twisti
2014-01-24 09:31:53 +01:00
Rickard Bäckman 14e9dccbe2 8027754: Enable loop optimizations for loops with MathExact inside
Reviewed-by: kvn, iveresov
2014-01-23 12:08:28 +01:00
Igor Ignatyev 75f63a9052 8028482: [TESTBUG] tests that use JMX should be in need_compact3 test group
Reviewed-by: roland, sla, dholmes
2014-03-06 12:45:59 +04:00
Igor Ignatyev e6a0b33fe3 8027257: [TESTBUG] compiler/ciReplay/TestVM.sh : Error: Could not find or load main class negative_test
Reviewed-by: roland, kvn
2014-03-06 12:46:04 +04:00
Igor Ignatyev eb78949abd 8027124: [TESTBUG] NonTieredLevelsTest: java.lang.RuntimeException: private TestCase$Helper(java.lang.Object) must be osr_compiled
Reviewed-by: kvn, roland
2014-03-06 12:47:45 +04:00
Igor Veresov c12a502154 8031743: C2: loadI2L_immI broken for negative memory values
Restrict loadI2L_imm optimizations to positive values of mask

Reviewed-by: kvn, dlong
2014-01-21 20:05:28 -08:00
Thomas Schatzl 0ed35536e3 8027476: Improve performance of Stringtable unlink
8027455: Improve symbol table scan times during gc pauses

Parallelize string table and symbol table scan during remark and full GC. Some additional statistics output if the experimental flag G1TraceStringSymbolTableScrubbing is set.

Reviewed-by: mgerdin, coleenp, brutisso
2014-01-20 11:47:07 +01:00
Igor Veresov 6f94912c59 8032207: C2: assert(VerifyOops || MachNode::size(ra_) <= (3+1)*4) failed: bad fixed size
Fix the sizing of loadUS2L_immI16 and loadI2L_immI

Reviewed-by: kvn, azeemj
2014-01-17 18:09:08 -08:00
Vladimir Ivanov 0a9099f378 8031695: CHA ignores default methods during analysis leading to incorrect code generation
Reviewed-by: jrose, acorn, hseigel, lfoltan
2014-01-23 01:23:23 +04:00
Shrinivas Joshi aa5081f72a 8002074: Support for AES on SPARC
Add intrinsics/stub routines support for single-block and multi-block (as used by Cipher Block Chaining mode) AES encryption and decryption operations on the SPARC platform.

Reviewed-by: kvn, roland
2014-01-14 17:46:48 -08:00
Shanliang Jiang 5e4e6b98a3 8007710: runtime/7158988/FieldMonitor.java fails with com.sun.jdi.VMDisconnectedException: Connection closed
Reviewed-by: sla, jbachorik, sspitsyn
2014-02-14 16:17:22 +01:00
Calvin Cheung 9a19740436 8027314: Java should recognize Diagnostic options if -XX:+UnlockDiagnosticVMOptions is not specified and print an informative message
Clarifying the error messages associated with vm options of type diagnostic, experimental, develop, and notproduct

Reviewed-by: kvn, twisti, ctornqvi
2014-01-16 10:51:16 -08:00
Calvin Cheung 051b2b2efa 8032010: Attempt to resolve abstract method in concrete class fails with AbstractMethodError
Removing a check in LinkResolver::resolve_method() to conform with a change in JVMS-8 5.4.3.3. Method Resolution

Reviewed-by: coleenp, lfoltan
2014-02-05 15:14:47 -08:00
Coleen Phillimore 5826f2244b 8033528: assert(0 <= i && i < length()) failed: index out of bounds
Restoring bytecodes for invokedynamic had wrong index calculation added testing stress option.

Reviewed-by: twisti, hseigel
2014-02-07 18:30:27 -05:00
Coleen Phillimore c57eeaf964 8032024: Test not added for bug 8025937: assert(existing_f1 == NULL || existing_f1 == f1) failed: illegal field,change
Test didn't get hg added with original bug fix

Reviewed-by: jrose, hseigel, lfoltan
2014-01-17 11:21:29 -05:00
Kevin Walls 4c397298e6 8032466: serviceability/sa/jmap-hashcode/Test8028623.java fails with compilation errors
Reviewed-by: dsamersoff, sla
2014-01-23 09:33:50 +00:00
Kevin Walls c169f87366 8028623: SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters
Reviewed-by: sla, dsamersoff
2014-01-17 18:39:22 +00:00
Harold Seigel 49fe45fbe1 8030955: assert(_prologue != NULL) failed: prologue pointer must be initialized
Return immediately if _prologue == NULL, instead of asserting

Reviewed-by: ccheung, coleenp
2014-01-21 08:58:31 -05:00
Roland Westrelin 0939dde24d 8029873: compiler/uncommontrap/TestStackBangRbp.java crashes with SIGSEGV
May end up in uncommon trap blob/deopt blob with unguarded stack

Reviewed-by: kvn, twisti
2014-01-08 09:49:31 +01:00
Roland Westrelin 3fa2c4f9f3 8027571: fatal error: meet not symmetric
Meet of one constant array and one exact array not symmetric.

Reviewed-by: kvn
2014-01-07 16:02:10 +01:00
Roland Westrelin 49caccee0d 8028536: Test cases to cover type system fixes pushed with 8024070
Extra test cases for type speculation

Reviewed-by: kvn
2014-01-07 12:38:22 +01:00
Anton Ivanov 2b3ee2280a 8028587: New tests development for intrisics for basic operators - add, neg, inc, dec, sub, mul
Reviewed-by: twisti
2013-12-31 19:26:57 +04:00
Mikael Vidstedt e64b2eeaa0 8029233: Update copyright year to match last edit in jdk8 hotspot repository for 2013
Copyright year updated for files modified during 2013

Reviewed-by: twisti, iveresov
2013-12-24 11:48:39 -08:00
Albert Noll e1532350ad 8028052: compiler/startup/SmallCodeCacheStartup.java fails there is no 'no space to run compiler' in the output
Weaken test so that configurations that have no C1 compiler pass

Reviewed-by: iveresov
2013-12-20 10:31:14 +01:00
Albert Noll 8b623badea 8030783: Provide regression test for 8026478: -XX:+VerifyAdapterSharing is broken
Added simple regression test

Reviewed-by: iveresov
2013-12-20 10:29:44 +01:00
Albert Noll 119f0e727b Merge 2013-12-16 00:44:46 -08:00
Igor Ignatyev 7524589a39 8026941: [TESTBUG] java.lang.ClassNotFoundException: java.lang.invoke.InvokeGeneric
Reviewed-by: kvn, vlivanov
2013-12-13 00:34:09 +04:00
Albert Noll 5c032940b0 Merge 2013-12-12 11:22:26 -08:00
Lois Foltan 09a211e81f 8028741: Interface Method Resolution should skip static and non-public methods in j.l.Object
Implementation of JDK 8 JVMS 5.4.3.4 specification change to skip static and non-public methods of java.lang.Object for interface method resolution.

Reviewed-by: acorn, coleenp
2013-12-10 16:18:26 -05:00
Igor Ignatyev dd9f5d4ac2 8029153: [TESTBUG] test/compiler/7141637/SpreadNullArg.java fails because it expects NullPointerException
Reviewed-by: twisti
2013-12-11 01:09:04 +04:00
Igor Ignatyev b88c6c014e 8028122: [TESTBUG] compiler/regalloc/C1ObjectSpillInLogicOp.java
Reviewed-by: kvn, twisti
2013-12-11 01:04:34 +04:00
Christian Thalinger d0b8a36591 8029366: ShouldNotReachHere error when creating an array with component type of void
Reviewed-by: kvn
2013-12-06 16:43:56 -08:00
Albert Noll dacc8e143f Merge 2013-12-05 12:49:55 -08:00
Karen Kinnear b5f2f33aaa 8026066: ICCE for invokeinterface static
Reviewed-by: coleenp, lfoltan, hseigel
2013-12-03 08:36:15 -08:00
David Chase 4620107099 Merge 2013-11-29 11:32:45 -05:00
David Chase 78f1afbf45 8016839: JSR292: AME instead of IAE when calling a method
Catch missing-because-illegal case for itable entries and use an exception-throwing method instead of null.

Reviewed-by: acorn, jrose, coleenp
2013-11-26 18:16:04 -05:00
George Triantafillou 1ee6fad9ba 8028160: [TESTBUG] Exclude failing (runtime) jtreg tests using @ignore
Use @ignore to exclude failing tests

Reviewed-by: coleenp, ctornqvi, mseledtsov
2013-11-26 16:03:57 -05:00
Markus Grönlund 1bb792465e Merge 2013-11-22 20:26:36 +01:00
Rickard Bäckman c5b9d5ccd3 8028624: [TESTBUG] compiler/intrinsics/mathexact/DecExactLTest executes DecExactITest
Reviewed-by: kvn, twisti
2013-11-22 15:26:37 +01:00
Rickard Bäckman 57e01f1502 8028997: mathexact intrinsics are unstable
Reviewed-by: iveresov, kvn
2013-11-22 14:14:26 +01:00
Roland Westrelin 319bfa3852 8028308: nsk regression, assert(obj->is_oop()) failed: not an oop
Rbp not restored when stack overflow is thrown from deopt/uncommon trap blobs

Reviewed-by: kvn, iveresov
2013-11-20 12:46:08 +01:00
Markus Grönlund 689cc9ddb7 Merge 2013-11-15 21:39:27 +01:00
David Chase 05c34edee7 Merge 2013-11-14 13:38:49 -08:00
David Chase 19a06cc147 Merge 2013-11-14 15:58:12 -05:00
Erik Helin 66e2f70db7 Merge 2013-11-14 21:05:16 +01:00
Yumin Qi 7496b461e3 8025632: Remove all references to MagicLambdaImpl from Hotspot
MagicLambdaImpl was removed from jdk side, this should be done in vm side too

Reviewed-by: coleenp, hseigel, rdurbin
2013-11-13 16:24:33 -08:00
Roland Westrelin 3fbc683322 8027572: assert(r != 0) failed: invalid
Null classes should be expected in profiles with conflicts

Reviewed-by: kvn, iveresov
2013-11-13 13:45:50 +01:00
Roland Westrelin a5b4fba397 Merge 2013-11-13 01:50:14 -08:00
Roland Westrelin 44f0952afe 8027631: "unexpected profiling mismatch" error with new type profiling
Inlined method handle calls can call methods with different signatures

Reviewed-by: kvn, iveresov
2013-11-13 09:45:58 +01:00
Rickard Bäckman 9c845933bd 8028207: assert(_outcnt==1) failed: not unique in compile.cpp
Reviewed-by: iveresov, kvn
2013-11-12 14:52:48 +01:00