Commit Graph

11110 Commits

Author SHA1 Message Date
Thomas Schatzl
39d3c3f512 8155229: Tune thread usage for live data clearing
Reviewed-by: mgerdin, drwhite
2016-05-02 10:24:41 +02:00
Thomas Schatzl
53d670b469 8155233: Lazy coarse map clear
Only clear the coarse bitmaps of the remembered sets if they were dirtied.

Reviewed-by: jmasa, mgerdin
2016-05-02 10:24:41 +02:00
Thomas Schatzl
72977f4009 8155230: Tune thread usage for mark bitmap clear
Reviewed-by: jmasa, mgerdin
2016-05-02 10:24:41 +02:00
Thomas Schatzl
bd8bbf9e27 8153507: Improve Card Table Clear Task
Move card table clear code into remembered set related files. Improve work distribution of this task, and tune thread usage.

Reviewed-by: jmasa, mgerdin
2016-05-02 10:24:41 +02:00
Thomas Schatzl
238fada762 8155232: Augment Workgang to run task with a given number of threads
Add a method to run a WorkGang with a set number of threads.

Reviewed-by: stefank, jmasa, mgerdin
2016-05-02 10:24:41 +02:00
Dmitry Samersoff
85deb5aa7e 8154258: [TESTBUG] Various serviceability tests fail compilation
Replace sun.misc.Unsafe with jdk.internal.misc.Unsafe

Reviewed-by: chegar, kvn
2016-05-01 12:47:00 +03:00
Max Ockner
da0fe9d476 8154110: Update class* and safepoint* logging subsystems
Refactored logging tags in class and safepoint subsystems.

Reviewed-by: coleenp, rehn, hseigel
2016-04-29 22:40:51 -04:00
Jon Masamitsu
c011c03c17 Merge 2016-04-29 18:55:41 +00:00
Eric Caspole
9feeaa65eb Merge 2016-04-29 18:00:57 +02:00
Eric Caspole
dec22baf4d 8155685: Wrong indentation in ClassFileParser::post_process_parsed_stream
Fix indentation

Reviewed-by: dcubed
2016-04-29 10:04:24 -04:00
Vladimir Ivanov
84d06ff2d0 Merge 2016-04-29 14:17:34 +03:00
Stefan Johansson
4956880699 8155245: Add logging when MMU target is violated
Reviewed-by: ehelin, mgerdin
2016-04-29 08:39:22 +02:00
Alejandro Murillo
59e339e6ec Merge 2016-04-28 23:08:16 -07:00
Marcus Larsson
813dd79774 Merge 2016-04-29 04:44:08 +02:00
Pavel Punegov
d417d4012a Merge 2016-04-29 03:02:43 +02:00
Gerard Ziemski
68e83181df Merge 2016-04-28 23:32:50 +00:00
Vladimir Ivanov
72747f47fd Merge 2016-04-29 02:13:40 +03:00
Gerard Ziemski
6622c7a0d8 Merge 2016-04-28 22:44:52 +00:00
Serguei Spitsyn
cd0e40814f Merge 2016-04-28 21:56:38 +00:00
Alejandro Murillo
59292b53e3 Merge 2016-04-28 14:44:52 -07:00
Stefan Karlsson
06ae3a970a Merge 2016-04-28 22:32:06 +02:00
Serguei Spitsyn
cfe7bd538a Merge 2016-04-28 19:34:13 +00:00
Serguei Spitsyn
0c5f058520 8153190: JVMTI GetAllModules should make it clear that it also returns unnamed module
Clarify the JVMTI spec

Reviewed-by: alanb
2016-04-28 12:25:16 -07:00
Harold Seigel
d30adc68f2 8151342: Add module name/version to class histogram output
Add additional column to histogram containing module@version

Reviewed-by: sundar, gtriantafill
2016-04-28 13:44:36 -04:00
Gerard Ziemski
41a3e98a61 8153835: Fix range of flag MaxDirectMemorySize which is parsed at jlong
Changed MaxDirectMemorySize type to uint64_t and set max to max_jlong

Reviewed-by: goetz, simonis
2016-04-28 10:41:53 -05:00
Kirill Zhaldybin
d423c99efc 8155527: New test TestHumongousClassLoader fails with "-XX:+ExplicitGCInvokesConcurrent" option
Reviewed-by: dfazunen, drwhite, jwilhelm
2016-04-28 16:55:04 +03:00
Pavel Punegov
9c04e65bda 8155034: [TESTBUG] ctw tests fail to compile: module reads package sun.reflect from both jdk.unsupported and java.base
Replace sun.reflect with jdk.internal.reflect

Reviewed-by: iignatyev, ddmitriev
2016-04-28 17:58:18 +03:00
Stefan Karlsson
c12b6076dc 8155206: Internal VM test DirectiveParser_test is too verbose
Reviewed-by: rehn, neliasso
2016-04-28 15:52:08 +02:00
Ed Nevill
41258ea37a 8155617: aarch64: ClearArray does not use DC ZVA
Implement block zero using DC ZVA

Co-authored-by: Long Chen <long.chen@linaro.org>
Reviewed-by: aph
2016-04-28 13:26:29 +00:00
Tobias Hartmann
06645bc9d5 6941938: Improve array equals intrinsic on SPARC
Array equals intrinsic should do 8-byte comparison on SPARC.

Reviewed-by: kvn, jrose, mgerdin, twisti
2016-04-28 17:36:37 +02:00
Roland Westrelin
cca965a11d 8155612: Aarch64: vector nodes need to support misaligned offset
Add support for misaligned offsets.

Reviewed-by: aph
2016-04-28 15:24:17 +02:00
Serguei Spitsyn
7d20b786fd Merge 2016-04-28 09:10:10 +00:00
Martin Doerr
8f2a47ba2e 8154836: VM crash due to "Base pointers must match"
Improve the handling of AddP nodes in final graph reshaping.

Reviewed-by: kvn, zmajo
2016-04-28 10:32:12 +02:00
Serguei Spitsyn
367a7bd592 8153749: New capability can_generate_early_class_hook_events
Add new capability

Reviewed-by: alanb, dsamersoff
2016-04-28 00:36:46 -07:00
Tom Rodriguez
593cf3fb16 8152903: [JVMCI] CompilerToVM::resolveMethod should correctly handle private methods in interfaces
Reviewed-by: iveresov
2016-04-27 16:20:49 -07:00
Vivek Deshpande
8cb0a98032 8154975: Update for vectorizedMismatch with AVX512
Reviewed-by: kvn
2016-04-27 13:37:07 -07:00
Calvin Cheung
023aa74fc2 8154976: UseSharedSpaces error message is incomplete
Reviewed-by: cjplummer, jiangli, mseledtsov
2016-04-27 11:40:43 -07:00
Mikael Gerdin
8f81f1a52b 8150393: Maintain the set of survivor regions in an array between GCs
Reviewed-by: tschatzl, sjohanss
2016-04-27 16:11:45 +02:00
Stefan Johansson
97a96449f9 8155087: Calculation in other_time_ms() is incorrect
Reviewed-by: tschatzl, ehelin
2016-04-27 16:02:32 +02:00
Stefan Johansson
b2c560bc98 8155082: Refactor mutator region restriction
Reviewed-by: mgerdin, tschatzl
2016-04-27 16:02:02 +02:00
Yasumasa Suenaga
10ed386bc7 8155089: UL: Remove trailing comma from log decoration list
Reviewed-by: dsamersoff, mlarsson
2016-04-27 21:00:45 +09:00
Mikael Gerdin
61541740ca 8155209: Move setting of young index in cset to G1CollectionSet
Reviewed-by: sjohanss, ehelin
2016-04-27 11:25:16 +02:00
Shafi Ahmad
5c6e28cc60 8147026: Convert an assert in ClassLoaderData to a guarantee
Guarantee is to ensure classloader is a valid oop will help catch the errors at an early stage rather than crashing the JVM later on in the GC

Reviewed-by: coleenp
2016-04-26 23:29:51 +05:30
Jon Masamitsu
cf2c110c5e 8154743: Internal Error: psParallelCompact.hpp assert(addr >= _region_start) failed: bad addr
Reviewed-by: tschatzl, kbarrett
2016-04-26 09:19:19 -07:00
David Simms
64ca7559f5 8149442: MonitorInUseLists should be on by default, deflate idle monitors taking too long
MonitorInUseLists on by default

Reviewed-by: rbackman, mlarsson
2016-04-26 12:46:40 +02:00
Stefan Karlsson
08e7841365 8141496: BitMap set operations copy their other BitMap argument
Reviewed-by: mgerdin, tschatzl
2016-04-27 08:48:39 +02:00
Pavel Punegov
f3ac4f761e Merge 2016-04-26 20:55:39 +02:00
Pavel Punegov
a1e8e87784 Merge 2016-04-26 18:54:37 +02:00
Erik Joelsson
48052922da Merge 2016-04-26 17:46:36 +02:00
Rachel Protacio
0bfa2e4a14 Merge 2016-04-26 15:45:20 +00:00
Andrew Haley
afcf41b8d4 8155100: AArch64: Relax alignment requirement for byte_map_base
Reviewed-by: roland
2016-04-26 14:38:39 +00:00
Rachel Protacio
e0ed19b78a Merge 2016-04-26 14:22:06 +00:00
Kirill Zhaldybin
75d8a4b585 8155092: [TESTBUG] TestHumongousClassLoader.java needs UnlockDiagnosticVMOptions before WhiteBoxAPI
Reviewed-by: tschatzl, dfazunen
2016-04-26 16:50:34 +03:00
Marcus Larsson
5884a7924e Merge 2016-04-26 15:16:41 +02:00
Rachel Protacio
09add35155 8152844: JVM InstanceKlass Methods For Obtaining Package/Module Should Be Moved to Klass
Converted package() and module() functions to pure virtual functions of Klass

Reviewed-by: dholmes, coleenp, lfoltan, hseigel
2016-04-26 09:08:12 -04:00
Dmitry Dmitriev
b788b49698 Merge 2016-04-26 11:49:37 +00:00
Dmitry Fazunenko
ec1e617810 Merge 2016-04-26 11:46:38 +00:00
Erik Joelsson
e28d7b714e 8150601: Remove the old Hotspot build system
Reviewed-by: ihse
2016-04-26 13:35:28 +02:00
Alexander Kulyakhtin
7cf6a15162 8153992: Some hotspot tests fail on compact2 due to an unnecessary test library dependency
Removing unnecessary dependency on java.management from the ProcessTool.getProcessId()

Reviewed-by: mchung
2016-04-26 13:22:32 +03:00
Dmitry Fazunenko
2a16196f05 Merge 2016-04-26 10:01:00 +00:00
Dmitry Fazunenko
5071cda359 Merge 2016-04-26 09:14:06 +00:00
Goetz Lindenmaier
1601aea438 8155085: [ppc] Fix Type-O in "8154580: Save mirror in interpreter frame..."
Reviewed-by: dholmes, mgerdin
2016-04-26 11:05:11 +02:00
Robbin Ehn
d58feb9912 8154719: JvmtiBreakpoint rename method print() to print_on()
Reviewed-by: mlarsson, sla, sspitsyn
2016-04-26 10:58:03 +02:00
Antonios Printezis
76adc93577 8151556: Use the PreservedMarks* classes for the G1 preserved mark stacks
Reviewed-by: tschatzl
2016-04-26 10:23:08 +02:00
Antonios Printezis
41a5d2d430 8154153: PS: Restore preserved marks in parallel
Restore preserved marks after evacuation failure in parallel using the PreservedMark infrastructure.

Reviewed-by: tschatzl
2016-04-26 10:19:57 +02:00
Alejandro Murillo
dbf7eb0492 Merge 2016-04-25 14:15:38 -07:00
Chris Plummer
5619a7209c 8154379: MIN_STACK_SHADOW_PAGES should equal DEFAULT_STACK_SHADOW_PAGES on aarch64
Undid previous change that had set it to 1.

Reviewed-by: enevill, adinn, aph
2016-04-25 12:11:58 -07:00
Roland Westrelin
15893e995b 8155015: Aarch64: bad assert in spill generation code
Reviewed-by: thartmann
2016-04-25 15:14:02 +02:00
Roland Westrelin
23ce249250 8154939: 8153998 broke vectorization on aarch64
Reviewed-by: kvn, mcberg
2016-04-27 01:14:07 -07:00
Jan Civlin
f2e9b827d6 8154495: SHA256 AVX2 intrinsic (when no supports_sha() available)
Reviewed-by: kvn
2016-04-26 21:54:21 -07:00
Michael Berg
7c4302f618 8154896: xml.transform fails intermittently on SKX
Replace some short branches (jccb) to avoid problem when EVEX is used.

Reviewed-by: twisti, kvn
2016-04-26 20:43:59 -07:00
Rickard Bäckman
b853eb7f5c 8151956: Support non-continuous CodeBlobs in HotSpot
Reviewed-by: iveresov, thartmann, simonis
2016-04-26 10:28:51 +02:00
Vladimir Ivanov
67ff4391ec 8154172: C1: NPE is thrown instead of linkage error when invoking nonexistent method
Reviewed-by: kvn
2016-04-25 21:25:22 +03:00
Vladimir Ivanov
e17b342749 8134918: C2: Type speculation produces mismatched unsafe accesses
Reviewed-by: kvn
2016-04-25 18:36:27 +03:00
Jim Laskey
ce076f3ab9 8147634: Need a JImage API that given a JImageLocationRef returns class name
Reviewed-by: hseigel
2016-04-25 09:59:43 -03:00
Jim Laskey
c95df8b9fe 8147426: Missing definition for JIMAGE_NOT_FOUND
Reviewed-by: hseigel, alanb
2016-04-25 09:59:07 -03:00
Goetz Lindenmaier
187fe4afd1 8154996: [aix] Implement compare_file_modified_times for "8146879: Add option ..."
Reviewed-by: simonis
2016-04-25 12:42:29 +02:00
Erik Helin
bbe16a058e Merge 2016-04-25 17:24:33 +02:00
Coleen Phillimore
ec68fa3411 Merge 2016-04-25 15:22:16 +00:00
Andrew Haley
874b51e362 Merge 2016-04-25 15:02:33 +00:00
Andrew Haley
f2ba1fde33 8154957: AArch64: Better byte behavior
The fix for 8132051 is needed for AArch64.

Reviewed-by: roland
2016-04-25 14:22:36 +00:00
Coleen Phillimore
de88e58a82 8154580: Save mirror in interpreter frame to enable cleanups of CLDClosure
GC walks the mirror using OopClosure rather than using CLDClosure in oops_interpreted_do()

Reviewed-by: dlong, twisti, stefank
2016-04-25 09:51:00 -04:00
Stefan Karlsson
9ca6318ece 8017629: G1: UseSHM in combination with a G1HeapRegionSize > os::large_page_size() falls back to use small pages
Reviewed-by: pliden, sjohanss, stuefe
2016-04-25 11:36:14 +02:00
Tobias Hartmann
3a358f4cff 8086057: Crash with "modified node is not on IGVN._worklist" when running with -XX:-SplitIfBlocks
Pre-loop Opaque1 node 'pre_opaq' should be put on the IGVN worklist after modification.

Reviewed-by: kvn
2016-04-25 10:53:42 +02:00
Tobias Hartmann
ebc384160f 8154763: Crash with "assert(RangeCheckElimination)" if RangeCheckElimination is disabled
Disable multiversioning if range check elimination is turned off.

Reviewed-by: mcberg, kvn
2016-04-25 10:51:44 +02:00
Jiangli Zhou
04ec692aca Merge 2016-04-22 19:40:39 +02:00
Coleen Phillimore
bc5d385d04 Merge 2016-04-22 16:17:45 +00:00
Matthias Baesken
d88ba0b30d 8154566: os_linux.cpp parse_os_info gives non descriptive output on current SLES releases
For SuSE, read the first line of the /etc/xrelease file, also get PRETTY_NAME from /etc/os_release

Reviewed-by: gthornbr, coleenp
2016-04-23 15:21:48 -04:00
Michail Chernov
0fc708181a 8154341: [TESTBUG] G1 stress test for humongous objects allocation
Reviewed-by: jwilhelm, dfazunen
2016-04-22 18:19:29 +03:00
Michail Chernov
4397d91642 8154759: [TESTBUG] GC tests should be changed to be able to execute with -Xlog:all=trace
Reviewed-by: jmasa, dfazunen
2016-04-22 17:49:15 +03:00
Coleen Phillimore
77eae51159 Merge 2016-04-22 14:48:35 +00:00
Michail Chernov
14a8adfd9f 8154843: GC tests should be correctly marked with @module
Reviewed-by: jwilhelm, dfazunen
2016-04-22 17:46:06 +03:00
Coleen Phillimore
5f5a877bf4 Merge 2016-04-22 13:16:57 +00:00
Goetz Lindenmaier
dafa24689b 8154921: Fix aix after "8146879: Add option for handling existing log files in UL"
Rename os::fileno to os::get_fileno because AIX defines macro 'fileno'.

Reviewed-by: coleenp
2016-04-22 14:57:18 +02:00
Andrew Haley
651e264d3c 8154210: Zero: Better byte behaviour
Complete support for 8132051 on Zero and fix failure on 64-bit big-endian systems

Reviewed-by: andrew, chrisphi, coleenp
2016-04-22 14:30:58 +02:00
Thomas Schatzl
2e4cd63893 Merge 2016-04-22 13:43:36 +02:00
Martin Doerr
2ee49b78fe 8154867: PPC64: Better byte behavior
Reviewed-by: goetz
2016-04-22 10:46:08 +02:00
Thomas Schatzl
78d48b8bee 8154838: G1CardLiveData::free_large_bitmap() uses wrong calculation to determine the number of words
Use the exact same calculation as G1CardLiveData::allocate_large_bitmap() in free_large_bitmap().

Reviewed-by: stefank, jmasa
2016-04-22 10:19:22 +02:00
Alejandro Murillo
f9426642c6 Merge 2016-04-22 01:04:00 -07:00
Alejandro Murillo
638bcd60aa Merge 2016-04-22 00:08:54 -07:00