Sangheon Kim
b112b31e5b
8134995: [REDO] GC: implement ranges (optionally constraints) for those flags that have them missing
...
Add ranges and constraint functions for GC flags.
Reviewed-by: kbarrett, jmasa, jwilhelm, gziemski, zmajo
2015-10-05 14:56:19 -07:00
George Triantafillou
1ba9657a1c
8134432: [TESTBUG] Rewrite test/runtime/6888954/vmerrors.sh in Java
...
Reviewed-by: ddmitriev, ctornqvi, coleenp
2015-10-07 11:37:46 -04:00
Jesper Wilhelmsson
e75e2e04f7
Merge
2015-10-07 01:03:24 +02:00
Max Ockner
27d1c05648
8138917: Back out change for 8130681
...
Change 8130681 has been backed out.
Reviewed-by: coleenp, gtriantafill
2015-10-06 14:27:39 -04:00
Iris Clark
34406f46c6
Merge
2015-09-29 17:57:55 -07:00
Zoltan Majo
fc2a5e9d53
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
...
Add range check or constraint where necessary.
Reviewed-by: roland, thartmann
2015-10-09 14:21:26 +02:00
Dmitry Dmitriev
1ea2276afe
8138769: [TESTBUG] restore lost line from JDK-8137105 fix
...
Reviewed-by: dcubed, rdurbin
2015-10-02 09:04:10 -07:00
Daniel D. Daugherty
017ac63fe8
8137105: [TESTBUG] Add test cases for VM Options file feature with removed file size limit
...
Update TestVMOptionsFile.java to match fix for 8135195; other minor cleanups.
Reviewed-by: dcubed, rdurbin
2015-10-01 13:43:23 -07:00
Max Ockner
8c6f4e578d
8130681: Kitchensink startup crashes JVM with NMT overlapping ranges
...
Add_committed_region now handles overlapping commits.
Reviewed-by: hseigel, coleenp
2015-09-24 11:26:30 -04:00
Dmitry Dmitriev
0835a6e311
8073331: [TESTBUG] Test for VM option file feature (VM options specified in file)
...
Reviewed-by: dcubed, gtriantafill, rdurbin
2015-09-23 22:04:23 +03:00
Igor Veresov
74519e1e1a
Merge
2015-09-25 12:04:35 -07:00
Nils Eliasson
c2892b5dce
Merge
2015-11-16 20:56:18 +01:00
Zoltan Majo
5c32c8d2ab
8140327: segfault on solaris-amd64 with "-XX:CompilerThreadStackSize=1" option
...
Update range for the CompilerThreadStackSize flag. Remove flag from testing.
Reviewed-by: kvn
2015-11-16 09:42:20 +01:00
Nils Eliasson
5ca8983920
8135068: Extract method matchers from CompilerOracle
...
Ecapsulate code to enable reuse
Reviewed-by: roland, kvn
2015-09-18 10:11:11 +02:00
Derek White
23813ce92e
8066821: Enhance command line processing to manage deprecating and obsoleting -XX command line arguments
...
Add support for alias options and automatically expiring deprecated options
Reviewed-by: dholmes, kbarrett, acorn
2015-09-11 15:31:03 -04:00
Coleen Phillimore
46c2208620
Merge
2015-11-20 01:35:20 +00:00
Gerard Ziemski
97470c5146
8138983: Runtime: implement ranges for Shared*** flags
...
Implement ranges.
Reviewed-by: ddmitriev, dholmes, jiangli
2015-11-19 16:32:41 -06:00
Christian Tornqvist
c02b26ee45
8143324: Backout JDK-8087223
...
Reviewed-by: coleenp, acorn
2015-11-19 10:34:11 -08:00
Jim Laskey
f763183615
8087181: Move native jimage code to its own library (maybe libjimage)
...
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: alanb, lfoltan, hseigel, acorn
2015-09-04 10:12:08 -03:00
Mikhailo Seledtsov
1078a41a0f
8133180: [TESTBUG] runtime/SharedArchiveFile/SharedStrings.java failed with WhiteBox.class : no such file or directory
...
Removed ambiguity on where JarBuilder looks for classes
Reviewed-by: jiangli, ctornqvi, gtriantafill
2015-09-03 08:57:16 -07:00
Iris Clark
64668f532a
Merge
2015-08-25 14:45:00 -07:00
Jiangli Zhou
9ee2b211f9
8131734: assert(!is_null(v)) failed: narrow klass value can never be zero with -Xshared:auto
...
Handle shared string mapping failures.
Co-authored-by: Tom Benson <tom.benson@oracle.com>
Reviewed-by: tschatzl, kbarrett, ddmitriev, hseigel
2015-08-25 17:22:56 -04:00
Iris Clark
0f1aea45ac
Merge
2015-08-17 13:02:33 -07:00
Mikhailo Seledtsov
15b4d3eff9
8133222: [TESTBUG] Quarantine runtime/SharedArchiveFile/SharedStrings.java until the fix
...
Quarantined using at-ingore tag
Reviewed-by: dcubed
2015-08-07 17:14:26 -07:00
Karen Kinnear
7983a4235c
8087342: Crash in klassItable::initialize_itable_for_interface
...
Fix method searches to handle static, private instance and overpass
Reviewed-by: lfoltan, dholmes, hseigel
2015-08-06 13:02:15 -04:00
Iris Clark
b9fcdd7472
Merge
2015-08-03 09:26:03 -07:00
Mikhailo Seledtsov
824267a43a
8132214: [TESTBUG] Create basic shared strings test for CDS archive
...
Created new test
Reviewed-by: jiangli, ctornqvi
2015-07-31 10:33:02 -07:00
Goetz Lindenmaier
fdbe749d2a
8132242: LogTouchedMethods (8025692) asserts if TieredCompilation is off
...
LogTouchedMethods causes the template interpreter to generate profiling code even if no compiler is used. If TieredCompilation is off, code containing an assertion that checks that UseCompiler is set, is reached. This assertion exists on the sparc and ppc platforms.
Reviewed-by: simonis, iklam, minqi
2015-07-29 15:08:42 -07:00
Sangheon Kim
a13fe250b0
8130459: Add additional validation after heap creation
...
Some PLAB related flags' validation can happen after heap creation. Introduced additional stage of validation check.
Reviewed-by: coleenp, dholmes, kbarrett, gziemski, ecaspole, ddmitriev
2015-07-27 13:56:26 -07:00
Coleen Phillimore
d7eb22156b
Merge
2015-07-23 22:31:10 -04:00
Iris Clark
e17f5c6f06
Merge
2015-07-23 13:19:13 -07:00
Coleen Phillimore
77edd5baad
8087315: SIGBUS error in nsk/jvmti/RedefineClasses/StressRedefine
...
Need to get source_file_name from the_class's constant pool not previous version constant pool
Reviewed-by: dcubed, sspitsyn
2015-07-23 15:18:56 -04:00
Goetz Lindenmaier
c005ae3ec0
8130676: [TESTBUG] aix: Port CreateCoreDumpOnCrash added in 8078121
...
Reviewed-by: simonis, ctornqvi
2015-07-23 05:48:26 -07:00
Harold Seigel
9ba9e4aecb
8129895: New verifier fails to reject erroneous cast from int[] to other arrays of small integer types
...
Only allow assignability of arrays of primitive types if the types are identical
Reviewed-by: dholmes, gtriantafill
2015-07-22 08:00:38 -04:00
Yumin Qi
49a45882d9
Merge
2015-07-15 20:58:06 +00:00
Yumin Qi
6384ca7b1f
8025692: Log what methods are touched at run-time
...
Added two diagnostic flags, LogTouchedMethods and PrintTouchedMethodsAtExit to list all methods that have been touched at run time. Added new jcmd, VM.print_touched_methods.
Reviewed-by: acorn, iklam
2015-07-15 12:24:41 -07:00
Christian Tornqvist
ce283b1347
8080733: [TESTBUG] several runtime/ErrorHandling/* tests time out on Windows
...
Reviewed-by: coleenp, gtriantafill
2015-07-15 10:37:11 -07:00
Iris Clark
11dad5584b
Merge
2015-07-13 13:23:31 -07:00
Harold Seigel
9d7677a83f
8130669: VM prohibits <clinit> methods with return values
...
Ignore <clinit> methods with return values instead of throwing ClassFormatError exceptions
Reviewed-by: acorn, iklam
2015-07-09 15:39:05 -04:00
Harold Seigel
00da567d15
8130183: InnerClasses: VM permits wrong inner_class_info_index value of zero
...
Throw ClassFormatError if InnerClasses attribute's inner_class_info_index is 0
Reviewed-by: acorn, lfoltan
2015-07-09 08:36:37 -04:00
Iris Clark
6e8c4747fb
Merge
2015-06-29 11:27:19 -07:00
Magnus Ihse Bursie
bd5a1079fe
8085822: JEP 223: New Version-String Scheme (initial integration)
...
Co-authored-by: Alejandro E Murillo <alejandro.murillo@oracle.com>
Reviewed-by: erikj, dcubed, dholmes, alanb
2015-06-12 08:31:01 +02:00
Coleen Phillimore
97f69e8b42
Merge
2015-06-19 13:03:58 +00:00
Dmitry Dmitriev
4875379a42
8072931: JEP-JDK-8059557: Test task: test framework development
...
Test set for JEP 245 Validate JVM Command-Line Flag Arguments
Reviewed-by: ctornqvi, dholmes, gziemski
2015-06-19 07:57:31 +03:00
Gerard Ziemski
ed2bb8c9fc
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments
...
Validate the arguments to all JVM command-line flags so as to avoid crashes, and ensure that appropriate error messages are displayed when they are invalid.
Reviewed-by: ddmitriev, dholmes, kbarrett, drwhite, brutisso, coleenp
2015-06-18 14:39:38 -05:00
Harold Seigel
058dd16f78
8042041: https://bugs.openjdk.java.net/browse/JDK-8042041
...
Don't assert if class has a bad element_tag in an element_value structure of a RuntimeVisibleAnnotation attribute. Instead, ignore the attribute.
Reviewed-by: acorn, gtriantafill
2015-06-18 08:44:28 -04:00
Andreas Eriksson
606468abc4
8076110: VM crash when class is redefined with Instrumentation.redefineClasses
...
Reviewed-by: coleenp, sspitsyn
2015-06-16 15:59:57 +02:00
Andreas Eriksson
f3f4608e09
8072588: JVM crashes in JNI if toString is declared as an interface method
...
Check for a valid itable index instead of checking if the holder is an interface
Reviewed-by: dsimms, dholmes
2015-06-02 10:41:18 +02:00
Stanislav Smirnov
59c57fb87d
8025979: [TESTBUG] Write test to exercise uninitialized strings from JNI code
...
Reviewed-by: ctornqvi, dsimms
2015-05-14 10:12:51 -07:00
Stanislav Smirnov
38c5fd780d
8033445: [TESTBUG] Add test case for calling default methods from JNI
...
Reviewed-by: ctornqvi, dsimms
2015-05-14 10:09:35 -07:00
Andreas Eriksson
07f8740617
8051045: HotSpot fails to wrap Exceptions from invokedynamic in a BootstrapMethodError
...
Reviewed-by: coleenp, dsimms
2015-05-07 15:05:46 +02:00
David Holmes
5c859405b5
8078470: [Linux] Replace syscall use in os::fork_and_exec with glibc fork() and execve()
...
Reviewed-by: stuefe, dsamersoff, dcubed
2015-05-12 20:55:40 -04:00
Christian Tornqvist
971e022093
8078121: Add 'CreateMinidumpOnCrash' (JDK-8074354) caused many tests failed in nightly testing
...
Reviewed-by: coleenp, hseigel
2015-05-12 13:17:54 -07:00
Harold Seigel
e5e17a62d1
8076318: split verifier needs to add TraceClassResolution
...
Add print statements to verifier when TraceClassResolution is specified
Reviewed-by: coleenp, acorn
2015-05-08 16:24:46 -04:00
Alexander Kulyakthin
462f735dac
8067013: Rename the com.oracle.java.testlibary package
...
Reviewed-by: dholmes, gtriantafill, sla
2015-05-04 16:30:07 +02:00
Goetz Lindenmaier
ad5f4f4f84
8078595: [TESTBUG] Fix runtime/StackGuardPages/testme.sh to deal with 64k pages
...
Reviewed-by: dholmes
2015-04-28 03:27:10 -04:00
Christian Thalinger
8cb760c280
8022853: add ability to load uncompressed object and Klass references in a compressed environment to Unsafe
...
Reviewed-by: coleenp, jrose, kvn
2015-04-27 09:02:41 -07:00
Christian Tornqvist
2c1171b8f4
8078435: [TESTBUG] runtime/CommandLine/TestVMOptions.java fails when running with an OpenJDK build
...
Reviewed-by: mseledtsov, hseigel
2015-04-23 12:46:42 -07:00
Ioi Lam
b959e09360
8129355: [TESTBUG] runtime FragmentMetaspaceSimple.java fails with java.lang.ClassNotFoundException: test.Empty
...
Avoid opening files excessively
Reviewed-by: coleenp, mseledtsov
2015-07-02 20:30:33 -07:00
Dmitry Dmitriev
d8947ce1ea
8129786: Buffer overrun when passing long not existing option in JDK 9
...
Only make the obsolete check for valid arguments(length less than 256)
Reviewed-by: dcubed, dholmes
2015-07-02 12:25:55 +03:00
Max Ockner
1e5e03d8e7
8073989: Deprecated integer options are considered as invalid instead of deprecated in Java 9
...
Deprecated integer options are now recognized as being deprecated.
Reviewed-by: dholmes, hseigel, ddmitriev
2015-04-16 11:00:10 -04:00
Yumin Qi
d30de5ab31
8074354: Make CreateMinidumpOnCrash a new name and available on all platforms
...
Rename CreateMinidumpOnCrash which is used only for Windows as CreateCoredumpOnCrash and make it available for all platforms. Changed order for dumping core on Windows to be similar on other platforms. Also reviewed by thomas.stuefe@gmail.com
Co-authored-by: Thomas Stuefe <thomas.stuefe@gmail.com>
Reviewed-by: dcubed
2015-04-15 17:34:28 -07:00
George Triantafillou
8df4646de2
8076274: [TESTBUG] Remove @ignore from runtime\NMT\JcmdDetailDiff.java
...
Reviewed-by: lfoltan, coleenp
2015-04-07 11:25:06 -07:00
Calvin Cheung
d4c484b0ba
Merge
2015-04-03 13:45:33 -07:00
Christian Tornqvist
9f677f4e21
8075438: [TESTBUG] Hotspot JTREG tests should use unique CDS archive names
...
Reviewed-by: hseigel, gtriantafill
2015-03-30 08:28:07 -07:00
Alexander Kulyakthin
01b9971365
8075586: Add @modules as needed to the open hotspot tests
...
Reviewed-by: sla, ctornqvi, lfoltan, mchung, alanb
2015-03-26 16:36:56 +01:00
Harold Seigel
257436004b
7127066: Class verifier accepts an invalid class file
...
For *store bytecodes, compare incoming, not outgoing, type state with exception handlers' stack maps.
Reviewed-by: acorn, dholmes
2015-03-25 08:16:48 -04:00
Severin Gehwolf
e1d7a11c64
8075533: Zero JVM segfaults for -version after JDK-8074552
...
Remove SafeFetchXX Zero implementations and guard test with CanUseSafeFetchXX
Reviewed-by: simonis, coleenp
2015-03-23 13:53:44 +01:00
Harold Seigel
bbd0191aea
8075118: JVM stuck in infinite loop during verification
...
Keep a list of handlers to prevent the same handler from being scanned repeatedly.
Reviewed-by: dlong, dholmes
2015-03-19 08:55:50 -04:00
Chris Plummer
984cf4c9b5
8069111: Investigate NMT detail tracking support for 32bit ARM
...
Fix native stack walking issues arm arm32. Disable on thumb2. Removed support for NMT without NMT detail.
Reviewed-by: dholmes, bdelsart
2015-03-10 19:56:19 -07:00
Thomas Stufe
33690bd090
8074552: SafeFetch32 and SafeFetchN do not work in error handling
...
Reviewed-by: dholmes, goetz
2015-03-12 19:34:50 -04:00
Dmitry Dmitriev
26261a9600
8069291: [TESTBUG] runtime/threads/Fibonacci: OutOfMemoryError: unable to create native thread
...
Reviewed-by: dholmes, ctornqvi
2015-02-26 06:11:56 -08:00
Stefan Sarne
fab80a0ca3
8073718: [TESTBUG] Cleanup test output and skip creating mini dumps
...
Reviewed-by: sla, ctornqvi
2015-02-26 06:11:40 -08:00
Paul Sandoz
a1d993e9ce
8068975: Remove deprecated methods on sun.misc.Unsafe and clean up native implementation
...
Reviewed-by: dholmes, kvn, vlivanov
2015-02-10 14:10:43 +01:00
Jean-Francois Denise
aaac2cbb54
8080511: Refresh of jimage support
...
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:25:19 +02:00
Dmitry Dmitriev
fff2d77827
8129394: [TESTBUG] runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java failed with double option
...
Reviewed-by: dholmes
2015-06-24 18:21:14 -04:00
Thomas Stuefe
de0f1ccb86
8072575: Add missing test for 8065895
...
Reviewed-by: dholmes, gziemski
2015-02-04 21:33:22 -05:00
Christian Tornqvist
62166e9f59
8071584: [TESTBUG] runtime/Unsafe/AllocateMemory.java crashed on OOM during compilation
...
Reviewed-by: dholmes, gtriantafill, jprovino
2015-01-29 14:50:43 -08:00
Coleen Phillimore
d57245dcbb
8049632: JDK 1.8.0 b132 :Linux x64 : Crash in ClassFileParser::copy_localvariable_table(..)
...
Use resource allocated hashtable for local variable table checking
Reviewed-by: kamg, sspitsyn
2015-01-29 14:37:14 -05:00
Christian Tornqvist
2c2593b757
8069207: [TESTBUG] Exception thrown for java.lang.NoSuchMethodError: sun.misc.Unsafe.monitorExit
...
Reviewed-by: gtriantafill, dholmes
2015-01-23 11:44:21 -08:00
Yumin Qi
08c8e0bd31
Merge
2015-01-18 11:49:22 -08:00
Christian Tornqvist
4f3c9fccb7
8062961: [TESTBUG] Spurious timeout for runtime/ErrorHandling/ProblematicFrameTest
...
Reviewed-by: coleenp, gtriantafill
2015-01-15 14:10:49 -08:00
Dean Long
e2bf1cd30d
Merge
2015-01-15 16:51:09 -05:00
Goetz Lindenmaier
8e2df5f543
8067941: [TESTBUG] Fix tests for OS with 64K page size
...
Reviewed-by: kvn, tschatzl, ctornqvi
2015-01-12 14:43:34 -08:00
Nils Eliasson
4742c185a7
8027829: CompileCommand does not accept all JLS-conformant class/method names
...
Fix parsing and updated comments
Reviewed-by: kvn, vlivanov
2015-01-13 12:30:26 +01:00
Calvin Cheung
9000f8c3c7
8067187: -XX:MaxMetaspaceSize=20m -Xshare:dump caused JVM to crash
...
Added check for the MaxMetaspaceSize. If it is less than the estimated required size, print an error and exit.
Reviewed-by: jiangli, mseledtsov, stefank
2015-01-12 11:37:58 -08:00
Yumin Qi
d4fd7377f4
Merge
2015-01-10 12:35:44 -08:00
Christian Tornqvist
90c58f1cc9
8068733: [TESTBUG] runtime/Unsafe/Reallocate.java sometimes fails when running with -Xcomp
...
Reviewed-by: coleenp, gtriantafill
2015-01-09 08:34:32 -08:00
Christian Tornqvist
c5853aabdd
8060219: [TESTBUG] runtime/7194254/Test7194254.java fails to find jstack with modular image build
...
Reviewed-by: gtriantafill, lfoltan, hseigel
2015-01-08 11:42:05 -08:00
Christian Tornqvist
6173a83d5d
8058897: Unsafe.reallocateMemory() ignores -XX:MallocMaxTestWords setting
...
Reviewed-by: dcubed, dholmes
2015-01-08 11:40:36 -08:00
Jesper Wilhelmsson
7c43a226b4
Merge
2015-01-08 15:44:46 +01:00
Dean Long
7002708d14
Merge
2015-01-09 13:28:02 -05:00
Goetz Lindenmaier
1b1ac860df
8068013: [TESTBUG] Aix support in hotspot jtreg tests
...
Reviewed-by: ctornqvi, fzhinkin, farvidsson
2015-01-09 05:45:13 -08:00
George Triantafillou
f7241915b4
8068540: [TESTBUG] Exclude failing nightly tests
...
Reviewed-by: ctornqvi, coleenp
2015-01-06 16:44:53 -08:00
Coleen Phillimore
2b871d6987
6583051: crash when adding non-static methods to java.lang.Object class
...
Stop the JVM if java.lang.Object is incorrectly defined rather than crashing.
Reviewed-by: ctornqvi, dholmes
2015-01-05 22:50:59 -05:00
Goetz Lindenmaier
1c18aef92c
8064457: Introduce compressed oops mode disjoint base and improve compressed heap handling
...
Introduce compressed oops mode disjoint base and improve compressed heap handling.
Reviewed-by: kvn, coleenp
2015-01-05 12:07:37 -05:00
Jesper Wilhelmsson
8575f889ee
Merge
2015-01-05 15:00:30 +01:00
Yumin Qi
13548bcc63
Merge
2014-12-23 19:04:23 -08:00
Vladimir Kozlov
832167be7f
8067985: merging hs-comp to hs blocked by some tests not updated in 8054892
...
Reviewed-by: iveresov
2014-12-22 14:35:40 -08:00
Vladimir Kozlov
8bd2d4db6f
Merge
2014-12-22 10:41:57 -08:00
Jesper Wilhelmsson
79439ff560
8067947: Regression test for JDK-6522873
...
Added a regression test that will fail if we allow extra characters after flag names
Reviewed-by: ctornqvi, tschatzl
2014-12-22 17:33:29 +01:00
Yumin Qi
ef9d3aa2a7
Merge
2014-12-19 22:52:02 -08:00
Jesper Wilhelmsson
1584f4cfc2
Merge
2014-12-18 16:15:49 +01:00
Jesper Wilhelmsson
dfc952b138
Merge
2014-12-18 16:15:49 +01:00
Jiangli Zhou
b0ad035af4
8059510
: Compact symbol table layout inside shared archive
...
Use separate compact table for shared symbols.
Reviewed-by: iklam, gziemski, shade, sla, jrose
2014-12-17 23:34:52 -05:00
Max Ockner
51bda75a8f
8064319: Need to enable -XX:+TraceExceptions in release builds
...
"-XX:+TraceExceptions" is now supported in product builds.
Reviewed-by: sla, ccheung, coleenp
2014-12-16 19:00:24 -05:00
Jesper Wilhelmsson
3e9edcd457
Merge
2014-12-16 02:14:03 +01:00
Igor Ignatyev
e3b0d6d069
Merge
2014-12-12 21:32:43 +03:00
Albert Noll
7613da167b
Merge
2014-12-12 08:40:19 -08:00
Tobias Hartmann
bf022cf7dc
8066433: Move Whitebox test library to top level repository
...
Moved Whitebox test library to top level repository.
Reviewed-by: iignatyev, sla, mr
2014-12-12 09:37:38 +01:00
Max Ockner
1d76295d70
8047290: Make Mutex::_no_safepoint_check_flag locks verify that this lock never checks for safepoint
...
Ensure consistent safepoint checking in Mutex/Monitor locking methods.
Reviewed-by: dholmes, dcubed, coleenp
2014-12-11 21:34:43 -05:00
Michail Chernov
56db4f28c9
8064909: FragmentMetaspace.java got OutOfMemoryError
...
Increased heap size to prevent "java.lang.OutOfMemoryError: Java heap space" exception
Reviewed-by: jmasa, dfazunen, jwilhelm
2014-12-10 13:58:30 +00:00
Calvin Cheung
701b666284
8065050: vm crashes during CDS dump when very small SharedMiscDataSize is specified
...
Define minimum required sizes for the ro, rw, and md regions and make sure the specified sizes are not less than the minimum sizes
Reviewed-by: jiangli, dholmes, mseledtsov
2014-12-05 12:24:10 -08:00
Ioi Lam
ea256a978f
8066670: PrintSharedArchiveAndExit does not exit the VM when the archive is invalid
...
In FileMapInfo::fail_continue do not set UseSharedSpaces = false
Reviewed-by: dholmes, ccheung
2014-12-04 15:20:09 -08:00
Yumin Qi
d620b54c63
8053995: Add method to WhiteBox to get vm pagesize
...
Unsafe is not recommended and may deprecated in future. Added a WhiteBox API to get VM page size.
Reviewed-by: dholmes, ccheung, mseledtsov
2014-11-26 10:32:21 -08:00
Max Ockner
54d2060d42
8060449: Obsolete command line flags accept arbitrary appendix
...
Proper error messages for newly obsolete command line flags.
Reviewed-by: lfoltan, dcubed, coleenp
2014-11-14 13:09:53 -05:00
Coleen Phillimore
629b0a66ee
Merge
2014-11-11 18:00:06 +00:00
Coleen Phillimore
d6de951947
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-11 09:59:50 -05:00
Aleksey Shipilev
21527b2ff2
8015272: Make @Contended within the same group to use the same oop map
...
Reviewed-by: coleenp, dholmes
2014-11-11 15:07:09 +03:00
George Triantafillou
b4138cce10
8061969: [TESTBUG] MallocSiteHashOverflow.java should be enabled for 32-bit platforms
...
Reviewed-by: ctornqvi, coleenp
2014-11-05 08:22:17 -08:00
Christian Tornqvist
76971f377b
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-05 13:20:09 -08:00
Christian Tornqvist
d934df8a84
8061733: [TESTBUG] Exclude tests that have issues with Jigsaw M2 changes
...
[TESTBUG] Exclude tests that have issues with Jigsaw M2 changes
Reviewed-by: lfoltan, gtriantafill
2014-11-05 13:18:51 -08:00
Rachel Protacio
abcfc9b394
8139564: Convert TraceDefaultMethods to Unified Logging
...
The former -XX:+TraceDefaultMethods flag is updated to the unified logging framework and is now replaced with -Xlog:defaultmethods.
Reviewed-by: acorn, coleenp, hseigel
2015-10-30 16:39:37 -04:00
Chris Plummer
d78d0c4fa4
8140189: [TESTBUG] Get rid of "@library /../../test/lib" in jtreg tests
...
Use new external.lib.roots property in TEST.ROOT so /../../test/lib is not needed.
Reviewed-by: mseledtsov, sla, iklam
2015-10-29 12:04:04 -07:00
Daniel D. Daugherty
ee1de3ce2f
Merge
2014-10-27 15:09:23 -07:00
Alejandro Murillo
ea60f1eddd
Merge
2014-10-27 07:49:54 -07:00
Boris Molodenkov
f55d90353f
8057135: [TESTBUG] Need a test to cover JDK-8050167
...
Reviewed-by: ctornqvi, coleenp
2014-10-24 12:32:53 +04:00
Chris Plummer
5306f2430a
6191224: (reflect) Misleading detail string in IllegalArgumentException thrown by Array.get<Type>
...
The test case shows that an exception is thrown with the message "Argument is not an array", when in fact the argument is an array, but an array of a primitive type is actually what was expected. Fixed by differentiating between failing because an array was expected and failing because an array of a primitive type was expected.
Reviewed-by: dholmes, ctornqvi, lfoltan
2014-10-23 14:43:08 -07:00
Calvin Cheung
1aa3da1067
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-23 10:08:02 -07:00
Karen Kinnear
397e42b775
Merge
2014-10-22 22:37:06 +00:00
Karen Kinnear
0e1283a811
8043275: Fix interface initialization for default methods
...
Initialize interfaces that declare concrete instance methods.
Reviewed-by: kamg, coleenp, psandoz
2014-10-22 15:24:37 -07:00
Andreas Eriksson
ea48bceb5e
8057043: Type annotations not retained during class redefine / retransform
...
Reviewed-by: coleenp, sspitsyn, jfranck
2014-10-22 13:59:56 +02:00
Jiangli Zhou
cc264643ac
8060256: The loop in Arguments::parse() can be enhanced
...
Add continue statement for matching cases.
Reviewed-by: dholmes, bdelsart
2014-10-16 14:11:53 -04:00
George Triantafillou
b79e1193cd
8058606: [TESTBUG] Detailed Native Memory Tracking (NMT) data is not verified as output at VM exit
...
Reviewed-by: coleenp, hseigel
2014-10-15 05:55:44 -07:00
Coleen Phillimore
3a86f9cd27
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
Coleen Phillimore
ae9681a5cf
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
Coleen Phillimore
31b9cf6251
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
Ioi Lam
a2e41921c1
Merge
2014-09-19 13:47:19 -07:00
Jesper Wilhelmsson
e97944b0b1
Merge
2014-09-18 19:41:50 +02:00
Christian Tornqvist
4d8eb788f4
8058369: [TESTBUG] runtime/CompressedOops/UseCompressedOops.java Exception java.lang.RuntimeException: 'Zero based' missing from stdout/stderr
...
Solaris and OSX places the heap in unpredictable places, some of the test must be excluded on these platforms
Reviewed-by: hseigel, coleenp
2014-09-17 06:55:12 -07:00
George Triantafillou
d7f661e576
8058504: [TESTBUG] Temporarily disable failing test runtime/NMT/MallocTrackingVerify.java
...
Reviewed-by: ctornqvi, hseigel
2014-09-15 14:28:15 -07:00
Christian Tornqvist
9e6d432562
8022865: [TESTBUG] Compressed Oops testing needs to be revised
...
Rewrote compressed oops tests
Reviewed-by: kvn, coleenp, mseledtsov
2014-09-11 17:54:22 -07:00
Coleen Phillimore
310192415e
8055145: [TESTBUG] runtime/7158988/FieldMonitor.java fails with VMDisconnectedException
...
Exclude this test on JPRT and make it trivially pass if it gets a disconnected exception (which seems rare)
Reviewed-by: gtriantafill, sspitsyn, ctornqvi
2014-09-11 10:46:32 -04:00
George Triantafillou
287db624e4
8054836: [TESTBUG] Test is needed to verify correctness of malloc tracking
...
Reviewed-by: ctornqvi, lfoltan
2014-09-09 09:48:42 -07:00
Ivan Gerasimov
b5c0f09885
8057745: TEST_BUG: runtime/SharedArchiveFile/ArchiveDoesNotExist.java fails with openjdk build
...
Reviewed-by: dholmes, mseledtsov
2014-09-08 23:49:39 +04:00
Zhengyu Gu
b20fa155a6
Merge
2014-09-04 14:58:58 -04:00
Zhengyu Gu
95216ecffe
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
Coleen Phillimore
3c70d99eda
8055008: Clean up code that saves the previous versions of redefined classes
...
Use scratch_class to find EMCP methods for breakpoints if the old methods are still running.
Reviewed-by: dcubed, sspitsyn
2014-09-03 19:13:18 -04:00
Christian Tornqvist
3a78ac3c1b
8041727: [TESTBUG] runtime/jsig/Test8017498.sh fails with Test8017498.sh: 50: [: x/usr/bin/gcc: unexpected operator
...
Fixed shell script issues
Reviewed-by: dcubed, gtriantafill
2014-08-26 13:07:57 -07:00
Christian Tornqvist
05c6411eed
8055844: [TESTBUG] test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java fails on Solaris Sparc due to incorrect page size being used
...
Use 128KB chunks for virtual memory operations
Reviewed-by: zgu, gtriantafill
2014-08-22 14:21:41 -07:00
George Triantafillou
3f590aeec4
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
311638a602
8055684: runtime/NMT/CommandLineEmptyArgument.java fails
...
Reviewed-by: ctornqvi, sla
2014-08-21 14:37:39 -07:00
George Triantafillou
2d90aac381
8055053: [TESTBUG] runtime/NMT/VirtualAllocCommitUncommitRecommit.java fails
...
Reviewed-by: ctornqvi, zgu
2014-08-22 07:38:42 -07:00
George Triantafillou
663ff7ad59
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
Christian Tornqvist
bf8c47fafe
8055814: [TESTBUG] runtime/NMT/NMTWithCDS.java fails with product builds due to missing UnlockDiagnosticVMOptions
...
Passing -XX:+UnlockDiagnosticVMOptions to ProcessBuilder
Reviewed-by: zgu, gtriantafill
2014-08-22 09:30:57 -07:00
Christian Tornqvist
655556a4bf
8055164: [TESTBUG] runtime/CompressedOops/CompressedClassPointers.java fails with OpenJDK build
...
Removed explicit check for HotSpot in output
Reviewed-by: sla, coleenp, hseigel
2014-08-20 14:59:08 -07:00
Zhengyu Gu
4ef9e6c2bc
Merge
2014-08-19 10:04:29 -04:00
George Triantafillou
1a1ce4534e
8055051: runtime/NMT/CommandLineEmptyArgument.java fails
...
Disable failing test
Reviewed-by: ctornqvi, zgu
2014-08-19 06:47:28 -07:00
George Triantafillou
8fe87f3da7
8054711: [TESTBUG] Enable NMT2 tests after NMT2 is integrated
...
Enable tests for NMT2
Reviewed-by: ctornqvi, zgu
2014-08-18 11:56:12 -07:00
Zhengyu Gu
7bce315059
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
Serguei Spitsyn
bc23c9949e
Merge
2014-08-15 11:25:55 -07:00
Christian Tornqvist
2d98294837
8032999: [TESTBUG] JT-Reg Runtime tests to be run as part of JPRT submit job
...
JPRT will now run most of the tests in /runtime
Reviewed-by: dcubed, mseledtsov, zgu, mikael
2014-08-14 18:14:07 -07:00
Jon Masamitsu
5a22518210
Merge
2014-08-14 18:42:08 +00:00
Christian Tornqvist
69c1d825ff
8054713: [TESTBUG] runtime/jsig/Test8017498.sh: Execution failed: exit code 1
...
Changed output directory of gcc to avoid permission problems
Reviewed-by: coleenp, minqi
2014-08-12 17:29:47 -07:00
Christian Tornqvist
0604ebb2bf
Merge
2014-08-12 21:18:14 +00:00
George Triantafillou
89c5882d2e
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
George Triantafillou
69e7c05210
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-11 07:30:46 -07:00
Andrey Zakharov
dd95f0a0c2
8011397: JTREG needs to copy additional WhiteBox class file to JTwork/scratch/sun/hotspot
...
Reviewed-by: kvn, iignatyev, mgerdin
2014-08-11 17:12:41 +04:00
Vladimir Kozlov
648272884a
Merge
2014-08-08 10:35:05 -07:00
Harold Seigel
1c5ed7ab4c
8046233: VerifyError on backward branch
...
Remove check that causes the VerifyError
Reviewed-by: dholmes, coleenp, acorn
2014-08-05 09:11:35 -04:00
Christian Tornqvist
71d23aa793
8053956: [TESTBUG] Remove @ignore tag from fixed runtime issues
...
Removed ignore tags from already fixed tests
Reviewed-by: gtriantafill, dcubed
2014-07-31 11:56:59 -07:00
Igor Ignatyev
ebcdde4222
8051896: jtreg tests don't use $TESTJAVAOPTS
...
Reviewed-by: kvn, ctornqvi
2014-08-03 12:04:17 +04:00
Igor Ignatyev
726b299ae0
Merge
2014-07-19 13:43:02 +04:00
Igor Ignatyev
e6b1dd586f
8032449: Get rid of JMX in test/compiler
...
Reviewed-by: kvn
2014-07-19 00:34:20 +04:00
Coleen Phillimore
06cea98803
8048933: -XX:+TraceExceptions output should include the message
...
Add the exception detail message to the tracing output
Reviewed-by: minqi, dholmes
2014-07-09 22:37:48 -04:00
Joe Darcy
4f7e4160a0
8048620: Remove unneeded/obsolete -source/-target options in hotspot tests
...
Reviewed-by: dholmes, hseigel
2014-07-07 12:08:07 -04:00
Harold Seigel
08e90ebfcb
8026894: Improve VerifyError message about overriding a final method
...
Add full class name to error message.
Reviewed-by: fparain, zgu, lfoltan
2014-07-03 10:25:42 -04:00
Christian Tornqvist
30b9c7d9cb
8048076: [TESTBUG] runtime/Unsafe/RangeCheck.java fails with -Xcomp
...
Compiler intrinsics doesn't have this assert, disabled the intrinsics to make sure we go through the VM
Reviewed-by: lfoltan, coleenp
2014-06-25 13:03:29 -07:00
Christian Tornqvist
33a0064f97
8047939: [TESTBUG] Rewrite test/runtime/8001071/Test8001071.sh
...
Rewrote the test in Java, limited the heap size to avoid time out issues on machines with a lot of memory
Reviewed-by: minqi, rdurbin, dcubed
2014-06-24 07:10:06 -07:00
Jesper Wilhelmsson
3e005941e7
Merge
2014-09-15 13:32:30 +00:00
Erik Helin
1d4a5e9412
8049536: os::commit_memory on Solaris uses aligment_hint as page size
...
Reviewed-by: stefank, tschatzl
2014-09-15 10:57:22 +02:00
Christian Tornqvist
5cfb709349
8047878: [TESTBUG] runtime/memory/ReadFromNoaccessArea.java and runtime/memory/ReserveMemory.java time out on Solaris
...
Limited heap size to reduce size of core file generated
Reviewed-by: sla, coleenp, dcubed
2014-06-23 14:51:10 -07:00
Pavel Chistyakov
d9a2dbc73b
8044818: [TESTBUG] runtime/CDSCompressedKPtrs/XShareAuto.java fails with RuntimeException 'sharing' found in stderr
...
Reviewed-by: hseigel, lfoltan, coleenp, dholmes
2014-06-22 21:23:32 -04:00
George Triantafillou
32cd848b56
8038074: [TESTBUG] Add test for anewarray instruction with more than 255 dimensions
...
Reviewed-by: lfoltan, coleenp
2014-06-20 10:12:02 -07:00
Daniel D. Daugherty
833620662c
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
Harold Seigel
70c76ec8c4
8044738: Check attribute_length of EnclosingMethod attribute
...
Add check that attribute_length == 4.
Reviewed-by: fparain, coleenp, lfoltan
2014-06-10 14:04:37 -04:00
Mikhailo Seledtsov
36d332413d
8038587: [TESTBUG] Create CDS tests to exercise region sizes and base address
...
Added new tests to cover missing CDS basic funtions
Reviewed-by: coleenp, ctornqvi
2014-06-02 21:36:59 -04:00
Christian Tornqvist
fd282f6e9a
8044364: runtime/RedefineFinalizer test fails on windows
...
Rewrote the test in pure Java, added RedefineClassHelper utility class
Reviewed-by: coleenp, allwin, gtriantafill, dsamersoff
2014-06-02 19:08:18 +02:00
Coleen Phillimore
3656168efc
Merge
2014-06-01 11:56:15 -04:00
Christian Thalinger
8f1c6dfff7
Merge
2014-05-30 09:49:53 -07:00
Daniel D. Daugherty
ad6d8d6abd
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-05-30 07:20:51 -07:00
Christian Tornqvist
436e1ecdf2
8043786: [TESTBUG] runtime/CommandLine/TestHexArguments.java test fails in nightly
...
Changed test to not pass on external flags to child processes
Reviewed-by: coleenp, hseigel
2014-05-28 22:59:29 +02:00
Dmitry Samersoff
c291efb1df
6904403: assert(f == k->has_finalizer(),"inconsistent has_finalizer") with debug VM
...
Don't assert if one of classes in hierarhy was redefined
Reviewed-by: coleenp, sspitsyn
2014-05-28 07:36:32 -07:00
Kirill Shirokov
20674a667a
8032970: Add stack size check methods to WhiteBox API
...
Reviewed-by: twisti, kvn, iignatyev
2014-05-24 00:04:21 +04:00
Dmitry Samersoff
e70b7ac623
8042155: [TESTBUG] Tests for stack guard pages have to be cleaned up
...
Tests for 6929067 and 8009062 should be composed to single test that provide better testing for stack guard pages behaviour
Reviewed-by: coleenp, dcubed, dsimms
2014-05-22 13:22:09 -07:00
Yumin Qi
ec3e742de1
8042885: java does not take hexadecimal number as vm option
...
Java does not take number with hexadecimal format as options, fix enable hexadecimal format number can be used as vm option.
Reviewed-by: coleenp, lfoltan, ctornqvi, hseigel, mseledtsov
2014-05-15 20:16:14 -07:00
Lois Foltan
ca501f6b00
8041918: BootstrapMethods attribute cannot be empty
...
Allow a BootstrapMethods attribute that contains an empty bootstrap_methods table where num_bootstrap_methods is equal to zero.
Reviewed-by: coleenp, hseigel
2014-05-15 09:25:27 -04:00
Christian Tornqvist
d8ec75da34
8042595: [TESTBUG] runtime/7110720/Test7110720.sh rarely fails with message "explicit compiler command file not read"
...
Removed the shell test and moved the testcases into the already existing Java based tests
Reviewed-by: coleenp, lfoltan
2014-05-14 18:18:58 +02:00
Mikhailo Seledtsov
6e58e65cf7
8041938: [TESTBUG] runtime/SharedArchiveFile/CdsWriteError.java failed in RT_Baseline with 'Unable to create shared archive file' missing from stdout/stderr
...
His test is unstable in automated testing system, team agreed to remove it
Reviewed-by: coleenp, gtriantafill
2014-05-14 10:38:40 -04:00
Harold Seigel
976e7c8aa7
8040292: Annotation attributes must not appear more than once
...
Add checks for duplicate attributes.
Reviewed-by: coleenp, lfoltan
2014-05-12 13:12:30 -04:00
Coleen Phillimore
7e2463ea72
8023697: failed class resolution reports different class name in detail message for the first and subsequent times
...
Cache detail message when we cache exception for constant pool resolution.
Reviewed-by: acorn, twisti, jrose
2014-05-05 19:53:00 -04:00
Harold Seigel
cfa7d828d9
8040018: Remove bad assert in ClassFileParser.cpp
...
Remove assert that prevent throwing valid exception
Reviewed-by: coleenp, lfoltan
2014-04-18 08:51:34 -04:00
Christian Tornqvist
db9dcbd63b
8040887: [TESTBUG] Remove test/runtime/6925573/SortMethodsTest.java
...
Removed test/runtime/6925573/SortMethodsTest.java
Reviewed-by: coleenp, rdurbin
2014-04-18 00:19:24 +02:00
Christian Tornqvist
961a489536
6959423: [TESTBUG] runtime/6925573/SortMethodsTest.java times out
...
Decreased maximum number methods in generated classes and decreased ratio to make it reproduce more often
Reviewed-by: coleenp, lfoltan
2014-04-17 00:03:58 +02:00
Christian Tornqvist
ff48970954
8035173: [TESTBUG] runtime/threads/CancellableThreadTest fails with OOM on windows-i586
...
Test ported to jtreg, thread pairs decreased from 1024 to 128 to avoid OOM on 32 bit Windows
Reviewed-by: sla, dsimms
2014-04-15 19:03:51 +02:00
Lois Foltan
5ca274e0ce
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
Dmitry Samersoff
b1295fc704
Merge
2014-04-09 15:01:24 +00:00
Dmitry Samersoff
f359b1fb2c
8029139: [TESTBUG] runtime/InitialThreadOverflow/testme.sh fails with exit code 127
...
The test launcher compiles against TESTJAVA but LD_LIBRARY_PATH set to COMPILE java.
Reviewed-by: sla, sspitsyn
2014-04-09 07:08:08 -07:00
Dmitry Samersoff
0301b791ef
8037279: runtime/6929067/Test6929067.sh crashes on 32bit linux
...
The test compile launcher with TESTJAVA but attempt to load vm from COMPILEJAVA
Reviewed-by: sla, sspitsyn
2014-04-09 06:09:43 -07:00
Christian Tornqvist
3c7ebc1745
8028733: [TESTBUG] Remove test exclusion for runtime/6626217/Test6626217.sh
...
Removed @ignore tag from Test6626217.sh, the fix for 7015395 had already solved the issue but left the @ignore tag
Reviewed-by: sla, lfoltan, gtriantafill
2014-04-02 14:15:39 +02:00
Christian Tornqvist
c3c7dcd507
7049895: [TESTBUG] vmerrors.sh should suppress windows .mdmp files
...
Added -XX:-CreateMinidumpOnCrash to vmerror.sh to suppress creation of dumps on Windows
Reviewed-by: coleenp, allwin, zgu
2014-04-01 22:39:09 +02:00
Christian Tornqvist
0b0fdb97ce
8007890: [TESTBUG] JcmdWithNMTDisabled.java fails when invoked with NMT explicitly turned on
...
Wrapped the test in another layer process creation to avoid NMT being turned on.
Reviewed-by: coleenp, dcubed
2014-03-27 22:36:08 +01:00
Mikhailo Seledtsov
3c58faecfe
8032222: [TESTBUG] runtime/SharedArchiveFile/CdsWriteError.java fails on Mac OS with java.lang.RuntimeException
...
Excluded the test from running on Mac OS
Reviewed-by: coleenp, ctornqvi
2014-03-25 09:26:18 -04:00
Mikhailo Seledtsov
ce25911489
8026154: [TESTBUG] runtime/CDSCompressedKPtrs/XShareAuto.java failed due to exception
...
Added statements in the tests to handle failures in sharing
Reviewed-by: zgu, ctornqvi
2014-03-10 14:50:20 -04:00
Coleen Phillimore
e8d4b7aee3
8036547: test/runtime/CompressedOops/CompressedClassPointers.java fails with product build since -XX:+PrintMiscellaneous is a debug only flag
...
Use PrintCompressedOopsMode and these other flags that match printing compressed oop information
Reviewed-by: ctornqvi, sla
2014-03-04 09:57:16 -05:00
Staffan Larsen
1d81fd35d6
8036010: hs: Some jtreg tests use hard coded ports
...
Bind to an ephemeral port
Reviewed-by: jbachorik, sla
2014-02-28 14:30:25 +04:00
Calvin Cheung
bfbc3a0d51
8025519: [TESTBUG] runtime/7107135/Test7107135.sh need to use COMPILEJAVA for javac task
...
Modified some tests to use COMPILEJAVA instead of TESTJAVA for javac and include path
Reviewed-by: dholmes, mseledtsov
2014-02-24 21:54:22 -08:00
George Triantafillou
70c77b3470
8034898: [TESTBUG]: Zero failure project - tag all Runtime JTReg bugs that fail nightly
...
Use @ignore to exclude failing tests
Reviewed-by: coleenp, ctornqvi, mseledtsov
2014-02-20 16:38:45 -05:00
Coleen Phillimore
a9868648e6
7014526: "java -version" crash on sparc with some values of HeapBaseMinAddress
...
Make default HeapBaseMinAddress the minimum that can be specified.
Reviewed-by: minqi, kvn, tschatzl, dholmes
2014-02-19 02:58:13 +00:00
Coleen Phillimore
db6974faf7
8035132: [TESTBUG] test/runtime/lambda-features/InvokespecialInterface.java test has unrecognized option
...
Add IgnoreUnrecognizedVMOptions for product mode run
Reviewed-by: ctornqvi, dholmes
2014-02-18 09:54:24 -05:00
Shanliang Jiang
c9b3cbbdcc
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
Christian Tornqvist
dd25d6fed0
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
Coleen Phillimore
2759eb10ae
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
3eb1ac89c6
8028735: runtime/RedefineObject/TestRedefineObject.java interrupted (timed out?) on solaris_sparcv9-fastdebug-c2-runtime and solaris_x64-debugOpen-c2-runtime
...
Change GC loop counter to 100 which is enough to test the original problem but doesn't timeout the test.
Reviewed-by: ctornqvi, lfoltan, mseledtsov, sla
2014-02-06 18:57:46 +00:00
Calvin Cheung
a3c78aac2f
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
Gerard Ziemski
7591b3dd89
7015395: [TESTBUG] runtime/6626217/Test6626217.sh fails if compilation happens fast enough for timestamps to be equal
...
Insert 2 second sleep between copying of the src files and the compilation, to make sure the timestamps of *.class files are in the future of *.java files.
Reviewed-by: coleenp, fparain
2014-01-21 16:45:10 -06:00
Harold Seigel
39f19c2f76
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
Coleen Phillimore
d6a0a9d513
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
Calvin Cheung
7f34fe7eee
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
Mikhailo Seledtsov
735887477f
8031151: Add basic CDS tests
...
Added new tests to cover missing CDS basic funtions
Reviewed-by: zgu, hseigel
2014-01-15 19:12:45 -05:00
David Simms
3529de993d
6945460: [TESTBUG] runtime/6929067/Test6929067.sh
...
Change link order for the test
Reviewed-by: coleenp, mgerdin
2014-01-15 11:46:19 +01:00
George Triantafillou
e5a5aefdfb
8028398: [TESTBUG]: test/runtime/memory/ReadFromNoaccessArea.java failed with EXCEPTION_ACCESS_VIOLATION
...
Remove ignore label
Reviewed-by: sla, mseledtsov
2014-01-14 13:51:47 -05:00
Zhengyu Gu
509d617369
8031530: [TESTBUG] Enable test runtime/LoadClass/LoadClassNegative.java
...
Re-enabled the test. The issue that prevents this test from running was fixed by 8020675
Reviewed-by: sla, ccheung
2014-01-13 10:05:37 -05:00
Harold Seigel
f84476eec5
Merge
2014-01-13 18:30:57 -05:00
Morris Meyer
a665235538
Merge
2014-01-10 12:54:08 -08:00
Calvin Cheung
9d16ac7083
8022301: [TESTBUG] runtime/jsig/Test8017498.sh incorrectly compiles native code
...
Added the '-m32' compile option and the '-z noexecstack' link option
Reviewed-by: mseledtsov, zgu
2014-01-09 15:48:00 -08:00
Harold Seigel
6794647135
8030955: assert(_prologue != NULL) failed: prologue pointer must be initialized
...
Allow multiple calls to PerfMemory::destroy()
Reviewed-by: zgu, coleenp
2014-01-06 08:44:24 -05:00
Mikael Vidstedt
a0da47fd66
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
Harold Seigel
ac9faf4243
8023735: [TESTBUG] runtime/XCheckJniJsig/XCheckJSig.java fails on MacOS X
...
Look for libjsig in correct locations and do not fail if it's not found
Reviewed-by: zgu, ccheung
2013-12-23 18:44:59 -05:00
George Triantafillou
dbde42105e
8021774: [TESTBUG] Tests failed because of a warning in its output
...
Remove check for warning
Reviewed-by: zgu, mseledtsov
2013-12-23 10:13:42 -05:00
Lois Foltan
5ece6fc7fd
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
Karen Kinnear
b5f2f33aaa
8026066: ICCE for invokeinterface static
...
Reviewed-by: coleenp, lfoltan, hseigel
2013-12-03 08:36:15 -08: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
Mikael Gerdin
0a6481ef3a
Merge
2013-11-08 23:49:20 +00: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
930baab448
Merge
2013-11-05 14:06:23 -08:00
Lana Steuck
fdb505344e
Merge
2013-10-30 13:43:16 -07: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
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