Thomas Schatzl
9ce9586188
8014489: tests/gc/arguments/Test(Serial|CMS|Parallel|G1)HeapSizeFlags jtreg tests invoke wrong class
...
Some jtreg tests reference unknown classes in the @run and @build lines. This change fixes them.
Reviewed-by: stefank, ehelin
2013-05-14 17:08:31 +02:00
Harold Seigel
3aa20631a9
8014138: Add VM option to facilitate the writing of CDS tests
...
Added the -XX:SharedArchiveFile option.
Reviewed-by: coleenp, ccheung, acorn, dcubed, zgu
2013-05-14 09:17:52 -04:00
Christian Thalinger
2c7c39072c
Merge
2013-05-13 12:43:10 -07:00
Coleen Phillimore
7a409b13e0
8005056: NPG: Crash after redefining java.lang.Object
...
Need to walk array class vtables replacing old methods too if j.l.o redefined
Reviewed-by: sspitsyn, dcubed, ctornqvi
2013-05-13 15:37:08 -04:00
Thomas Schatzl
9cfde1acc3
8014058: Regression tests for 8006088
...
The patch for 8006088 misses regression tests after a merge error, this CR provides them.
Reviewed-by: jwilhelm, tamao, jmasa
2013-05-13 09:45:33 +02:00
Jesper Wilhelmsson
3d6c526864
Merge
2013-05-09 12:23:43 +02:00
Jon Masamitsu
bbff951f67
8013184: CMS: Call reset_after_compaction() only if a compaction has been done
...
Reviewed-by: mgerdin, johnc, tschatzl
2013-05-08 17:12:52 -07:00
Jon Masamitsu
973d0400c4
8013032: CMS: assert(used() == used_after_gc && used_after_gc <= capacity()) failed: used: 0 used_after_gc: 292080 capacity: 1431699456
...
Reviewed-by: tschatzl, mgerdin, johnc
2013-05-08 16:28:03 -07:00
Vladimir Kozlov
b4977e887a
6934604: enable parts of EliminateAutoBox by default
...
Resurrected autobox elimination code and enabled part of it by default.
Reviewed-by: roland, twisti
2013-05-08 15:08:01 -07:00
Christian Tornqvist
601071bc6d
8009577: Test test/closed/runtime/classunload broken
...
Fixed tests to use new way of utilizing the WB API, fixed issue with where custom classloader got the classes from
Reviewed-by: collins, mgerdin, zgu
2013-05-07 21:36:59 +02:00
Bengt Rutisson
a8ad116e49
8013872: G1: HeapRegionSeq::shrink_by() has invalid assert
...
Refactored shrink_by() to only use region counts and not byte sizes
Reviewed-by: johnc, tschatzl
2013-05-06 21:30:34 +02:00
Thomas Schatzl
9b9b515fb8
8006088: Incompatible heap size flags accepted by VM
...
Make processing of minimum, initial and maximum heap size more intiutive by removing previous limitations on allowed values, and make error reporting consistent. Further, fix errors in ergonomic heap sizing.
Reviewed-by: johnc, jwilhelm, tamao
2013-05-06 17:19:42 +02:00
Zhengyu Gu
c2330eb6b1
8013120: NMT: Kitchensink crashes with assert(next_region == NULL || !next_region->is_committed_region()) failed: Sanity check
...
Fixed NMT to deal with releasing virtual memory region when there are still committed regions within it
Reviewed-by: acorn, coleenp
2013-05-06 11:15:13 -04:00
Jesper Wilhelmsson
0c4933f5b0
Merge
2013-05-06 13:03:46 +02:00
Bengt Rutisson
36c195270d
8013791: G1: G1CollectorPolicy::initialize_flags() may set min_alignment > max_alignment
...
Make sure max alignemnt is at least as large as min alignment
Reviewed-by: johnc, jmasa, tschatzl
2013-05-06 09:16:14 +02:00
Vladimir Kozlov
1763afaec5
Merge
2013-05-03 15:35:30 -07:00
Vladimir Kozlov
43fbbe98b7
Merge
2013-05-02 18:50:05 -07:00
Mikael Gerdin
94677d4faf
Merge
2013-05-02 16:41:09 -07:00
Mikael Gerdin
67b238b12d
Merge
2013-05-02 19:28:59 +02:00
Bharadwaj Yadavalli
f631e3d253
8013418: assert(i == total_args_passed) in AdapterHandlerLibrary::get_adapter since 8-b87
...
Do not treat static methods as miranda methods.
Reviewed-by: dholmes, acorn
2013-05-01 08:07:59 -07:00
Mikael Vidstedt
9e8a3585b0
8012015: Use PROT_NONE when reserving memory
...
Reserved memory had PROT_READ+PROT_WRITE access on Linux/bsd, now changed to PROT_NONE.
Reviewed-by: dholmes, ctornqvi
2013-04-29 11:03:49 -07:00
Mikael Gerdin
fa84ba4ba9
Merge
2013-04-29 09:31:59 +02:00
John Cuthbertson
fefd60fcfd
8011898: gc/TestVerifyBeforeGCDuringStartup.java: java.lang.RuntimeException: '[Verifying' missing from stdout/stderr: [Error: Could not find or load main class]
...
System.getProperty("test.java.opts") can return NULL, which gets converted to to the empty string, and the child java command then interprets that as the name of the main class.
Reviewed-by: jmasa, brutisso
2013-04-26 10:57:57 -07:00
Igor Ignatyev
25dd2eda88
8012322: Tiered: CompilationPolicy::can_be_compiled(CompLevel_all) mistakenly return false
...
Reviewed-by: kvn, vlivanov
2013-04-26 07:21:41 -07:00
Igor Ignatyev
0a434e425b
8011675: adding compilation level to replay data
...
Reviewed-by: kvn, vlivanov
2013-04-25 11:09:24 -07:00
Igor Ignatyev
5733943877
8012337: Change Whitebox implementation to make absence of method in Whitebox.class not fatal
...
Reviewed-by: kvn, vlivanov
2013-04-25 11:04:36 -07:00
Roland Westrelin
20b5d3aa4f
8012037: Test8009761.java "Failed: init recursive calls: 7224. After deopt 58824"
...
Test shouldn't be run with a modified CompileThreshold
Reviewed-by: kvn
2013-05-03 09:32:50 +02:00
Albert Noll
34f8be0bc9
8013496: Code cache management command line options work only in special order. Another order of arguments does not deliver the second parameter to the jvm
...
Moved check that ReservedCodeCacheSize >= InitialCodeCacheSize to Arguments::check_vm_args_consistency(). As a result, the ordering in which the two parameters are given to the VM is not relevant. Added a regression test.
Reviewed-by: kvn, twisti
2013-05-31 06:41:50 +02:00
Roland Westrelin
2e5f473752
8015585: Missing regression test for 8011771
...
Missing regression test
Reviewed-by: kvn
2013-05-30 11:21:01 +02:00
Roland Westrelin
bad6728ea4
8011901: Unsafe.getAndAddLong(obj, off, delta) does not work properly with long deltas
...
Instruct xaddL_no_res shouldn't allow 64 bit constants.
Reviewed-by: kvn
2013-04-16 17:06:39 +02:00
Alejandro Murillo
d60d7014ed
Merge
2013-04-19 09:58:05 -07:00
David Katleman
738e12d844
Merge
2013-04-17 12:38:58 -07:00
David Katleman
fd2735329e
Merge
2013-04-15 14:19:58 -07:00
David Katleman
6e2f758312
8012048: JDK8 b85 source with GPL header errors
...
Reviewed-by: iris, mduigou, jjg
2013-04-12 15:22:08 -07:00
Bharadwaj Yadavalli
c660647bfa
Merge
2013-04-11 17:16:39 -07:00
Mikael Gerdin
0393fa9b49
Merge
2013-04-11 16:35:34 +02:00
Igor Ignatyev
33e3f6b59b
8011971: WB API doesn't accept j.l.reflect.Constructor
...
Reviewed-by: kvn, vlivanov
2013-04-16 10:04:01 -07:00
David Chase
25c31f3742
6443505: Ideal() function for CmpLTMask
...
Repair wrong code generation, added new matching rule
Reviewed-by: kvn, twisti
2013-04-12 19:14:47 -07:00
Christian Thalinger
4ac4649aab
8011678: test/Makefile should pick up JT_HOME environment variable
...
Reviewed-by: kvn
2013-04-12 15:43:07 -07:00
Mikael Gerdin
0edccc9e61
8010196: NPG: Internal Error: Metaspace allocation lock -- possible deadlock
...
Refactor the CLD dependency list into a separate class. Use an ObjectLocker to synchronize additions to the CLD dependency list.
Reviewed-by: stefank, coleenp
2013-04-10 13:27:35 +02:00
Roland Westrelin
c99c99aa36
8011706: specjvm2008 test xml.transform gets array bound exception with c1
...
Loop invariant code motion may move load before store to the same field
Reviewed-by: kvn
2013-04-10 09:52:49 +02:00
Igor Ignatyev
ca90185607
8007288: Additional WB API for compiler's testing
...
Reviewed-by: kvn, vlivanov
2013-04-09 09:54:17 -07:00
Leonid Mesnik
6f3fdce7b3
8009808: TEST-BUG : test case is using bash style tests. Default shell for jtreg is bourne. thus failure
...
Rewrite test to use Java only instead of shell script
Reviewed-by: mgerdin, brutisso
2013-04-09 15:32:45 +02:00
David Chase
12be356d81
8010913: compiler/6863420 often exceeds timeout
...
Add longer timeout for jtreg, add internal timeout thread to prevent spurious timeouts
Reviewed-by: twisti, kvn
2013-04-08 07:40:08 -07:00
Daniel D. Daugherty
78339229bb
Merge
2013-04-05 10:38:08 -07:00
Bharadwaj Yadavalli
4b9150eaf7
Merge
2013-04-04 17:01:34 -07:00
Mikael Gerdin
c17d80e53d
Merge
2013-04-04 19:07:32 +02:00
Roland Westrelin
02a014996b
8010399: Test8009761.java "Failed: init recursive calls: 5498. After deopt 5494"
...
Test from 8009761 shouldn't be run with -Xcomp
Reviewed-by: kvn
2013-04-04 09:33:24 +02:00
Mikael Gerdin
0a963fd1b7
Merge
2013-04-03 09:19:02 +02:00
Leonid Mesnik
a4300aa98b
8009763: Add WB test for String.intern()
...
Add convenience method in StringTable, add WhiteBox method and simple sanity test
Reviewed-by: mgerdin, zgu
2013-04-02 11:28:33 +02:00
Christian Tornqvist
c435269587
8009125: Add NMT tests for Virtual Memory operations
...
Tests added for Reserve/Commit/Uncommit/Unreserve operations
Reviewed-by: zgu, mgerdin
2013-04-03 21:41:33 +02:00
Gary Collins
4970095c03
Merge
2013-03-28 15:42:11 -07:00
Daniel D. Daugherty
2484584e6d
Merge
2013-03-29 08:38:00 -07:00
Gary Collins
c2a873f014
8009152: A number of jtreg tests need review/improvement
...
Added a new test_env.txt file to capture common shell variable. Added concept of COMPILEJAVA for use when TESTJAVA is a JRE. If COMPILEJAVA not set then TESTJAVA will be the default with assumption it is a JDK.
Reviewed-by: kvn, brutisso, coleenp
2013-03-27 09:49:51 -07:00
Harold Seigel
366b7e1c5e
8010833: Test7116786.java is failing on most configs after fix for 8010667
...
Update test to recognize that non-zero pad bytes for lookupswitch/tablewsitch opcodes are now valid.
Reviewed-by: dcubed, twisti, kvn, coleenp, dholmes
2013-03-27 11:41:51 -04:00
Bharadwaj Yadavalli
0e9d409036
8009552: test/vm/verifier/TestStaticIF.java failing with hs25.0-b
...
Remove support for verification of class files with version 52 and above from type inference verifier.
Reviewed-by: acorn, hseigel
2013-03-25 09:36:15 -07:00
Christian Tornqvist
ca4e4e41da
Merge
2013-03-24 09:21:37 +01:00
Christian Tornqvist
c458eb3fd6
8008454: test/runtime/NMT/PrintNMTStatistics is broken
...
Added @run tag so that it actually runs the test, also fixed broken command line and incorrect parsing. Also reviewed by gerard.ziemski@oracle.com
Reviewed-by: mgerdin, zgu
2013-03-24 09:11:55 +01:00
Daniel D. Daugherty
05b3bc59c3
Merge
2013-03-23 22:35:02 -07:00
Erik Helin
d67e393dd6
8009408: gc/metaspace/ClassMetaspaceSizeInJmapHeap.java fails with "exit code 1"
...
Reviewed-by: brutisso, sla, ctornqvi
2013-03-23 09:16:37 +01:00
John Cuthbertson
9c89e6d28a
8010463: G1: Crashes with -UseTLAB and heap verification
...
Some parts of the G1 heap can only be walked during a safepoint. Skip verifying these parts of the heap when verifying during JVM startup.
Reviewed-by: brutisso, tschatzl
2013-03-29 13:49:37 -07:00
Erik Helin
cf6d13410c
8010818: NPG: Remove metaspace memory pools
...
Reviewed-by: mgerdin, stefank
2013-03-27 10:55:37 +01:00
Stefan Karlsson
bed324d7f9
Merge
2013-03-25 11:00:19 +01:00
Erik Helin
902be4665b
8000754: NPG: Implement a MemoryPool MXBean for Metaspace
...
Reviewed-by: jmasa, stefank
2013-03-22 16:10:01 +01:00
Ioi Lam
ba67f14480
8010389: After fix for 7107135 a failed dlopen() call results in a VM crash
...
Call dlerror() in VM thread as necessary.
Reviewed-by: coleenp, dholmes
2013-03-21 20:46:46 -07:00
Christian Tornqvist
b7d738913e
8007982: some runtime/CommandLine/ tests fail on 32-bit platforms
...
Changed tests to use platform independent flags
Reviewed-by: collins, hseigel, zgu
2013-03-20 20:40:57 +01:00
Christian Tornqvist
3277de9dad
8010084: Race in runtime/NMT/BaselineWithParameter.java
...
Added a waitFor() on the process
Reviewed-by: mgerdin, sla, zgu
2013-03-20 08:17:55 +01:00
Ron Durbin
f4bcfd04ca
7030610: runtime/6878713/Test6878713.sh fails Error. failed to clean up files after test
...
7123945: runtime/6878713/Test6878713.sh require about 2G of native memory, swaps and times out
Add new diagnostic option -XX:MallocMaxTestWords=NNN and fix Test6878713.sh.
Reviewed-by: dcubed, coleenp, dholmes, iklam
2013-03-19 11:33:11 -07:00
Igor Ignatyev
51c733dfb1
8008211: Some of WB tests on compiler fail
...
Reviewed-by: kvn, vlivanov
2013-03-18 04:29:08 -07:00
Morris Meyer
5b2fed9809
Merge
2013-03-14 16:16:05 -07:00
Aleksey Shipilev
2f5e08742a
8008965: @Contended fails with classes having static fields
...
Disable @Contended support for static fields
Reviewed-by: coleenp, kvn
2013-03-11 14:00:09 -04:00
Daniel D. Daugherty
f73c8f1408
Merge
2013-03-08 17:14:22 -08:00
Ioi Lam
5116181e1f
7107135: Stack guard pages are no more protected after loading a shared library with executable stack
...
Detect the execstack attribute of the loaded library and attempt to fix the stack guard using Safepoint op.
Reviewed-by: dholmes, zgu
2013-03-05 13:55:56 -08:00
Bill Pittore
715db0beb3
Merge
2013-03-01 14:06:47 -05:00
Vladimir Ivanov
528aec3f18
Merge
2013-02-28 15:31:03 -08:00
Bengt Rutisson
02472faab5
Merge
2013-02-28 09:01:08 +01:00
Gary Collins
093d1163e4
7115383: TEST_BUG: some jtreg tests fail because they explicitly specify -server option
...
Small changes to hotspot tests to remove "-server" and replace with ${TESTVMOPTS}
Reviewed-by: kvn
2013-02-27 20:36:14 -08:00
David Chase
899bcf76ae
8007776: Test6852078.java timeouts
...
If more than 100 seconds and more than 100 iterations have both passed, then exit is allowed.
Reviewed-by: kvn
2013-02-26 15:38:24 -08:00
Roland Westrelin
c84424d4af
8007722: C2: "assert(tp->base() != Type::AnyPtr) failed: not a bare pointer" at machnode.cpp:376
...
GetAndSetP's MachNode should capture bottom type.
Reviewed-by: kvn
2013-02-26 12:18:30 +01:00
Roland Westrelin
fe92862089
8007294: ReduceFieldZeroing doesn't check for dependent load and can lead to incorrect execution
...
InitializeNode::can_capture_store() must check that the captured store doesn't overwrite a memory location that is loaded before the store.
Reviewed-by: kvn
2013-02-25 14:13:04 +01:00
Serguei Spitsyn
f85789e68a
Merge
2013-02-22 10:16:51 -08:00
Vladimir Ivanov
1a03134bc8
Merge
2013-02-21 06:29:43 -08:00
Bengt Rutisson
88ec03b622
Merge
2013-02-21 13:13:22 +01:00
John Cuthbertson
1d1641be2f
8008188: Add regression test for 8005875
...
Add regression test for crash seen in 8005875. Test is run with G1 and PGCT=0 and issues "jcmd <pid> Thread.print" against itself. Without the fix for 8005875 the test will crash.
Reviewed-by: brutisso
2013-02-20 12:52:13 -08:00
Filipp Zhinkin
bfe250c236
8006628: NEED_TEST for JDK-8002870
...
Regression test for 8000311. Verifies that PLABStats works with zero parallel GC threads.
Reviewed-by: jmasa, johnc
2013-02-19 16:22:28 -08:00
Mikael Gerdin
1d468be4b1
8006753: fix failed for JDK-8002415 White box testing API for HotSpot
...
Modify WhiteBoxAPI to use interface classes from test/testlibrary instead, add ClassFileInstaller to resolve the boot class path issue
Reviewed-by: ctornqvi, dsamersoff, coleenp, kvn
2013-02-19 18:45:49 +01:00
Vladimir Kozlov
656949d014
8004867: VM crashing with assert "share/vm/opto/node.hpp:357 - assert(i < _max) failed: oob"
...
Added few checks and early bailout from Superword optimization to avoid such cases in a future.
Reviewed-by: roland, twisti
2013-02-18 16:47:15 -08:00
David Chase
8d2496d7de
7102300: performance warnings cause results diff failure in Test6890943
...
Strip lines matching the performance warning from the output before diff.
Reviewed-by: kvn
2013-02-18 15:08:39 -08:00
David Chase
d867a3f9a8
8008180
: Several tests in compiler/5091921 need more time to run
...
Added an explicit timeouts.
Reviewed-by: kvn, twisti
2013-02-18 14:29:16 -08:00
Dmitry Samersoff
dd9a6fc8eb
Merge
2013-02-15 10:29:23 -08:00
Bharadwaj Yadavalli
ff4bbcd501
8007736: VerifyError for static method in interface
...
Reviewed-by: dholmes, acorn
2013-02-14 14:33:35 -05:00
Vladimir Ivanov
8952875c84
Merge
2013-02-14 05:36:59 -08:00
Bengt Rutisson
c2f4ba73be
8006398: Add regression tests for deprectated GCs
...
Reviewed-by: ehelin, jwilhelm, jmasa
2013-02-14 09:11:43 +01:00
Igor Ignatyev
034705ee13
8006683: Add WhiteBox API to testing of compiler
...
Reviewed-by: kvn, vlivanov
2013-02-13 08:29:04 -08:00
Roland Westrelin
05b1c69fc0
8009761: Deoptimization on sparc doesn't set Llast_SP correctly in the interpreter frames it creates
...
Deoptimization doesn't set up callee frames so that they restore caller frames correctly.
Reviewed-by: kvn
2013-03-13 09:44:45 +01:00
Jon Masamitsu
ddbf6ad621
8012111: Remove warning about CMS generation shrinking
...
Reviewed-by: johnc, brutisso, stefank
2013-04-22 22:00:03 -07:00
Mikael Gerdin
dcedbaa149
Merge
2013-04-22 10:10:09 +02:00
Kevin Walls
4e6c27cef0
7109087: gc/7072527/TestFullGCCount.java fails when GC is set in command-line
...
Reviewed-by: mgerdin
2013-04-18 17:02:20 +01:00
Krystal Mo
851ae93451
8002169: TEST_BUG: compiler/7009359/Test7009359.java sometimes times out
...
Make the test less prone to timeout by reducing the amount of iteration and allowing main to be compiled
Reviewed-by: jrose
2013-02-12 07:39:42 -08:00
Coleen Phillimore
faea95b8d3
8007320: NPG: move method annotations
...
Allocate method annotations and attach to ConstMethod if present
Reviewed-by: dcubed, jiangli, sspitsyn, iklam
2013-02-11 14:06:22 -05:00