Commit Graph

542 Commits

Author SHA1 Message Date
Alejandro Murillo
2da4580684 Merge 2016-03-05 20:46:42 -08:00
Christian Tornqvist
30bbb5ee4b 8151156: [TESTBUG] Integrate trivial Hotspot test changes from Jake before Jigsaw M3
Reviewed-by: hseigel, gtriantafill
2016-03-03 12:44:34 -08:00
Sangheon Kim
74cc38ff12 8145204: JVM can hang when ParGCArrayScanChunk=4294967296 and ParallelGC is used
Changed the max value of ParGCArrayScanChunk to max_jint/3

Reviewed-by: jwilhelm, drwhite
2016-03-07 01:20:12 -08:00
Rachel Protacio
1c5a7710e3 8150746: runtime/logging/ItablesTest.java fails with: java.lang.RuntimeException: 'Resolving: klass: ' missing from stdout/stderr
Deleted logging line from code and test because unnecessary

Reviewed-by: twisti, coleenp
2016-03-02 10:59:25 -05:00
Jesper Wilhelmsson
90586a424c Merge 2016-03-09 14:18:12 +01:00
Rachel Protacio
22f2f6ff95 8150083: Convert VerboseVerification to Unified Logging
Converted -XX:+VerboseVerfication to -Xlog:verboseverification=info

Reviewed-by: hseigel, dholmes
2016-03-08 15:19:53 -05:00
Rachel Protacio
b2f40c5a16 8149991: Convert TraceSafepointCleanupTime to Unified Logging
Converted TraceSafepointCleanupTime to -Xlog:safepointcleanup=info

Reviewed-by: hseigel, mockner, ddmitriev, dholmes, coleenp
2016-03-08 12:57:44 -05:00
Max Ockner
5fc22fbb9a Merge 2016-03-01 02:15:31 +00:00
Max Ockner
5a873632f3 8149064: TraceProtectionDomainVerification has been converted to Unified Logging
TraceProtectionDomainVerification has been converted to Unified Logging with tag protectiondomain.

Reviewed-by: coleenp, iklam
2016-02-29 16:58:09 -05:00
Thomas Stuefe
31f86a2308 8150619: Improve thread based logging introduced with 8149036
Reviewed-by: coleenp, dholmes
2016-02-29 08:50:57 +01:00
Dmitry Dmitriev
04d2edfca3 8146187: Print develop and nonproduct flags by -XX:+PrintFlags* options in debug build
Reviewed-by: gtriantafill, gziemski, dholmes
2016-02-19 13:24:21 +03:00
Rachel Protacio
3cf4e3909c 8149383: Convert TraceBiasedLocking to Unified Logging
The former -XX:+TraceBiasedLocking flag has been converted to the UL option -Xlog:biasedlocking=info and =trace, with the old option being aliased.

Reviewed-by: dholmes, dcubed
2016-02-18 17:10:48 -05:00
Rachel Protacio
92f9c27eec 8148630: Convert TraceStartupTime to Unified Logging
The former -XX:+TraceStartupTime flag has been converted to the UL option -Xlog:startuptime=info

Reviewed-by: coleenp, dholmes
2016-02-17 14:03:18 -05:00
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