Commit Graph

8436 Commits

Author SHA1 Message Date
Mikael Gerdin
fead1c01cd Merge 2016-05-02 16:53:03 +02:00
Thomas Schatzl
d4bfb42264 8155811: Remove HeapRegionRemSet::_coarse_dirty flag
Reviewed-by: mgerdin, jmasa
2016-05-02 14:14:16 +02:00
Thomas Schatzl
461078c649 8155813: Fix indentation in G1RemSetScanState::clear_card_table()
Reviewed-by: mgerdin
2016-05-02 14:13:05 +02:00
Severin Gehwolf
a0fa7abd14 8155819: Support non-continuous CodeBlobs in HotSpot broke Zero
Adjust to CompiledMethod changes.

Reviewed-by: coleenp, rbackman
2016-05-02 13:39:52 +02:00
Erik Gahlin
6f649fdca0 Merge 2016-05-02 12:44:25 +02:00
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
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
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
Stefan Karlsson
c12b6076dc 8155206: Internal VM test DirectiveParser_test is too verbose
Reviewed-by: rehn, neliasso
2016-04-28 15:52:08 +02:00
Serguei Spitsyn
7d20b786fd Merge 2016-04-28 09:10:10 +00: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
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
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
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
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
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
Coleen Phillimore
77eae51159 Merge 2016-04-22 14:48:35 +00:00
Nils Eliasson
24d3db305c 8153527: break_tty_lock_for_safepoint causes "assert(false) failed: bad tag in log" and broken compile log
Retake tty_lock before printing closing tag in print_optoassembly

Reviewed-by: kvn
2016-04-22 16:05:00 +02: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
Chris Plummer
7cd3700010 8148195: Some InstanceKlass and MethodCounters fields can be excluded when JVMTI is not supported
Removed "previous version", "cached class file",  and breakpoint related fields and code when JVMTI is not supported

Reviewed-by: coleenp, sspitsyn
2016-04-21 20:49:11 -07:00
Erik Gahlin
391c11f0c2 8154794: Add support for experimental fields/events to event-based tracing
Reviewed-by: mlarsson, mgronlun
2016-04-22 00:08:43 +02:00
Bharadwaj Yadavalli
80a156e005 Merge 2016-04-21 15:59:07 -04:00
Per Liden
48892f6f68 8152949: Jigsaw crash when Klass in _fixup_module_field_list is unloaded
During start up anonymous classes must be kept alive until after their mirror's module field is patched with java.base

Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: coleenp, hseigel
2016-04-21 09:23:04 -04:00
Tobias Hartmann
ecea45ddad Merge 2016-04-21 09:29:54 +00:00
Tobias Hartmann
257c8ccafc 8086068: VM crashes with "-Xint -XX:+UseCompiler" options
Prevent incompatible compiler flag combination.

Reviewed-by: zmajo, kvn, ddmitriev
2016-04-21 10:52:00 +02:00
Zoltan Majo
1af5fe07a0 8153292: AllocateInstancePrefetchLines>AllocatePrefetchLines can trigger out-of-heap prefetching
Set the size of the reserved TLAB area to the MAX of both flags.

Reviewed-by: kvn, thartmann
2016-04-21 09:21:48 +02:00
Vladimir Ivanov
04dd07454a 8154145: Missing klass/method name in stack traces on error
Reviewed-by: stefank, cjplummer
2016-04-20 20:40:46 +03:00
Erik Helin
63484cce64 8154753: Turn G1Policy into an interface
Reviewed-by: sjohanss, mgerdin
2016-04-20 15:24:18 +02:00
Roland Westrelin
794bbd1a36 8154537: AArch64: some integer rotate instructions are never emitted
Reviewed-by: aph, adinn, kvn
2016-04-19 19:52:39 -07:00
Bharadwaj Yadavalli
d61df5babe Merge 2016-04-19 15:26:59 -04:00
Mikael Gerdin
4adb7c0788 8154752: Cleanup initialization of G1Policy
Reviewed-by: ehelin, tschatzl
2016-04-19 14:53:33 +02:00
Mikael Gerdin
91b2afa99d 8154745: Move default G1 pause time target setup to argument parsing
Reviewed-by: ehelin, sjohanss
2016-04-19 14:53:32 +02:00
Mikael Gerdin
7587fbdd30 8154452: Deferred cleanups after split of G1CollectorPolicy code
Reviewed-by: ehelin, sjohanss
2016-04-21 10:19:00 +02:00
Mikael Gerdin
39b43a87e7 8154467: Cleanup initialization of GCPolicyCounters
Reviewed-by: ehelin, sjohanss
2016-04-21 10:18:50 +02:00
Stefan Karlsson
fdd7fde740 8053885: test/runtime/memory/RunUnitTestsConcurrently.java fails on solaris with largepage options
Reviewed-by: jmasa, pliden
2016-04-21 09:08:33 +02:00
Jiangli Zhou
2d65e6174c 8154457: runtime/SharedArchiveFile/SharedStrings Shared string table stats missing
Added more information when print out message reporting disabling the shared strings at CDS dump time.

Reviewed-by: lfoltan, hseigel, mseledtsov, gtriantafill
2016-04-20 16:04:38 -04:00
Kirill Zhaldybin
4ba6969ac6 8135200: Add White Box method that enumerates G1 old regions with less than specified liveness and collects statistics
Reviewed-by: tschatzl, dfazunen, iignatyev
2016-04-20 19:54:51 +03:00
Andrew Haley
2b0d77befa 8154739: AArch64: TemplateTable::fast_xaccess loads in wrong mode
Reviewed-by: roland
2016-04-20 11:14:10 +00:00
Andrew Haley
1832f0f0f1 Merge 2016-04-20 11:11:56 +00:00
Andrew Haley
cdcd378bd6 8153310: AArch64: JEP 254: Implement byte_array_inflate
Reviewed-by: roland
2016-04-20 11:05:28 +00:00
Robbin Ehn
e61f2f7f5e 8154728: JvmtiExport::add_default_read_edges hits a guarantee
Reviewed-by: mgerdin, dholmes, stefank
2016-04-20 10:01:25 +02:00
Stefan Karlsson
790431bd5d 8079843: do_young_space_rescan - comment out of sync with code
Reviewed-by: mgerdin, sjohanss, ehelin, tschatzl
2016-04-20 09:58:15 +02:00
Coleen Phillimore
277996e430 Merge 2016-04-20 05:27:06 +00:00
Coleen Phillimore
97a7246217 Merge 2016-04-20 03:12:01 +00:00
Coleen Phillimore
2aff402303 8154280: Zero build fails with undeclared G1LastPLABAverageOccupancy
Reviewed-by: twisti
2016-04-21 02:58:04 -04:00
Max Ockner
16c430d2b6 8151526: Print -Xlog configuration in the hs_err_pid file
Logging configuration is now printed in hs_err and in vm info.

Reviewed-by: coleenp, mlarsson, dholmes
2016-04-19 11:03:37 -04:00
Robbin Ehn
167be2a61c 8154059: JVMTI ObjectTagging to UL
Reviewed-by: sspitsyn, mlarsson
2016-04-19 14:21:26 +02:00
Robbin Ehn
9d7444952a 8154041: JVMTI trace to Unified Logging
Reviewed-by: sspitsyn, mlarsson
2016-04-19 14:14:04 +02:00
Marcus Larsson
1ea0fb7b87 Merge 2016-04-19 12:30:00 +02:00
Chris Hegarty
d6c8ba8845 8153756: jdk.vm.ci should not depend on sun.misc ( jdk.unsupported module )
Reviewed-by: twisti
2016-04-19 09:31:53 +01:00
Robbin Ehn
4b7eacd933 8154235: Using deprecated flags converted to UL shows wrong hint
Reviewed-by: rprotacio, mockner, coleenp
2016-04-19 09:48:43 +02:00
Mikael Gerdin
bda93dad55 Merge 2016-04-19 09:06:38 +02:00
Stefan Karlsson
66777c3399 8067785: Using AlwaysPreTouch does not always touch all pages
Reviewed-by: pliden, drwhite
2016-04-19 08:12:28 +02:00
Michael Berg
64cf7e6b6f 8153998: Masked vector post loops
Masked vectorization for post loops to execute in a single iteration in place of fixup scalar loops which used to take many iterations to complete work for user loops.

Reviewed-by: twisti, kvn
2016-04-18 15:18:14 -07:00
Kim Barrett
3079c942b6 8133051: Concurrent refinement threads may be activated and deactivated at random
Establish min threshold step; earlier primary refinement thread activation.

Reviewed-by: tschatzl, drwhite, mgerdin, jmasa
2016-04-18 14:52:31 -04:00
Roland Westrelin
e08e2ac711 8154135: Loop alignment may be added inside the loop body
Reviewed-by: kvn, vlivanov
2016-04-18 20:57:27 +03:00
Andrew Haley
66208f1fca 8152554: CompactStrings broken on AArch64
Correct the logic for string intrinsics.

Reviewed-by: roland
2016-04-18 15:37:29 +00:00
Thomas Schatzl
4c2f0704f3 8153170: Card Live Data does not correctly handle eager reclaim
The card live data of regions eagerly reclaimed during remark and cleanup pause could be wrong, not considering that these regions were eagerly reclaimed and empty.

Reviewed-by: drwhite, kbarrett
2016-04-18 16:54:04 +02:00
Thomas Schatzl
d55089d82b 8153503: Move remset scan iteration claim to remset local data structure
Reviewed-by: drwhite, mgerdin
2016-04-18 16:51:14 +02:00
Severin Gehwolf
79859bc5dd 8153275: Zero JVM fails to initialize after JDK-8152440
Use a value for InitArrayShortSize which passes validation

Reviewed-by: aph, andrew, coleenp
2016-04-18 11:30:12 +02:00
Zoltan Majo
c05dd2fdca 8153357: C2 creates incorrect cast after eliminating phi with unique input
Refine C2's logic to determine the type of cast node added.

Reviewed-by: kvn
2016-04-18 11:22:51 +02:00
Zoltan Majo
acab1fddac 8072428: Enable UseLoopCounter ergonomically if on-stack-replacement is enabled
Set UseLoopCounter ergonomically if on-stack-replacement is enabled. Print warning.

Reviewed-by: kvn
2016-04-18 09:39:55 +02:00
Ioi Lam
6526d15d6e 8150607: Clean up CompactHashtable
Refactored code, and added test cases for serviceability agent

Reviewed-by: jiangli, ccheung
2016-04-17 19:15:52 -07:00
Daniel D. Daugherty
2e49c43a00 Merge 2016-04-14 20:43:16 -07:00
Daniel D. Daugherty
f6e4fcc556 Merge 2016-04-14 17:42:29 -07:00
Rachel Protacio
35554a995f Merge 2016-04-14 15:38:04 +00:00
Rachel Protacio
aa0d0aa80d Merge 2016-04-14 14:05:09 +00:00
Rachel Protacio
acd52761a2 8152845: Improve PackageEntry and ModuleEntry print methods for future logging
Changed print methods for PackageEntry and ModuleEntry to take an outputStream

Reviewed-by: lfoltan, hseigel, coleenp
2016-04-14 09:46:03 -04:00
Marcus Larsson
7ef647996f Merge 2016-04-14 15:10:50 +02:00
Bengt Rutisson
dc9715ebf1 Merge 2016-04-14 13:31:11 +02:00
Robbin Ehn
e13ecd97b0 8154064: JVMTI trace event crashes
Reviewed-by: sla, stefank
2016-04-14 11:55:28 +02:00
Bengt Rutisson
3bb96580fb 8073321: assert(q > prev_q) failed: we should be moving forward through memory
Reviewed-by: jmasa, mgerdin
2016-04-14 11:17:34 +02:00
Stefan Johansson
e79c2a2d8b 8153745: Avoid spawning G1ParPreserveCMReferentsTask when there is no work to be done
Reviewed-by: brutisso, jmasa, tschatzl
2016-04-14 08:30:37 +02:00
Stefan Johansson
a9e64aa572 8154051: Change G1YoungGenSizer to use UL log_warning instead of warning
Reviewed-by: brutisso, mgerdin
2016-04-14 08:30:15 +02:00
Gerard Ziemski
8e65d33717 Merge 2016-04-14 03:57:13 +00:00
Coleen Phillimore
50a5ba9849 Merge 2016-04-13 23:31:40 +00:00
Derek White
1326ae31c8 8152905: hs_err file is missing gc threads
List the GC threads in the hs_err file in the "Other Threads" section

Reviewed-by: dcubed, coleenp
2016-04-13 17:00:54 -04:00
Gerard Ziemski
f474e970ba 8153039: Command line processing should use mtCommand or mtArguments rather than mtInternal for NMT
Added mtArguments and replaced argument related usages of mtInternal with the new flag.

Reviewed-by: coleenp, gtriantafill
2016-04-13 15:53:46 -05:00
Coleen Phillimore
8e63a10779 8148772: VM crash in nsk/jvmti/RedefineClasses/StressRedefine: assert failed: Corrupted constant pool
8151546: nsk/jvmti/RedefineClasses/StressRedefine fails in hs nightly

ConstantPool::resolve_constant_at_impl() isn't thread safe for MethodHandleInError and MethodTypeInError and Constant pool merging is not thread safe for source_file_name.

Reviewed-by: sspitsyn, dcubed
2016-04-13 12:57:31 -04:00
Nils Eliasson
90d0e9a566 8153013: BlockingCompilation test times out
Task has no invocation count and get stale at once

Reviewed-by: kvn, iveresov, twisti
2016-04-13 14:48:22 +02:00
Nils Eliasson
c8593eff81 8154151: VM crashes with assert "Ensure we don't compile before compilebroker init"
Drop compiles submitted with complevel_none

Reviewed-by: kvn
2016-04-18 11:30:10 +02:00
Mikael Gerdin
b5a7ed16dd Merge 2016-04-13 13:53:05 +02:00
Erik Joelsson
9166e5a215 Merge 2016-04-13 12:11:06 +02:00
Volker Simonis
7e7ae63929 8154087: Fix AIX and Linux/ppc64le after the integration of the new hotspot build
Reviewed-by: erikj, goetz
2016-04-13 11:13:14 +02:00
Derek White
8423e2c392 8149405: OOM Error running java/lang/invoke/MethodHandlesTest.java on windows-x86
Add missing ResourceMarks to release memory more quickly.

Reviewed-by: jmasa, kbarrett
2016-04-12 14:46:02 -04:00
Mikael Gerdin
89282b0c72 8153834: G1 Card table verification fails due to concurrent region cleanup
Reviewed-by: ehelin, tschatzl
2016-04-12 14:03:31 +02:00
Stefan Karlsson
e0d0903059 Merge 2016-04-12 09:08:48 +00:00
Stefan Karlsson
f78228b2ee 8153967: Remove top.hpp
Reviewed-by: coleenp, jwilhelm
2016-04-12 09:53:43 +02:00
Stefan Karlsson
cf254af2fb 8152491: Convert TracePageSizes to use UL
Reviewed-by: sjohanss, pliden
2016-04-12 07:17:44 +02:00
Alejandro Murillo
45b6e4a1ca Merge 2016-04-11 14:21:25 -07:00
Marcus Larsson
8b2f63bd2b 8146879: Add option for handling existing log files in UL
Reviewed-by: dsamersoff, gziemski, rehn
2016-04-11 12:22:09 +02:00
Mikael Gerdin
19cd9b20e8 8153843: G1CardLiveDataHelper incorrectly sets next_live_bytes on dead humongous regions
Reviewed-by: drwhite, tschatzl
2016-04-11 09:49:10 +02:00
Robbin Ehn
1afb9e9427 8153845: UL log write method missing essential assert
Reviewed-by: mlarsson, brutisso
2016-04-11 09:45:03 +02:00
Stefan Karlsson
3200059098 8153659: Create a CHeap backed LogStream class
Reviewed-by: brutisso, mlarsson
2016-04-11 08:51:53 +02:00
Stefan Karlsson
dab21ebd4d 8153658: Redundant memory copy in LogStreamNoResourceMark
Reviewed-by: kbarrett, jmasa
2016-04-11 08:51:53 +02:00
Stefan Karlsson
388236cc3d 8152962: CMSCollector::shouldConcurrentCollect incorrectly logs against the debug stream
Reviewed-by: brutisso, sjohanss
2016-04-11 08:51:53 +02:00
Stefan Karlsson
2ca745d47a 8152639: ResourceMark missing in reportFreeListStatistics
Reviewed-by: pliden, sjohanss
2016-04-11 08:51:53 +02:00
Stefan Karlsson
71bcff35cf 8153742: Move Thread::current() to thread.hpp
Reviewed-by: coleenp, jmasa
2016-04-11 08:51:53 +02:00
Max Ockner
da8b3bf9a7 Merge 2016-04-12 00:24:39 +02:00
Jesper Wilhelmsson
2497c61bc6 Merge 2016-04-11 20:16:35 +02:00
Max Ockner
ac0824cbad 8152468: PrintMiscellaneous in constantPool should use classresolve logging
Some instances of PrintMiscellaneous have ben replaced by classresolve logging.

Reviewed-by: coleenp, rprotacio
2016-04-11 11:33:52 -04:00
Dmitry Samersoff
9aad06b66d Merge 2016-04-11 10:06:19 +00:00
David Holmes
7b27547030 8151322: Implement os::set_native_thread_name() on Solaris
Reviewed-by: sla, kbarrett, gziemski
2016-04-10 21:34:47 -04:00
Chris Hegarty
b7075c2db9 8153737: Unsupported Module
Reviewed-by: alanb, mchung, psandoz
2016-04-09 23:03:39 +01:00
Chris Hegarty
39e36bdf78 8153498: Update the PostVMInitHook mechanism to use an internal package in the base module
Reviewed-by: alanb, lfoltan
2016-04-09 23:03:25 +01:00
Coleen Phillimore
6cec4d5047 Merge 2016-04-09 08:34:51 -04:00
Coleen Phillimore
e9a1251fb3 8033735: make Throwable.backtrace visible to Class.getDeclaredField again
Removed old hack to workaround an old crash.

Reviewed-by: hseigel, twisti, mchung
2016-04-08 19:39:32 -04:00
Bharadwaj Yadavalli
cecf2d83d5 Merge 2016-04-08 12:36:27 -04:00
Robbin Ehn
e1a8c2d197 8153731: Increase max tag combinations for UL expression (config)
Reviewed-by: stefank, mlarsson
2016-04-08 15:36:34 +02:00
Frederic Parain
890207217f 8146093: [sparc only] compiler/interpreter/7116216/StackOverflow.java Program terminates with signal 11, Segmentation fault. in __1cLRegisterMap2t6MpnKJavaThread_b_v_ ()
Reviewed-by: dcubed, coleenp
2016-04-08 00:38:00 -07:00
Calvin Cheung
28edd79d64 8145221: Use trampolines for i2i and i2c entries in Methods that are stored in CDS archive
This optimization reduces the size of the RW region of the CDS archive. It also reduces the amount of pages in the RW region that are actually written into during runtime.

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Goetz Lindenmaier <goetz.lindenmaier@sap.com>
Reviewed-by: dlong, iklam, jiangli
2016-04-07 22:03:04 -07:00
Brent Christian
2d2abce433 8153123: Streamline StackWalker code
Reviewed-by: coleenp, dfuchs, mchung, redestad
2016-04-08 12:26:29 -07:00
Bharadwaj Yadavalli
1e6ac67ecf 8153816: [BACKOUT] Make intrinsics flags diagnostic
Backout fix for 8145348

Reviewed-by: kvn, jwilhelm
2016-04-08 01:00:10 -04:00
Sangheon Kim
25f35cda7d 8152182: Possible overflow in initialzation of _rescan_task_size and _marking_task_size
Add constraints for CMSRescanMultiple and CMSConcMarkMultiple flags

Reviewed-by: jwilhelm, jmasa
2016-04-07 15:34:21 -07:00
Sangheon Kim
10c7cac93e 8152180: SIGFPE in CMSCollector::preclean with big CMSScheduleRemarkSamplingRatio
Rephrased the calculation routine to avoid an overflow for CMSScheduleRemarkSamplingRatio

Reviewed-by: jwilhelm, drwhite
2016-04-07 15:33:25 -07:00
Coleen Phillimore
c66cf8bde7 Merge 2016-04-07 21:24:12 +00:00
Coleen Phillimore
0d3e7977ae 8151939: VM_Version_init() print buffer is too small
Increase buffer size, use logging to print out version and os information

Reviewed-by: kvn, rprotacio, mockner
2016-04-07 16:37:35 -04:00
Daniel D. Daugherty
4f3b1c9ed5 Merge 2016-04-07 12:54:48 -07:00
Rachel Protacio
02d268d760 8152896: Convert PrintCompressedOopsMode to Unified Logging
Converted -XX:+PrintCompressedOopsMode to -Xlog:gc+heap+coops and aliased old option

Reviewed-by: coleenp, sjohanss, kvn, hseigel
2016-04-07 13:11:15 -04:00
Daniel D. Daugherty
4397e85e26 Merge 2016-04-07 09:47:48 -07:00
Martin Doerr
611e659be1 8153267: nmethod's exception cache not multi-thread safe
Reviewed-by: aph, jcm, kvn
2016-04-07 12:33:58 +02:00
Zoltan Majo
cd3197f341 8151708: C1 FastTLABRefill can allocate TLABs past the end of the heap
Use branch instruction that checks xcc instead of icc.

Reviewed-by: kvn, thartmann
2016-04-15 07:54:31 +02:00
Fei Yang
8215de72f5 8153713: aarch64: improve short array clearing using store pair
Aarch64: generate store pair instruction to clear short arrays

Reviewed-by: aph
2016-04-12 11:53:44 +08:00
Tobias Hartmann
63403a410e 8154073: Several compiler tests fail when are executed with C1 only
Added missing flag checks to the tests and Whitebox API.

Reviewed-by: kvn
2016-04-14 08:32:39 +02:00
Vladimir Kozlov
e33bf84754 8153818: Move similar CompiledIC platform specific code to shared code
Reviewed-by: iveresov, twisti
2016-04-12 17:12:51 -07:00
Igor Veresov
eb6d600333 8153115: Move private interface check to linktime
Check for private interface methods during linktime instead of runtime

Reviewed-by: kvn, never, coleenp, acorn, lfoltan
2016-04-12 14:55:18 -07:00
Bharadwaj Yadavalli
b2ead5ac2d Merge 2016-04-12 14:17:42 -04:00
Antonios Printezis
f22c068365 8152312: ParNew: Restore preserved marks in parallel
Reviewed-by: tschatzl
2016-04-07 10:55:54 +02:00
Calvin Cheung
c282f25964 8152329: jvm should treat the "Multi-Release" jar manifest attribute name as case insensitive
Reviewed-by: iklam, jiangli, mseledtsov
2016-04-06 11:40:45 -07:00
Filipp Zhinkin
6b6686bd43 8149374: Replace C1-specific collection classes with universal collection classes
Reviewed-by: kvn, mgerdin, coleenp
2016-04-06 18:51:03 +03:00
Vladimir Ivanov
7fc81004e3 8152590: C2: @Stable support doesn't always work w/ incremental inlining
Reviewed-by: kvn
2016-04-11 21:42:55 +03:00
Vladimir Ivanov
0c233de7ff 8138861: C2 complains about unreasonably large method running Octane zlib in Nashorn
Reviewed-by: kvn
2016-04-11 21:42:31 +03:00
Long Chen
19d90c789d 8153797: aarch64: Add Arrays.fill stub code
Reviewed-by: aph
2016-04-07 22:36:16 +00:00
Doug Simon
1131e05b66 8153439: do not install an empty SpeculationLog in an nmethod
Reviewed-by: iveresov, twisti
2016-04-07 08:57:26 -10:00
Tobias Hartmann
a6c687cd6a 8153514: Whitebox API should allow compilation of <clinit>
Added Whitebox API method to trigger compilation of static initializer.

Reviewed-by: zmajo, kvn, iignatyev
2016-04-07 16:51:37 +02:00
Rahul Raghavan
28e72b2675 8149488: Incorrect declaration of bitsInByte in regmask.cpp
Corrected BITS_IN_BYTE_ARRAY_SIZE value as 256 for all bitsInByte usage.

Reviewed-by: dlong, mcberg, thartmann, vlivanov
2016-04-07 01:56:16 -07:00
Harold Seigel
27216177ce Merge 2016-04-06 16:03:02 +02:00
Yasumasa Suenaga
af3081628b 8152435: (CL)HSDB should be started with no argument
Reviewed-by: dsamersoff
2016-04-06 20:43:03 +09:00
Thomas Schatzl
a009aa9ca7 8151386: Extract card live data out of G1ConcurrentMark
Move card live data management out of G1ConcurrentMark into extra class G1CardLiveData managed by G1RemSet

Reviewed-by: mgerdin, kbarrett
2016-04-06 13:41:59 +02:00
Harold Seigel
2904ea7d45 8152846: Creation of ModuleEntryTable Investigate Need For OrderAccess::storestore()
Remove the unneeded OrderAccess::storestore() call

Reviewed-by: acorn, coleenp
2016-04-06 07:37:15 -04:00
Thomas Schatzl
0c06163b35 8077144: Concurrent mark initialization takes too long
Remove per-marking thread liveness bitmaps and recreate liveness bitmap concurrently after the cleanup pause.

Reviewed-by: mgerdin, ehelin, kbarrett
2016-04-06 13:32:48 +02:00
Sangheon Kim
7908c3db94 8152188: Allow CMSBitMapYieldQuantum for BitMap::clear_range and clear_large_range
Let BitMap::clear_large_range call clear_range instead of firing an assert

Reviewed-by: jmasa, jwilhelm
2016-04-05 16:15:53 -07:00
Bharadwaj Yadavalli
cf5871861f Merge 2016-04-05 20:32:54 +00:00
Bharadwaj Yadavalli
e258fc4bc7 Merge 2016-04-05 15:39:35 -04:00
Michael Berg
e38aef947f 8151003: Remove nds->is_valid() checks from assembler_x86.cpp
Reviewed-by: kvn
2016-04-05 11:37:41 -07:00
Michael Berg
ff80cc58c9 8151573: Multiversioning for range check elimination
Range check elimination in post loops

Reviewed-by: kvn
2016-04-05 10:34:05 -07:00
Tobias Hartmann
9ee03a4b4f 8151724: Remove -XX:GenerateCompilerNullChecks
Removed the broken GenerateCompilerNullChecks flag.

Reviewed-by: zmajo, kvn
2016-04-05 17:51:44 +02:00
Tom Benson
4f0ffb6ce9 8153117: Back out JDK-8142935 until JDK-8152723 fixed
JDK-8142935 fix can lead to avoidable Full GCs

Reviewed-by: jwilhelm, tschatzl
2016-04-05 11:17:50 -04:00
Rachel Protacio
d077700179 8153026: Change logging tag 'verboseverification' to 'verification'
Changed UL tag to 'verification'

Reviewed-by: hseigel, lfoltan
2016-04-05 09:42:27 -04:00
Richard Reingruber
9438549080 8153176: ParOldGC: Use correct TaskQueueSet for ParallelTaskTerminator in marking
Reviewed-by: mgerdin, tschatzl
2016-04-05 13:55:31 +02:00
Tobias Hartmann
edee2ddca8 Merge 2016-04-05 10:11:07 +00:00
Thomas Schatzl
fa7ae5825a Merge 2016-04-05 12:10:03 +02:00
Thomas Schatzl
d77d2cc010 8151499: gc/g1/g1OopClosures.inline.hpp: assert(_from->is_in_reserved(p)) failed: p is not in from
Fix wrong assertion.

Reviewed-by: tbenson, shade
2016-04-05 11:22:20 +02:00
Stefan Karlsson
621ac24c59 Merge 2016-04-05 11:00:22 +02:00
Jamsheed Mohammed C M
b26b78a4d4 8067247: Crash: assert(method_holder->data() == 0 ...) failed: a) MT-unsafe modification of inline cache
Made invoker LambdaForm instance & its compiled form lifetime tightly coupled.

Reviewed-by: vlivanov
2016-04-05 01:46:40 -07:00
Robbin Ehn
16988281fc 8153396: Remove unused ResourceMarks from UL internal vm tests
Reviewed-by: stefank, brutisso
2016-04-05 10:42:01 +02:00
Stefan Karlsson
ccf6f713e8 8152711: Create a non-template Log wrapper class
Reviewed-by: kbarrett, rehn
2016-04-05 10:41:52 +02:00
Stefan Karlsson
6c4d96782c 8152637: Create a stack allocatable LogStream class
Reviewed-by: rehn, brutisso
2016-04-05 10:35:39 +02:00
Per Lidén
07299d4428 8152929: Remove UNSUPPORTED_GC_OPTION, use UNSUPPORTED_OPTION instead
Reviewed-by: brutisso, jmasa
2016-04-05 09:05:19 +02:00
Tobias Hartmann
36e384c810 8074553: Crash with assert(!is_unloaded()) failed: should not call follow on unloaded nmethod
Sweeper thread needs to override nmethods_do() to prevent G1 from unloading _scanned_nmethod.

Reviewed-by: kvn, mgerdin
2016-04-05 07:19:44 +02:00
Daniel D. Daugherty
2e87e3178c 8152358: code and comment cleanups found during the hunt for 8077392
Reviewed-by: gthornbr, kvn, cvarming
2016-04-04 14:49:19 -07:00
Daniel D. Daugherty
66570c722b 8077392: Stream fork/join tasks occasionally fail to complete
8131715: backout the fix for JDK-8079359 when JDK-8077392 is fixed

Add missing BasicLock::_displaced_header init to ObjectSynchronizer::quick_enter() and re-enable Contended Locked "fast enter" bucket.

Reviewed-by: gthornbr, dholmes, kvn, cvarming, acorn
2016-04-04 14:41:00 -07:00
Alejandro Murillo
2b06e96dc0 Merge 2016-04-04 13:40:18 -07:00
Joseph Provino
5cef85023b 8132524: Missing includes to resourceArea.hpp
Files that use ResourceMark are missing the include of resourceArea.hpp

Reviewed-by: tschatzl, jwilhelm
2016-04-04 12:57:48 -04:00
Robbin Ehn
58419856b3 8153254: Delegate (v)write from Log to LogTagSet
Reviewed-by: stefank, kbarrett
2016-04-04 15:05:52 +02:00
Zoltan Majo
69d14c811b 8072422: Cleanup: Remove some unused flags/code in loop optimizations
Remove unused flags, change test using them.

Reviewed-by: kvn, twisti
2016-04-04 12:52:11 +02:00
Stefan Karlsson
65a3b7e6b3 8152635: Create a UL class to represent a Log + Level combination
Reviewed-by: brutisso, mlarsson, rehn
2016-04-04 12:45:04 +02:00
Stefan Karlsson
64efc0eb0f Merge 2016-04-04 11:32:04 +02:00
Marcus Larsson
e5135d3d4a Merge 2016-04-04 09:59:57 +02:00
Stefan Karlsson
15c4140ae5 8152632: Rename LogHandle(...) to Log(...)
Reviewed-by: brutisso, mlarsson, rprotacio
2016-04-04 09:15:15 +02:00
Stefan Karlsson
ff771a6686 8152538: UL doesn't inline the LogTagSet::is_level check
Reviewed-by: mlarsson, brutisso
2016-04-04 09:15:01 +02:00
Marcus Larsson
12eaa83e0e 8153174: Remove trailing comma from log configuration listings
Reviewed-by: rehn, sla
2016-04-04 08:58:38 +02:00
Tom Rodriguez
fa667c5409 8153315: [JVMCI] evol_method dependencies failures should return dependencies_failed
Reviewed-by: iveresov
2016-04-03 21:44:54 -07:00
Chris Hegarty
721765cda0 8153181: Move sun.misc.VMSupport to an internal package
Reviewed-by: alanb, mchung
2016-04-03 16:28:47 +01:00
Jesper Wilhelmsson
ee442d71e1 Merge 2016-04-02 05:39:25 +02:00
Daniel D. Daugherty
a6c899150e Merge 2016-04-01 14:34:17 -07:00
Daniel D. Daugherty
8076bee28c 8153302: [BACKOUT] STW phases at Concurrent GC should count in PerfCounter
Reviewed-by: jmasa, jwilhelm
2016-04-01 14:30:10 -07:00
Jon Masamitsu
d650ab04e2 8150994: UseParallelGC fails with UseDynamicNumberOfGCThreads with specjbb2005
Reviewed-by: tschatzl, kbarrett
2016-04-01 12:32:34 -07:00
Sangheon Kim
a9176a6796 8153201: TestOptionsWithRanges fails with -XX:OldPLABSize=2147483648
Add parallel gc into min/max PLAB constraint function

Reviewed-by: brutisso, tbenson
2016-04-01 09:45:50 -07:00
Sangheon Kim
a868617af7 8152176: Big ParGCCardsPerStrideChunk values can cause overflow for CMS GC
Limit the max value of ParGCCardsPerStrideChunk based on card table size and other stride flags

Reviewed-by: jmasa, tbenson
2016-04-01 09:43:13 -07:00
Thomas Schatzl
9be0552a61 Merge 2016-04-01 12:46:06 +02:00
Thomas Schatzl
7fb0e65901 8153193: Missing includes in gc/g1/heapRegionBounds.hpp
Reviewed-by: jwilhelm, brutisso
2016-04-01 12:00:09 +02:00
Thomas Schatzl
166d473e2e 8153182: GC ID prefix for gc, humongous log messages are missing
Reviewed-by: mgerdin, brutisso
2016-04-01 11:58:45 +02:00
Thomas Schatzl
f8070cc44a 8148099: Improve memory access to FromCardCache during GC
Transpose the FromCardCache data array so the access during GC is linear instead of element-by-element with stride.

Reviewed-by: mgerdin, brutisso
2016-04-01 11:57:58 +02:00
Tobias Hartmann
f571030571 Merge 2016-04-01 08:46:47 +00:00
Rahul Raghavan
2630177fdc 8150690: C++11 user-defined literal syntax in jvmciCompilerToVM.cpp
Changes done for - 'C++11 requires a space between literal and identifier'.

Reviewed-by: twisti
2016-04-01 01:34:00 -07:00
Cheleswer Sahu
6f3cb076c4 8151442: jstack doesn't close quotation marks properly with threads' name greater than 1996 characters
Reviewed-by: dsamersoff, kevinw
2016-04-01 13:51:29 +05:30