Commit Graph

356 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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