Commit Graph

9614 Commits

Author SHA1 Message Date
Nils Eliasson
2a7b97807e Merge 2015-12-01 19:18:56 +01:00
Zoltan Majo
1ca592e687 8129847: Compiling methods generated by Nashorn triggers high memory usage in C2
Add a new compiler phase, PhaseRenumberLive, that renumbers live nodes.

Reviewed-by: kvn, thartmann, vlivanov, shade
2015-12-01 08:05:10 +01:00
Doug Simon
c595f5b0c9 8143730: [JVMCI] infopoint recording is too restrictive
Reviewed-by: twisti
2015-11-30 15:40:07 -10:00
Tom Rodriguez
4bc206a1b1 8142333: Build failure in debugInfoRec.cpp with SS12u4
Reviewed-by: coleenp, dholmes, erikj, kvn
2015-11-30 15:21:25 -08:00
Bengt Rutisson
8d0a8065f1 8144016: Add the gc tag to the logging framework
Reviewed-by: mlarsson, sjohanss
2015-11-25 13:39:52 +01:00
Vladimir Ivanov
d4170d0bba Merge 2015-11-25 00:40:04 +01:00
Tatiana Pivovarova
7a2d307eb3 8143966: JEP 233: Generate Run-Time Compiler Tests Automatically
Co-authored-by: Anton Ivanov <anton.ivanov@oracle.com>
Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Co-authored-by: Konstantin Shefov <konstantin.shefov@oracle.com>
Co-authored-by: Leonid Mesnik <leonid.mesnik@oracle.com>
Co-authored-by: Pavel Punegov <pavel.punegov@oracle.com>
Reviewed-by: iveresov, vlivanov
2015-11-25 02:17:31 +03:00
Tatiana Pivovarova
c17490ef7b 8144053: [TESTBUG] CompilerToVM::getStackTraceElementTest : unexpected line number for abstract or native method (assert failed: 0 < -1)
Reviewed-by: iignatyev, twisti
2015-11-25 20:30:28 +03:00
Vladimir Ivanov
419a331a48 8144024: Octane fails with "memory leak: allocating handle outside HandleMark"
Reviewed-by: kvn
2015-11-25 21:31:33 +03:00
Vladimir Ivanov
a03d2513aa 8143408: Crash during InstanceKlass unloading when clearing dependency context
Reviewed-by: kvn
2015-11-25 01:17:28 +03:00
Dmitrij Pochepko
ad8dfcdf38 8139384: [TESTBUG] JVMCI test fails with java.lang.RuntimeException: a 100_000 times invoked method should be mature
A test was redesigned to track xcomp and tiered states

Reviewed-by: twisti
2015-11-24 22:59:50 +03:00
Pavel Punegov
5e051287af 8142967: [TESTBUG] Compiler control tests get NullPointerException
Fix incoorect build jtreg tags

Reviewed-by: iignatyev, neliasso
2015-11-24 21:03:39 +03:00
Pavel Punegov
0f008d2194 8142385: [Testbug] RandomCommandsTest fails with error: Could not parse method pattern
Fix CompileCommand output processing

Reviewed-by: kvn, iignatyev, neliasso
2015-11-24 20:58:53 +03:00
Pavel Punegov
06c9ee5a1c 8138993: JEP-JDK-8046155: Test task: add check for Compiler.directives_print diagnostic command
Test Compiler.directive_print command

Reviewed-by: iignatyev, neliasso
2015-11-24 20:55:46 +03:00
Pavel Punegov
faa5a2381c 8066156: JEP-JDK-8046155: Test task: stress by dcmd
Stress dcmd tests that add directives

Reviewed-by: iignatyev, neliasso
2015-11-24 20:52:15 +03:00
Pavel Punegov
38c7096e4e 8066154: JEP-JDK-8046155: Test task: huge directive file
Stress tests for directive parser

Reviewed-by: iignatyev, neliasso
2015-11-24 16:58:20 +03:00
Tatiana Pivovarova
3cc0f3b570 8067939: make Out of space in CodeCache messages consistent
Reviewed-by: kvn
2015-11-24 15:50:27 +03:00
Martin Doerr
2952cd0bde 8138952: C1: Distinguish between PPC32 and PPC64
Reviewed-by: twisti, goetz, vlivanov
2015-11-23 11:06:14 +01:00
Nils Eliasson
a51ff63df7 Merge 2015-11-24 10:30:23 +01:00
Lana Steuck
f849aef116 Merge 2015-11-20 15:41:19 -08:00
Iris Clark
eb6fab9412 Merge 2015-11-20 12:22:41 -08:00
Lana Steuck
fda399cca8 Added tag jdk9-b93 for changeset 7ca001ccf8c1 2015-11-19 09:36:21 -08:00
Harold Seigel
71fe04f939 8143078: Remove JVM_DefineClassWithSourceCond() API
Remove the method and remove unneeded argument to jvm_define_class_common()

Reviewed-by: dholmes, coleenp
2015-11-19 11:54:32 -05:00
Goetz Lindenmaier
975140c530 8143307: Crash in C2 local code motion
Reviewed-by: kvn
2015-11-19 12:53:33 +01:00
Zoltan Majo
0aebabc831 Merge 2015-11-23 15:16:19 +01:00
Zoltan Majo
e2896c949d 8143616: Cleanup: Remove unused PrintNMethodsAtLevel flag
Remove the unused PrintNMethodsAtLevel flag.

Reviewed-by: roland
2015-11-23 15:09:45 +01:00
Zoltan Majo
d0382697c4 8143208: compiler/c1/6855215/Test6855215.java supports_sse2() failed
Check that SSE is enabled before using SSE instructions in string-related intrinsics. Make the UseSSE42Intrinsics dependent on UseSSE >= 4.

Reviewed-by: kvn
2015-11-23 08:11:30 +01:00
Ed Nevill
e9d7b65314 8143067: aarch64: guarantee failure in javac
Fix adrp going out of range during code relocation

Reviewed-by: aph, kvn
2015-11-19 15:15:20 +00:00
Ahmed Khawaja
e28d9ba105 8143012: CRC32 Intrinsics support on SPARC
Reviewed-by: kvn, roland
2015-11-20 08:29:10 -08:00
Tobias Hartmann
ea052022fa 8140390: Char stores/loads accessing byte arrays must be marked as unmatched
Mark unmatched char stores/loads emitted by CompactStrings.

Reviewed-by: roland, vlivanov, jrose
2015-11-20 10:09:42 +01:00
Michael Berg
2ae7dcf853 8142980: SKX SpecJvm2008 - Derby
Fix EVEX and AVX512 problems found by testing on 64-bit SKX and KNL EVEX enabled platforms.

Reviewed-by: iveresov, kvn, vlivanov
2015-11-19 16:07:22 -08:00
Daniel D. Daugherty
dcd4a03963 Merge 2015-11-18 22:00:09 +00:00
Coleen Phillimore
6626f4fc68 Merge 2015-11-18 19:55:37 +00: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
Coleen Phillimore
72756888e9 8141570: Fix Zero interpreter build for --disable-precompiled-headers
Change to include atomic.inline.hpp and allocation.inline.hpp only in .cpp files and some build fixes from Kim to build on ubuntu without devkits

Reviewed-by: kbarrett, sgehwolf, erikj
2015-11-18 11:47:55 -05:00
Gerard Ziemski
1777e00cca 8141641: Runtime: implement range for ErrorLogTimeout
Implement range=(0, jlong_max/1000)

Reviewed-by: coleenp, ddmitriev, dholmes
2015-11-18 10:46:02 -06: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
Kim Barrett
e8c5bc2024 8143014: Access PtrQueue member offsets through derived classes
Moved accessors to derived classes and updated callers.

Reviewed-by: tschatzl, jmasa, twisti
2015-11-17 16:40:52 -05:00
Stefan Johansson
bf4eef4903 Merge 2015-11-17 12:37:55 +00:00
Stefan Johansson
56adbd02ec 8141280: G1ResManAllocator doesn't work with _survivor_is_full/_old_is_full
Reviewed-by: jmasa, kbarrett, tschatzl
2015-11-17 11:20:27 +01:00
Iris Clark
2e24972c63 Merge 2015-11-16 17:10:04 -08: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
David Holmes
98231a9c42 Merge 2015-11-16 23:12:36 +01:00
David Holmes
56745a7f9f 8141024: [Solaris] Obsolete UseAltSigs
Reviewed-by: dcubed, ddmitriev
2015-11-16 14:47:21 -05:00
Kim Barrett
7badb3edfb 8143013: Remove unused DirtyCardQueue::iterate_closure_all_threads
Remove unused function.

Reviewed-by: tbenson, tschatzl, mgerdin
2015-11-16 14:11:36 -05:00
Tatiana Pivovarova
98bc340162 8138815: improve tests CompilerToVM::getStackTraceElement
Reviewed-by: kvn
2015-11-16 19:21:35 +03:00
Volker Simonis
350b04eab2 8141551: C2 can not handle returns with inccompatible interface arrays
Reviewed-by: kvn
2015-11-16 14:19:10 +01:00
Joseph Provino
8c3a472f12 Merge 2015-11-14 18:26:35 +00:00
Coleen Phillimore
57ee6fa3ab 8027429: Add diagnostic command VM.info to get hs_err print-out
Refactored hs_err reporting code so that it can be used for VM.info safely

Co-authored-by: David Buck <david.buck@oracle.com>
Reviewed-by: dholmes, hseigel
2015-11-13 16:50:39 -05:00
Alejandro Murillo
0c079cdaac Merge 2015-11-13 10:35:26 -08:00
Marcus Larsson
396cd88e2f 8142482: Improve the support for prefix functions in unified logging
Reviewed-by: brutisso, pliden
2015-11-13 09:49:28 +01:00
Thomas Schatzl
7f53346519 Merge 2015-11-13 12:36:17 +00:00
Stefan Johansson
6983acfb5f 8139424: SIGSEGV, Problematic frame: # V [libjvm.so+0xd0c0cc] void InstanceKlass::oop_oop_iterate_oop_maps_specialized<true,oopDesc*,MarkAndPushClosure>
The crash was caused by a faulty eager humongous reclaim. The reason for reclaiming a live object was that the call to cleanupHRRS was done after dirtying cards and clearing the remembered sets for the humongous object. This could lead to one or many cards being missed.

Reviewed-by: tbenson, kbarrett, tschatzl
2015-11-13 09:28:53 +01:00
Thomas Schatzl
4d9dfbeb1d 8138684: G1 decision about taking regions into the collection set is too aggressive
Factor in expected waste and uncertainty of our guess in the decision whether to take another region into the collection set.

Reviewed-by: mgerdin, jmasa
2015-11-13 09:12:06 +01:00
Lana Steuck
6b43d0b8a6 Merge 2015-11-12 18:29:22 -08:00
Lana Steuck
c4dd346ef4 Merge 2015-11-12 14:13:49 -08:00
Lana Steuck
2a5e95250f Added tag jdk9-b92 for changeset bb921f8f8007 2015-11-12 10:39:00 -08:00
Sangheon Kim
6c10034f4b 8134631: G1DummyRegionsPerGC fires assert of assert(words <= filler_array_max_size()) failed: too big for a single object
Change filler max value temporarily for G1DummyRegionsPerGC flag.

Reviewed-by: tbenson, tschatzl
2015-11-12 09:52:04 -08: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
Thomas Schatzl
6ed8f3c0b2 8140689: Skip last young-only gc if nothing to do in the mixed gc phase
Reviewed-by: mgerdin, drwhite
2015-11-10 11:07:15 +01:00
Thomas Schatzl
22d9b3df0f 8138740: Start initial mark right after mixed GC if needed
Instead of issuing a single young-only GC after the end of all mixed GCs, if needed immediately start an initial mark in that young-only GC.

Reviewed-by: drwhite, mgerdin
2015-11-10 11:07:15 +01:00
Thomas Schatzl
90d03cf69c 8139874: After G1 Full GC, the next GC is always a young-only GC
Allow initiation of an initial mark after Full GC

Reviewed-by: ehelin
2015-11-10 11:07:15 +01:00
Thomas Schatzl
d8534a2c6d 8140597: Forcing an initial mark causes G1 to abort mixed collections
Postpone the initial mark request until the current mixed GC phase has finished.

Reviewed-by: mgerdin
2015-11-10 11:07:15 +01:00
Iris Clark
f1087822ed Merge 2015-11-09 10:56:51 -08:00
Alejandro Murillo
a2cf146b1f Merge 2015-11-06 11:11:51 -08:00
Nils Eliasson
6ec2776bf3 8141629: Hs-comp doesn't build with JDK-8139040
Fix benign uninitialized vars

Reviewed-by: roland
2015-11-06 16:42:01 +01:00
Nils Eliasson
3307d0f163 Merge 2015-11-06 11:34:03 +01:00
Lana Steuck
38c2af8722 Merge 2015-11-05 13:41:47 -08:00
Jesper Wilhelmsson
1a5787d42e Merge 2015-11-05 19:31:57 +01:00
Lana Steuck
1394d8a88d Added tag jdk9-b91 for changeset 8ce5cc6c019d 2015-11-05 08:15:36 -08:00
Goetz Lindenmaier
0a4657e8c1 8141529: Fix handling of _JAVA_SR_SIGNUM
Reviewed-by: dholmes, stuefe, dsamersoff
2015-11-05 15:05:59 +01:00
Aleksey Shipilev
99b9a67ccd 8140389: Remove StringCharIntrinsics flag after JDK-8138651 is fixed
Reviewed-by: kvn, zmajo
2015-11-05 16:35:21 +03:00
Tobias Hartmann
f3011455a2 8141443: jdk/test/java/util/regex/RegExTest.java fails: No match found
Do not sign extend when converting jbyte to jchar.

Reviewed-by: shade, kvn
2015-11-05 15:29:46 +01:00
Erik Joelsson
2973587401 Merge 2015-11-05 15:08:58 +01:00
Aleksey Shipilev
dfb1ed8a19 8141044: C1 should fold (this == null) to false
Reviewed-by: jrose, roland
2015-11-05 13:33:18 +03:00
Volker Simonis
5bef4db912 8141416: "expr: syntax error" due to gcc -dumpversion excluding micro
Reviewed-by: erikj, stuefe
2015-11-05 10:55:58 +01:00
Alejandro Murillo
c573c1777e 8139986: Store debug level in java.vm.debug and conditionally print in "java -version"
Reviewed-by: ihse, dcubed, ksrini, dholmes
2015-11-04 11:00:29 -08:00
Christian Thalinger
a38ea495d6 8139170: JVMCI refresh
Reviewed-by: kvn
2015-11-04 07:23:23 -10:00
Jungwoo Ha
68ffb0bf12 8141356: Explicitly stop CMS threads during VM termination
GenCollectedHeap::stop() is not implemented which is supposed to stop CMS threads during VM termination.

Reviewed-by: jmasa, kbarrett
2015-11-03 13:03:04 -08:00
Erik Helin
0580d65a1c 8142403: Make G1CollectorPolicy::predictor const
Reviewed-by: stefank, tschatzl
2015-11-12 14:03:14 +01:00
Konstantin Shefov
a4e16dd190 8139385: [TESTBUG]: JVMCI test crashes in constantPoolHandle::constantPoolHandle
Reviewed-by: kvn, iignatyev
2015-11-03 20:12:51 +03:00
Pavel Punegov
b03077878d 8141129: 3 compiler control tests fail on product builds
UnlockDiagnosticVMOptions should be placed before the PrintAssembly

Reviewed-by: kvn
2015-11-03 18:42:40 +03:00
Tatiana Pivovarova
25bd94edfe 8138809: improve tests for CompilerToVM::hasCompiledCodeForOSR
Reviewed-by: kvn
2015-11-03 20:12:47 +03: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
Andrew Haley
4e24e2cc6c 8079459: JCK test api/java_nio/ByteBuffer/index.html#GetPutXXX start failing after JDK-8026049
NextPutIndex used where nextGetIndex is correct.

Reviewed-by: alanb
2015-11-02 12:34:27 +00:00
Alejandro Murillo
f9d614575f Merge 2015-10-30 12:03:08 -07:00
Lana Steuck
5ba43fff6e Added tag jdk9-b90 for changeset 12c4adf57d67 2015-10-30 10:28:53 -07:00
Jesper Wilhelmsson
b1e3e8436a Merge 2015-10-30 00:02:37 +01:00
Igor Ignatyev
72ec09dd64 Merge 2015-10-29 19:30:51 +00:00
Pavel Punegov
d64b0e82b2 8140776: CompilerControl: Remove UTF-16 from the tests
Remove UTF-16 from the generation until the failure reason isn't found

Reviewed-by: iignatyev
2015-10-29 21:31:47 +03:00
Igor Veresov
39f99d5815 8140604: Internal Error runtime/stubRoutines.hpp:392 assert(_intrinsic_log != 0L) failed: must be defined
Fix the faulty assert, remove remaining _intrinsic_log references

Reviewed-by: roland
2015-10-29 09:59:56 -07:00
Erik Helin
0f08933773 8140489: Introduce shorthand for average_time_ms in G1CollectorPolicy
Reviewed-by: mgerdin, tschatzl, drwhite
2015-10-29 17:32:08 +01:00
Lana Steuck
3d29bacd20 Added tag jdk9-b89 for changeset 75e0112d3eb5 2015-10-29 08:42:24 -07:00
Erik Helin
d0f3d01013 8140393: Move WorkerDataArray to its own file
Reviewed-by: tschatzl, mgerdin, tbenson
2015-10-29 14:58:44 +01:00
Aleksey Shipilev
3ebee2a2b9 Merge 2015-10-29 13:23:43 +00:00
Aleksey Shipilev
a7f471d8be 8140483: Atomic*FieldUpdaters final fields should be trusted
Add exceptions for A*FU subclasses that do the actual work.

Reviewed-by: jrose, vlivanov
2015-10-29 14:08:19 +03:00
Igor Ignatyev
7a6c42b823 Merge 2015-10-29 10:56:58 +00:00
Erik Helin
a935c706b6 8140761: Remove caching from WorkerDataArray
Reviewed-by: tschatzl, mgerdin, tbenson
2015-10-29 11:33:43 +01:00