Commit Graph

1097 Commits

Author SHA1 Message Date
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
Rickard Bäckman 0ef4539a9f 8028198: SIGSEGV in PhaseIdealLoop::build_loop_late_post
Reviewed-by: iveresov, kvn
2013-11-12 13:47:57 +01:00
Mikael Gerdin 0a6481ef3a Merge 2013-11-08 23:49:20 +00:00
Mikael Gerdin 90ed74aa8c Merge 2013-11-11 16:20:48 +01:00
Alkesey Timofeev 722d25b2dd 8027237: New tests on ReservedSpace/VirtualSpace classes
Three tests added: 1) test stressing VirtualSpace by resizing it constantly 2) test running unit tests in several threads 3) test checking protected area in ReservedHeapSpace class

Reviewed-by: stefank, zgu
2013-11-08 16:48:21 +01:00
Alejandro Murillo 4bfde2eab7 Merge 2013-11-08 07:02:53 -08:00
Thomas Schatzl 6f46da6198 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
Change checks for isHumongous() to continuesHumongous() as installing a code root for a humongous object is valid, but not for continuations of humongous objects. Cleaned up asserts.

Reviewed-by: jmasa, tamao
2013-11-07 15:17:10 +01:00
Mikael Vidstedt e80dce6a4d 8026775: nsk/jvmti/RedefineClasses/StressRedefine crashes due to EXCEPTION_ACCESS_VIOLATION
Uncommon trap blob did not bang all the stack shadow pages

Reviewed-by: kvn, twisti, iveresov, jrose
2013-11-06 06:51:24 -08:00
Alejandro Murillo 930baab448 Merge 2013-11-05 14:06:23 -08:00
Igor Veresov c78419253b Merge 2013-11-05 02:29:41 -08:00
Igor Veresov 7899a729a9 8027751: C1 crashes in Weblogic with G1 enabled
Keep T_OBJECT operands in registers for logical operations on x64

Reviewed-by: kvn, roland
2013-11-05 00:59:30 -08:00
Roland Westrelin c8757a5edd 8027445: SIGSEGV at TestFloatingDecimal.testAppendToDouble()I
String.equals() intrinsic shouldn't use integer length input in pointer arithmetic without an i2l.

Reviewed-by: kvn, twisti
2013-11-04 21:59:54 +01:00
Rickard Bäckman 897e6d41f6 8027622: java.time.Instant.create failing since hs25-b56
Reviewed-by: kvn, iveresov
2013-11-04 10:44:46 +01:00
Alejandro Murillo 2c2fcae7df Merge 2013-11-02 13:02:59 -07:00
Jesper Wilhelmsson 0fa3a71c8a 8016309: assert(eden_size > 0 && survivor_size > 0) failed: just checking
7057939: jmap shows MaxNewSize=4GB when Java is using parallel collector

Major cleanup of the collectorpolicy classes

Reviewed-by: tschatzl, jcoomes
2013-11-01 17:09:38 +01:00
Igor Veresov 7e10db0ef4 Merge 2013-10-31 15:04:43 -07:00
Igor Veresov 2775c9a68e Merge 2013-10-31 14:54:14 -07:00
Erik Helin 81eb5be18f Merge 2013-10-31 21:20:00 +01:00
Igor Veresov e43ac25584 8026735: Stream tests throw java.lang.IncompatibleClassChangeError
Put a band-aid to disable CHA-based inlining for interfaces with default methods in C1

Reviewed-by: kvn, twisti
2013-10-30 22:55:11 -07:00
Lana Steuck fdb505344e Merge 2013-10-30 13:43:16 -07:00
Rickard Bäckman 612252d7a2 8027444: mathExact: assert(i < _max) failed: oob: i=1, _max=1
Reviewed-by: duke
2013-10-30 13:14:09 +01:00
Lana Steuck e95dd7d93a Merge 2013-10-28 12:25:44 -07:00
Bengt Rutisson f12f991935 8027132: Print deprecation warning message for the flags controlling the CMS foreground collector
Reviewed-by: stefank, ehelin, ysr, tschatzl
2013-10-28 13:27:57 +01:00
Rickard Bäckman 4d9e812aa2 8027353: Exact intrinsics: assert(n != NULL) failed: must not be null
Reviewed-by: kvn, roland
2013-10-28 08:34:10 +01:00
Igor Veresov 1c02aa59c9 Merge 2013-10-28 17:32:02 -07:00
Calvin Cheung bea255ee35 Merge 2013-10-25 22:06:43 -07:00
Albert Noll 87fe2fdf42 8026949: -Xint flag prints wrong warning: Initialization of C1 thread failed (no space to run compilers)
Exit compiler threads early during startup so that wrong error message is not printed

Reviewed-by: iveresov, twisti
2013-10-25 22:57:13 +02:00
Coleen Phillimore 3e6630c07b 8024927: Nashorn performance regression with CompressedOops
Allocate compressed class space at end of Java heap.  For small heap sizes, without CDS, save some space so compressed classes can have the same favorable compression as oops

Reviewed-by: stefank, hseigel, goetz
2013-10-25 15:19:29 -04:00
John Coomes ca4a0c5c64 Merge 2013-10-25 08:38:42 -07:00
Igor Veresov 986d2145ba Merge 2013-10-24 16:25:24 -07:00
Igor Veresov e1fbf928ef Merge 2013-10-24 16:14:28 -07:00
Calvin Cheung ded45d0129 Merge 2013-10-24 17:20:39 -04:00
Fredrik Arvidsson e731a6d078 8026808: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java failed with unexpected exit value
Fixes a bug with vmArgs when using JDKToolLauncher

Reviewed-by: sla, dholmes
2013-10-23 10:24:28 +02:00
Harold Seigel 286c6a3d50 Merge 2013-10-22 22:14:57 -04:00
Mikhailo Seledtsov 4ac64cd06d 8026809: [TESTBUG] Create regression test for JDK-8026041
Created simple regression test for the bug

Reviewed-by: hseigel, lfoltan, zgu
2013-10-22 15:54:50 -04:00
John Coomes 7ca427bc4f Merge 2013-10-22 12:03:50 -07:00
Lois Foltan 033c5b68ea 8026394: Eclipse fails with JDK8 build 111
If the resolved interface does not itself contain "clone" or "finalize" methods, the method/interface method resolution looks to the interface's super class, java.lang.Object.  With the JDK 8 interface method accessability check requirement, since these two methods are declared within Object as protected, they must be special cased in LinkResolver::check_method_accessability() in order to avoid an IAE.

Reviewed-by: acorn, dholmes
2013-10-22 14:47:59 -04:00
David Holmes e88385939f Merge 2013-10-21 21:06:20 -04:00
David Holmes 0eef926855 8026872: [TESTBUG] Classes OOMCrashClass4000_1.class and OOMCrashClass1960_2.class from runtime/ClassFile/ tests won't run on compact profiles
Reviewed-by: sla, sspitsyn
2013-10-21 20:51:03 -04:00
Stefan Karlsson ddd9098a27 8026781: Add missing test to exercise -XX:+UseLargePagesInMetaspace
Reviewed-by: mgerdin, brutisso
2013-10-21 09:34:10 +02:00
Karen Kinnear 0e34fa065a 8026893: Push 8026365 to TL early and add test
Reviewed-by: dcubed, kamg
2013-10-19 18:32:34 -04:00
Calvin Cheung e187f54e56 Merge 2013-10-18 19:44:40 -07:00
John Coomes 8d381f2b2e Merge 2013-10-18 12:10:44 -07:00
Karen Kinnear 4f064cafe6 8026365: NoClassDefinitionFound for anonymous class invokespecial
Reviewed-by: dcubed, kamg
2013-10-17 23:30:17 -04:00
Igor Veresov d94fef24b5 Merge 2013-10-17 10:58:45 -07:00
Lois Foltan 21627fb02f 8024804: Crash when InterfaceMethodref resolves to Object.registerNatives
Added check for NULL prior to continuation of method look up to avoid runtime crash during look up of Object's superclass' methods.

Reviewed-by: coleenp, hseigel
2013-10-16 14:32:05 -04:00
Stefan Karlsson 9f6e8976d0 Merge 2013-10-15 07:10:09 -07:00
Mikael Gerdin 3b3afe75fb Merge 2013-10-15 04:29:21 -07:00
Per Lidén c6e227a3e6 8024634: gc/startup_warnings tests can fail due to unrelated warnings
Reviewed-by: brutisso, jwilhelm, tamao
2013-10-15 11:44:47 +02:00
Per Lidén 908dd54639 8023158: hotspot/test/gc/7168848/HumongousAlloc.java fails 14 full gcs, expect 0 full gcs
Reviewed-by: brutisso, tschatzl
2013-10-15 11:38:47 +02:00
Thomas Schatzl fa38a2edca 8026186: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java Compilation failed
After a method rename in JDK-8014905 the mentioned test did not compile any more. Fix the uses of the affected method.

Reviewed-by: jwilhelm, mgerdin, jmasa
2013-10-15 11:18:42 +02:00
Rickard Bäckman 615376fb9b 8026844: Various Math functions needs intrinsification
Reviewed-by: kvn, twisti
2013-10-18 10:41:56 +02:00
Roland Westrelin 1b5bd82335 8024070: C2 needs some form of type speculation
Record unused type profile information with type system, propagate and use it.

Reviewed-by: kvn, twisti
2013-10-23 12:40:23 +02:00
Igor Ignatyev 1fbfd1734c 8026865: [TESTBUG] 'compiler/print/PrintInlining.java' should specify -XX:+UnlockDiagnosticVMOptions
Reviewed-by: twisti, iveresov
2013-10-21 09:21:41 +04:00
Igor Veresov 9bf565afeb Merge 2013-10-19 22:22:05 -07:00
Igor Ignatyev 50b8567c55 8023318: compiler/whitebox tests timeout with enabled TieredCompilation
Reviewed-by: kvn, twisti
2013-10-19 21:54:46 +04:00
Igor Ignatyev fce1adef81 8026414: [TESTBUG] Tests for Tiered/NonTiered levels
Reviewed-by: twisti, iveresov
2013-10-19 21:54:44 +04:00
Stefan Johansson 3e9df3ecf1 8025661: Ill-formed -Xminf and -Xmaxf options values interpreted as 0
Using strtod() instead of atof() when parsing -Xminf and -Xmaxf.

Reviewed-by: brutisso, pliden
2013-10-14 14:21:34 +02:00
Calvin Cheung b6b00269d9 Merge 2013-10-11 18:23:44 -07:00
John Coomes e61cbf8d69 Merge 2013-10-11 08:27:21 -07:00
Fredrik Arvidsson 44c3da1ed0 8026199: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java Compilation failed
Fixed a compilation failure due to changed method name

Reviewed-by: sla, jbachorik
2013-10-11 13:48:02 +02:00
Rickard Bäckman 0e8081e57b 8025657: compiler/intrinsics/mathexact/ConstantTest.java fails on assert in lcm.cpp on solaris x64
Reviewed-by: kvn, twisti
2013-10-11 12:06:14 +02:00
David Chase b1d7228bff 8026124: JSR-292 bug: java.nio.file.Path.toString cores dump
Catch problem case, assert it matches valid input, new test

Reviewed-by: jrose, twisti, kvn
2013-10-12 17:26:41 -04:00
Igor Veresov db9a439624 Merge 2013-10-13 13:22:24 -07:00
Albert Noll aef0d74e96 8023014: CodeSweeperSweepNoFlushTest.java fails with HS crash
Ensure ensure correct initialization of compiler runtime

Reviewed-by: kvn, twisti
2013-10-10 15:44:12 +02:00
Igor Veresov f2e6d682a1 Merge 2013-10-08 07:08:27 -07:00
Mikhailo Seledtsov 2b82651ec0 8023796: [TESTBUG] Add -XX:-TransmitErrorReport to runtime/6888954/vmerrors.sh
Added -XX:-TransmitErrorReport to the test

Reviewed-by: stefank, ctornqvi
2013-10-06 16:13:50 +02:00
John Coomes 875078a4e0 Merge 2013-10-04 13:37:25 -07:00
Fredrik Arvidsson d3094c0e8c 6313383: SA: Update jmap to support HPROF binary format "JAVA PROFILE 1.0.2"
Adds support for large(>4G) heap dumps in hprof format. Adds tests and updates testlibrary.

Reviewed-by: sla, allwin
2013-10-04 13:44:49 +02:00
Stefan Karlsson 3b34e78d20 8024838: Significant slowdown due to transparent huge pages
Don't turn on transparent huge pages (-XX:+UseTransparentHugePages) unless explicitly specified on the command line. This has the effect that large pages are never turned on Linux unless the user has explicitly enabled any of the large pages flags: -XX:+UseLargePages, -XX:+UseTransparentHugePages, -XX:+UseHugeTLBFS, and -XX:+UseSHM.

Reviewed-by: jwilhelm, tschatzl, brutisso
2013-10-05 10:14:58 +02:00
Calvin Cheung 48a315bb52 Merge 2013-10-04 21:00:43 -07:00
Igor Veresov 51a9303c03 Merge 2013-10-03 16:38:21 +04:00
Albert Noll 4f459e644f 8025656: compiler/8013496/Test8013496.sh fails on assert
Ensure the thread is in correct state; rewrote test in Java

Reviewed-by: kvn, twisti
2013-10-04 09:19:13 +02:00
Erik Helin ac15ca0d6a Merge 2013-10-02 18:24:58 +02:00
Mikhailo Seledtsov a97a2ad3c6 8025671: Test name changed, test list not updated. Test6878713.sh
Removed the obsolete test from the test group file

Reviewed-by: sla, ctornqvi, dholmes
2013-10-02 15:17:20 +02:00
Mikael Gerdin 9204842093 8012525: gc/metaspace/G1AddMetaspaceDependency.java Test fails a safepoint timeout assertion or hangs
Reviewed-by: brutisso, tschatzl
2013-10-02 14:33:32 +02:00
Thomas Schatzl f144f37f49 8025441: G1: assert "assert(thread < _num_vtimes) failed: just checking" fails when G1ConcRefinementThreads > ParallelGCThreads
The initialization for the remembered set summary data structures used the wrong thread count, i.e. number of worker threads instead of number of refinement threads.

Reviewed-by: brutisso
2013-09-30 12:43:59 +02:00
Erik Helin 2722c5d966 8025226: TestPerfCountersAndMemoryPools.java fails with -Xmixed or -Xcomp
Reviewed-by: brutisso, mgerdin
2013-09-30 11:39:07 +02:00
David Chase 02f6818d8f 8025260: Methodhandles/JSR292: NullPointerException (NPE) thrown instead of AbstractMethodError (AME)
Copied null-checks from templateInterpreter_CPU into methodHandles_CPU

Reviewed-by: jrose, twisti
2013-09-27 13:36:25 -04:00
Zhengyu Gu bfafab7b47 Merge 2013-09-27 10:08:56 -04:00
Igor Ignatyev 30874d35f1 8023452: TestCase$Helper(java.lang.Object) must be osr_compiled
Reviewed-by: kvn
2013-09-28 12:32:10 +04:00
Igor Ignatyev 74b0d053ee 8024678: Java source files in hotspot/test/testlibrary should not use @author tag in JavaDoc
Reviewed-by: twisti
2013-09-28 12:32:09 +04:00
Niclas Adlertz 562ce20154 Merge 2013-09-27 12:43:51 -07:00
Rickard Bäckman 441f1d74cf 8024924: Intrinsify java.lang.Math.addExact
Reviewed-by: kvn, twisti
2013-09-27 08:39:19 +02:00
Niclas Adlertz 3554ed5490 Merge 2013-09-26 08:48:15 +02:00
Christian Tornqvist 18550f7774 8024492: [TESTBUG] Test library class Platform.java needs to include methods for missing OS's and architectures
Added methods for 32bit, arm, ppc, x64 and x86

Reviewed-by: zgu, hseigel, mseledtsov
2013-09-25 17:47:51 +02:00
Christian Tornqvist 81505a6a57 8024677: [TESTBUG] Move tests for classes in /testlibrary
Moved the tests to /testlibrary_tests and updated TEST.groups

Reviewed-by: dholmes, sla
2013-09-25 17:47:22 +02:00
Vladimir Kozlov 0ccb2841ea 8022585: VM crashes when ran with -XX:+PrintInlining
Use adr_at() to access inline info structures in growableArray. Add ability to specify print inlining per method.

Reviewed-by: twisti
2013-09-24 16:08:00 -07:00
Thomas Schatzl 9149bde0f3 Merge 2013-09-27 11:18:26 +02:00
Thomas Schatzl bd9ffce267 8014078: G1: improve remembered set summary information by providing per region type information
Add memory consumption breakdown on a per region type in the G1 remembered set summary statistics. This simplifies remembered set memory consumption analysis.

Reviewed-by: brutisso
2013-09-26 12:49:45 +02:00
Daniel D. Daugherty 156b06d897 Merge 2013-09-20 12:58:35 -07:00
Niclas Adlertz afef481831 Merge 2013-09-19 18:01:39 +02:00
Harold Seigel a1f3a95880 8024517: runtime/CDSCompressedKPtrs/XShareAuto.java failed with RuntimeException
Make sure CDS is off by default when running server compiler.

Reviewed-by: dholmes, coleenp
2013-09-19 11:04:23 -04:00
Thomas Schatzl 0a1b832ae0 Merge 2013-09-19 09:34:20 +02:00
Thomas Schatzl 9005953c71 Merge 2013-09-19 09:26:08 +02:00
Bertrand Delsart 765632873a Merge 2013-09-18 21:47:51 -07:00
Thomas Schatzl 3111ab9115 Merge 2013-09-18 15:59:41 +02:00
Thomas Schatzl 3e4a59f797 8024662: gc/arguments/TestUseCompressedOopsErgo.java does not compile
Fix compilation error and use of an outdated VM option in the test

Reviewed-by: stefank, jwilhelm
2013-09-18 10:02:19 +02:00
Erik Helin 2cab7ea037 8024718: Metaspace performance counters and memory pools should report the same data
Reviewed-by: stefank, dholmes, coleenp
2013-09-17 20:59:07 +02:00
Mikhailo Seledtsov 876967ae1f 7149464: [TESTBUG] Test runtime/7020373/Test7020373.sh failed to clean up files after test
Re-wrote in Java, this also eliminated temporary result file; set upper limit on malloc'd memory

Reviewed-by: dcubed, dholmes, ccheung
2013-09-17 20:20:03 +02:00
Mikhailo Seledtsov a19b450d56 8016029: test runtime/6878713/Test6878713.sh failed
Rewrote test in Java; updated the test condition to reflect latest changes in the source

Reviewed-by: dholmes, ctornqvi
2013-09-17 20:09:32 +02:00