Rachel Protacio
c67974cf0f
8143157: Convert TraceVMOperation to Unified Logging
...
The former -XX:+TraceVMOperation flag is updated to the unified logging framework and is now replaced with -Xlog:vmoperation in product mode.
Reviewed-by: coleenp, dholmes, mockner
2015-11-23 16:16:46 -05:00
Stanislav Smirnov
8d94626bb3
8133416: [TESTBUG] Remove @ignore for closed/runtime/4345157/Prog.java
...
Rewrote test in Java with a number of improvements and conditional exclusion using make file
Reviewed-by: dholmes, ctornqvi, ddmitriev
2015-11-20 09:44:16 -05:00
Coleen Phillimore
0e66856774
Merge
2015-11-11 23:51:57 -05:00
Rachel Protacio
5386656677
8142437: SafepointTest.java is occasionally failing in JPRT
...
A method compilation causing a specific log message to print has been removed because it was not always being compiled.
Reviewed-by: coleenp, dholmes
2015-11-11 18:04:33 -05:00
Dean Long
344a9becee
Merge
2015-10-17 19:40:30 -04:00
Coleen Phillimore
e8e182c0e7
Merge
2015-10-16 00:01:49 +00:00
Gerard Ziemski
22838597ea
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing
...
JEP 245: implement ranges and constraints for runtime flags.
Co-authored-by: Goetz Lindenmaier <goetz.lindenmaier@sap.com>
Reviewed-by: coleenp, ddmitriev, jiangli, goetz
2015-10-15 13:34:21 -05:00
Daniel D. Daugherty
2559482886
8136552: Last argument wins does not work for special options with "-XX:VMOptionsFile" option
...
Match_special_option_and_act() should insert_vm_options_file() earlier and process the inserted options right away to honor "last option wins" semantics.
Reviewed-by: dcubed, coleenp
2015-10-15 10:00:30 -07:00
Harold Seigel
df9b5759f7
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
...
If method being parsed is in an interface, throw ClassFormatError if its name is "<init>"
Reviewed-by: acorn, lfoltan
2015-10-14 13:30:47 -04:00
Gerard Ziemski
f84561609b
8129855: "-XX:+IgnoreUnrecognizedVMOptions" hides out of range VM options
...
Implement strict spec rgarding how IgnoreUnrecognizedVMOptions works, supplied with the corresponding test case.
Reviewed-by: dcubed, ddmitriev
2015-10-23 11:17:23 -05:00
Chris Hegarty
1a83e59745
8138978: Examine usages of sun.misc.IOUtils
...
Reviewed-by: alanb, mullan, psandoz, rriggs, weijun
2015-10-09 14:21:33 +01:00
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