Commit Graph

579 Commits

Author SHA1 Message Date
Dmitry Dmitriev
a4d0bc4a4e 8144578: TestOptionsWithRanges test only ever uses the default collector
Reviewed-by: sangheki, dholmes
2016-02-17 11:00:57 +03:00
David Holmes
339a7e8559 8147379: Investigate if ConvertSleepToYield still should be false by default on Sparc
Reviewed-by: dcubed, sjohanss
2016-02-15 05:54:59 -05:00
Coleen Phillimore
ea91682fe1 8149170: Better byte behavior should normalize JNI arguments
Arguments coming from native should be converted to 0=false, 1-255=true

Reviewed-by: kvn, kevinw, jrose, bdelsart, gtriantafill
2016-02-09 15:54:16 -05:00
Harold Seigel
b2ab041bf5 8148785: Update class file version to 53 for JDK-9
Change max supported class file version to 53

Reviewed-by: alanb, coleenp, shade
2016-02-05 08:14:08 -05:00
Christian Tornqvist
2cabd2fca3 8148747: [TESTBUG] runtime/Unsafe/AllocateMemory.java fails with OOM during compilation
Reviewed-by: coleenp, gtriantafill
2016-02-03 13:42:29 -08:00
Max Ockner
ce74c2fa3c Merge 2016-02-03 18:16:54 +01:00
Max Ockner
9cab990401 8079408: Reimplement TraceClassLoading, TraceClassUnloading, and TraceClassLoaderData with Unified Logging
TraceClassLoading,  TraceClassUnloading, and TraceClassLoaderData have been reimplemented using Unified logging.

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: iklam, coleenp, dholmes, jiangli, hseigel, rprotacio
2016-02-03 11:40:30 -05:00
Jesper Wilhelmsson
40c4fe8573 Merge 2016-02-03 01:35:25 +01:00
David Holmes
69088591f9 8148766: Test AvailableProcessors.java got wrong number of processors
Reviewed-by: dsamersoff, tschatzl, mseledtsov
2016-02-02 05:38:33 -05:00
Tobias Hartmann
832443d3b0 Merge 2016-01-28 09:49:17 +01:00
Goetz Lindenmaier
4e99638d69 8147937: Adapt SAP copyrights to new company name
Reviewed-by: simonis, stuefe
2016-01-21 12:37:47 +01:00
Rachel Protacio
f4555ca41f 8144953: runtime/CommandLine/TraceExceptionsTest.java fails when exception is thrown in compiled code
Added long-form logging message to three places in code, allowing TraceExceptionsTest.java to pass with compiled code.

Reviewed-by: dholmes, coleenp, lfoltan
2016-01-12 12:35:08 -05:00
Vladimir Ivanov
28046ae321 8140001: _allocateInstance intrinsic does not throw InstantiationException for abstract classes and interfaces
Reviewed-by: kvn, shade
2016-01-15 21:56:40 +03:00
Ron Durbin
00f6aa5a7c 8135198: Add -XX:VMOptionsFile support to JAVA_TOOL_OPTIONS and _JAVA_OPTIONS
Reviewed-by: dcubed, ddmitriev, ahgross, gthornbr, coleenp
2016-01-08 15:38:08 -08:00
Coleen Phillimore
7442fce79d Merge 2016-01-08 12:56:16 +00:00
Joseph Provino
9288ff53e7 Merge 2016-01-07 21:10:28 +00:00
Rachel Protacio
6dac872d4d 8141564: Convert TraceItables and PrintVtables to Unified Logging
The former -XX:+TraceItables and +PrintVtables flags have been converted to UL options -Xlog:itables=trace and vtables=trace

Reviewed-by: acorn, coleenp, dholmes
2016-01-07 13:53:20 -05:00
Sangheon Kim
87f0463ced 8145000: TestOptionsWithRanges.java failure for XX:+UseNUMA -XX:+UseNUMAInterleaving -XX:NUMAInterleaveGranularity=65536
Add protect_pages_individually() to protect memory per chunk on Windows

Reviewed-by: jwilhelm, tbenson
2016-01-05 10:41:56 -08:00
Yumin Qi
fab3e53ec1 8145093: [TESTBUG] Remove test skip code for Solaris SPARC in runtime/SharedArchiveFile/SharedBaseAddress.java
The test failed(see bug 8044600) once on sparc platform which never reproduced thereafter, remove the skip.

Reviewed-by: hseigel, iklam, gtriantafill
2016-01-05 10:36:34 -08:00
Max Ockner
73c45490a2 Merge 2016-01-06 14:54:24 +00:00
Max Ockner
28c6b5ad89 8146485: Add test for Unified Logging classresolve tag
Test has been added for Unified Logging classresolve tag.

Reviewed-by: coleenp, gtriantafill
2016-01-06 09:39:55 -05:00
Joseph Provino
7a673ca72d Merge 2016-01-06 02:32:13 +00:00
Rachel Protacio
9ab99c633d 8146481: Disable runtime/logging/DefaultMethodsTest.java
@ignore'd DefaultMethodsTest.java

Reviewed-by: gtriantafill, coleenp, hseigel
2016-01-05 18:23:14 +00:00
Rachel Protacio
dbab9fe1f8 8145606: [TESTBUG] MonitorInflationTest.java should be rewritten to be more predictable
Logging/MonitorInflationTest.java now forced an object inflation and looks for that object. It no longer tests for object deflation.

Reviewed-by: gtriantafill, coleenp, iklam
2015-12-23 17:12:04 -05:00
Max Ockner
88f4fdeddc Merge 2015-12-23 20:14:25 +00:00
Max Ockner
de7d9e821c 8144874: Reimplement TraceClassResolution with Unified Logging
TraceClassResolution reimplemented with classresolve tag.

Reviewed-by: coleenp, dholmes, iklam, rprotacio
2015-12-23 15:05:38 -05:00
Harold Seigel
f42b84bc7e 8042660: vm/mlvm/anonloader/stress/byteMutation failed with: assert(index >=0 && index < _length) failed: symbol index overflow
Detect zero length signatures and throw ClassFormatError before bad dereference occurs

Reviewed-by: coleenp, lfoltan, acorn, gtriantafill
2015-12-23 13:02:15 -05:00
Rachel Protacio
7973ef05b3 8141211: Convert TraceExceptions to Unified Logging
The -XX:+TraceExceptions flag has been updated to the unified logging framework, i.e. -Xlog:exceptions. The old flag, because it is product-level, has been aliased to the UL option.

Reviewed-by: dholmes, coleenp, mockner
2015-12-22 16:29:48 -05:00
Rachel Protacio
07af24b8ac 8145445: [TESTBUG] runtime/logging tests need to properly build and import libraries
Adds the proper @build and import lines to the jtreg tests in the runtime/logging directory.

Reviewed-by: iklam, hseigel
2015-12-18 14:30:13 -05:00
Frederic Parain
07bec70d26 8145317: ReservedStackTest fails with ReentrantLock looks corrupted
Reviewed-by: acorn, dcubed
2015-12-18 11:04:59 +01:00
Rachel Protacio
17f5c68ebe 8145629: Disable test/runtime/logging/MonitorInflationTest.java
@ignore-ed logging/MonitorInflationTest.java

Reviewed-by: hseigel, ctornqvi
2015-12-17 11:18:22 -05:00
Dmitry Dmitriev
2c980f2f84 8142874: [TESTBUG] OptionsValidation testing framework needs to handle VM error codes in some cases
Reviewed-by: gtriantafill, stsmirno, ctornqvi, gziemski
2015-12-12 21:23:20 +03:00
Frederic Parain
ef800bd53f 8046936: JEP 270: Reserved Stack Areas for Critical Sections
Reviewed-by: acorn, dcubed
2015-12-11 09:07:07 -08:00
Bengt Rutisson
ffeb0bdad0 8145092: Use Unified Logging for the GC logging
JEP-271. VM changes contributed by brutisso, test changes contributed by david.

Co-authored-by: David Lindholm <david.lindholm@oralce.com>
Reviewed-by: sjohanss, david, brutisso
2015-12-10 14:57:55 +01:00
Rachel Protacio
a74243c302 8145153: Convert TraceMonitorInflation to Unified Logging
Updated -XX:+TraceMonitorInflation flag to -Xlog:monitorinflation=debug, with an alias (and related alias table) to support the old option.

Reviewed-by: dholmes, mockner, coleenp
2015-12-11 14:58:20 -05:00
Dmitry Dmitriev
adfab35d68 8147477: com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java is failing for the jdk9/hs snapshot control job
Reviewed-by: gtriantafill, gziemski, dcubed, coleenp
2016-01-29 16:03:21 +03:00
David Holmes
1875f65a54 6515172: Runtime.availableProcessors() ignores Linux taskset command
Extract processor count from sched_getaffinity mask

Reviewed-by: dcubed, stuefe, gthornbr
2016-01-29 05:32:12 -05:00
Rachel Protacio
469ae3ecc7 8146137: runtime/logging/ExceptionsTest.java fails on embedded and ARM test
Removed part of ExceptionsTest.java looking for exception that is not printed when function is compiled on embedded/ARM

Reviewed-by: coleenp, dholmes
2016-01-27 11:12:25 -05:00
Rachel Protacio
6ee07f50c8 8146435: [TESTBUG] Logging tests are failing intermittently on windows when executed by JPRT
Improved robustness of UL tests by removing reliance on "java -version" and replacing with explicit code to trigger logging in all environments

Reviewed-by: dholmes, iklam, mockner
2016-01-21 12:11:20 -05:00
Jon Masamitsu
023320f726 8145027: Exclude NUMAInterleaveGranularity from TestOptionsWithRanges.java
Reviewed-by: jwilhelm, ddmitriev
2015-12-09 12:35:09 -08:00
Cheleswer Sahu
ae7369442a 8138745: Implement ExitOnOutOfMemory and CrashOnOutOfMemory in HotSpot
Reviewed-by: dholmes, sla
2015-12-09 15:31:25 +05:30
Jesper Wilhelmsson
9ff100e114 Merge 2015-12-07 21:03:56 +00:00
Joseph Provino
1b75e851aa Merge 2015-12-07 17:04:42 +00:00
Sangheon Kim
da8bf041ac 8142341: GC: current flags need ranges to be implemented
Add explicit ranges and constraint for all gc flags

Reviewed-by: jwilhelm, gziemski, ddmitriev, tbenson
2015-12-04 15:24:14 -08:00
Dmitry Dmitriev
343aae742f 8144629: runtime/thread/Fibonacci.java test should ran in othervm mode
Reviewed-by: ctornqvi
2015-12-04 13:39:59 +03:00
Coleen Phillimore
8929fdddb8 Merge 2015-12-04 04:29:31 +00:00
Max Ockner
c6b57e4c8c Merge 2015-12-03 19:35:18 +00:00
Rachel Protacio
0d75e3c8cd 8144536: Clean up Unified Logging test directory
Consolidated two logging options' tests into one file each

Reviewed-by: dholmes, ctornqvi
2015-12-03 13:08:37 -05:00
Max Ockner
a3d8114b45 8142976: Reimplement TraceClassInitialization with Unified Logging
TraceClassInitialization logging reimplemented with Unified Logging.

Reviewed-by: coleenp, hseigel
2015-12-02 14:07:58 -05:00
Lana Steuck
9e317be494 Merge 2015-12-02 10:19:14 -08:00
Jesper Wilhelmsson
c7a51854d9 Merge 2015-11-30 19:38:51 +01:00
Iris Clark
5793ec1b6a Merge 2015-11-29 20:29:32 -08:00
Jesper Wilhelmsson
1d7f54e2f3 Merge 2015-11-27 18:35:43 +01:00
Jesper Wilhelmsson
40f65439e2 Merge 2015-12-01 21:08:00 +01:00
Dmitry Dmitriev
884a2b65f2 8144084: [TESTBUG] 1.9 section not unlock flag in runtime/CommandLine/IgnoreUnrecognizedVMOptions test
Reviewed-by: dholmes
2015-11-30 10:09:01 +03:00
Iris Clark
eb6fab9412 Merge 2015-11-20 12:22:41 -08:00
Gerald Thornbrugh
d56280ca10 8141445: Use of Solaris/SPARC M7 libadimalloc.so can generate unknown signal in hs_err file
Add libadimalloc.so SIGSEGV defines and a test to validate the correct message is printed in the hs_err file

Reviewed-by: dcubed, dholmes
2015-11-18 09:32:52 -08:00
Yumin Qi
581c251007 8087223: InterfaceMethod CP entry pointing to a class should cause ICCE
Check constantTag for class constant data consistency at method resolution

Reviewed-by: coleenp, vlivanov
2015-11-17 15:14:29 -08:00
Nils Eliasson
a51ff63df7 Merge 2015-11-24 10:30:23 +01:00
Joseph Provino
539395ffbf Merge 2015-11-11 23:47:41 +00:00
Christian Tornqvist
f02593b51a 8142502: [TESTBUG] Exclude runtime/ErrorHandling/SecondaryErrorTest.java on OSX until JDK-8139300 has been resolved
Reviewed-by: hseigel, mseledtsov, minqi
2015-11-11 11:47:20 -08:00
Nils Eliasson
3307d0f163 Merge 2015-11-06 11:34:03 +01:00
David Holmes
3904de571b 8139300: Internal Error (vm/utilities/debug.cpp:399), # Error: ShouldNotReachHere()
Reviewed-by: simonis, dcubed
2015-11-16 18:50:55 -05:00
Tobias Hartmann
7af927f9c1 8141132: JEP 254: Compact Strings
Adopt a more space-efficient internal representation for strings.

Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:41:03 +01:00
Iris Clark
8fe1b0faab Merge 2015-11-02 09:11:55 -08: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
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
Iris Clark
514eb6fd77 Merge 2015-10-25 19:38:20 -07: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
Karen Kinnear
d63f180edb 8098557: Only init superintf if subclass, not sub interface inits
Must exclude jck lang exec05001m311_rt until fixed.

Reviewed-by: lfoltan, hseigel, dholmes
2015-11-25 09:08:51 -05:00
Rachel Protacio
d2e0eb79a8 8143155: Remove TraceRuntimeCalls, TraceJNICalls, and TraceJVMCalls rather than convert to UL
Removed TraceRuntimeCalls, TraceJNICalls, and TraceJVMCalls options because their output is excessive, not useful, and covered in a more useful way by other options.

Reviewed-by: coleenp, dholmes, ddmitriev
2015-11-24 11:40:18 -05:00
Dmitry Dmitriev
7171a533ff Merge 2015-11-24 20:01:45 +00:00
Dmitry Dmitriev
0b12fb83d2 Merge 2015-11-24 13:58:08 +00:00
Chris Hegarty
e09cadb438 8140687: Move @Contended to the jdk.internal.vm.annotation package
Reviewed-by: alanb, dholmes, psandoz, shade
2015-11-24 11:49:44 +00:00
Dmitry Dmitriev
7b9d2f1453 8143038: [TESTBUG] TestOptionsWithRanges: allow excluding only a subset of tested values specified for a flag
Reviewed-by: gziemski, ctornqvi
2015-11-24 09:42:05 +03:00
David Holmes
fed841e5af Merge 2015-11-24 06:37:12 +00:00
David Holmes
274653d406 8143836: [TESTBUG] runtime/CommandLine/IgnoreUnrecognizedVMOptions fails in jdk9/dev
Reviewed-by: coleenp, hseigel
2015-11-23 21:05:43 -05:00
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