Harold Seigel
3756d55ee6
8139164: JVM should throw ClassFormatError for non-void methods named <clinit>
...
If method being parsed is named <clinit>, throw ClassFormatError if it is not void or has arguments, for class file version >= 51.
Reviewed-by: acorn, lfoltan
2015-11-10 08:42:53 -05:00
Stanislav Smirnov
0064189ab6
8130255: [TESTBUG] closed/runtime/4784641/CheckedIsSameObjectTest fails when running 32-bit ARM binaries on 64-bit ARM hosts
...
Rewrote test in Java with a number of changes
Reviewed-by: ctornqvi, gtriantafill, ddmitriev
2015-11-09 15:19:59 +03:00
Christian Tornqvist
fbac3a147e
8141533: [TESTBUG] Add @ignore to runtime/CompressedOops/UseCompressedOops.java until JDK-8079353 has been resolved
...
Reviewed-by: gtriantafill, stsmirno, hseigel
2015-11-06 09:58:06 -08:00
Rachel Protacio
e54bd838f9
8140348: Convert TraceSafepoint to Unified Logging
...
The former -XX:+TraceSafepoint flag is updated to the unified logging framework and is now replaced with -Xlog:safepoint in product mode.
Reviewed-by: coleenp, hseigel
2015-11-04 14:32:51 -05: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
Gerard Ziemski
684ae3fa6e
8140539: compiler/membars/DekkerTest.java fails with -XX:CICompilerCount=1
...
Add back "-XX:+IgnoreUnrecognizedVMOptions" that was removed in a prototype.
Reviewed-by: dcubed, ddmitriev
2015-10-28 09:09:55 -05:00
Dmitry Dmitriev
81fe39a539
8139900: [TESTBUG] Remove G1UpdateBufferSize and InitialBootClassLoaderMetaspaceSize from TestOptionsWithRanges
...
Reviewed-by: gziemski, sangheki, ctornqvi
2015-10-27 14:33:29 +03: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
Joseph Provino
db5f26110b
Merge
2015-10-20 11:17:19 -04:00
Alejandro Murillo
cfbb592424
Merge
2015-10-19 12:30:17 -07: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
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
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
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
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
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
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