4408 Commits

Author SHA1 Message Date
Robin Westberg
cb07ac64f3 8187042: Events to show which objects are associated with biased object revocations
Reviewed-by: mgronlun, dholmes, egahlin
2017-10-16 18:25:07 +02:00
Erik Gahlin
03f6080cd2 8189274: Allow cutoff attribute for event based tracing
Reviewed-by: mgronlun
2017-10-16 17:48:47 +02:00
Robin Westberg
f4d679fb21 8173917: Safepoint ID is not consistent across event-based tracing events
Reviewed-by: egahlin, mgronlun
2017-10-16 16:44:23 +02:00
Roman Kennke
d19e0c0bb2 8189333: Fix Zero build after Atomic::xchg changes
Reviewed-by: dholmes
2017-10-15 17:37:29 -04:00
Erik Österlund
ebf1633bd2 8185141: Generalize scavengeable nmethod root handling
Reviewed-by: tschatzl, pliden, rkennke
2017-10-13 15:08:56 +02:00
Tobias Hartmann
34622112b6 8189067: SuperWord optimization crashes with "assert(out == prev || prev == __null) failed: no branches off of store slice"
Only move the store if the LCA of all users is outside of the loop. Re-enable UseSubwordForMaxVector.

Reviewed-by: kvn, roland
2017-10-13 14:02:01 +02:00
Roman Kennke
4516caf125 8179387: Factor out CMS specific code from GenCollectedHeap into its own subclass
Reviewed-by: ehelin, coleenp
2017-10-12 15:08:19 +02:00
Sangheon Kim
c56b6c1c4f 8186465: Each j.l.Reference elapsed time log is incorrect
Fixed wrongly referencing variable and updated regression test to compare each elapsed time vs. sum of those

Reviewed-by: stefank, tschatzl
2017-09-28 12:13:57 -07:00
Harold Seigel
38378b4f12 Merge 2017-09-28 17:10:36 +00:00
Harold Seigel
87e30fd801 8186092: Unnecessary loader constraints produced when there are multiple defaults
Do not check loader constraints for overpass methods

Reviewed-by: dholmes, acorn
2017-09-28 13:01:24 -04:00
Zhengyu Gu
c4ba1b52b3 8186770: NMT: Report metadata information in NMT summary
Added metadata statistics in NMT summary report

Reviewed-by: adinn, coleenp
2017-09-28 09:56:54 -04:00
Erik Österlund
394e6a8318 8186838: Generalize Atomic::inc/dec with templates
Reviewed-by: kbarrett, coleenp, dholmes
2017-09-26 14:05:27 +02:00
Tobias Hartmann
e840fdf694 8187780: VM crashes while generating replay compilation file
Fixed two problems with generation of replay file.

Reviewed-by: kvn
2017-09-28 11:02:55 +02:00
Jiangli Zhou
61e3ad18c6 Merge 2017-09-28 01:01:42 +00:00
Jiangli Zhou
ba16fabd20 8186789: CDS dump crashes at ConstantPool::resolve_class_constants
ConstantPool::resolve_class_constants needs to check for NULL _cache.

Reviewed-by: sspitsyn, coleenp, iklam
2017-09-27 20:40:33 -04:00
Jiangli Zhou
92ad2630a1 8068314: "Java fields that are currently set during shared space dumping" comment is incorrect
CDS dump time should also initialize preallocated out_of_memory error messages.

Reviewed-by: iklam, hseigel
2017-09-27 17:55:20 -04:00
John Paul Adrian Glaubitz
da300604af 8186578: Zero fails to build on linux-sparc due to sparc-specific code
Reviewed-by: kbarrett, ihse, coleenp
2017-09-27 17:01:34 +02:00
Stefan Johansson
52c73dd8a9 8184286: print_tracing_info() does not use Unified Logging for output
Reviewed-by: ehelin, sangheki
2017-09-21 14:32:05 +02:00
Coleen Phillimore
b9f1af71e5 Merge 2017-09-26 21:12:39 +00:00
Chris Plummer
7b36f7835a Merge 2017-09-26 17:11:39 +00:00
Chris Plummer
3dc45c1157 Merge 2017-09-26 16:47:46 +00:00
Harold Seigel
b670fc288c Merge 2017-09-26 16:04:40 +00:00
Coleen Phillimore
03d1c13fa3 8081323: ConstantPool::_resolved_references is missing in heap dump
Add resolved_references and init_lock as hidden static field in class so root is found.

Reviewed-by: hseigel, jiangli, sspitsyn
2017-09-26 10:03:17 -04:00
Harold Seigel
2781cf9c38 8187436: -Xbootclasspath/a causes sanity check assertion with exploded build
Fixed asserts to work properly with exploded build

Reviewed-by: alanb, jiangli, gtriantafill
2017-09-26 08:58:04 -04:00
Zhengyu Gu
8969bd19e0 8187629: NMT: Memory miscounting in compiler (C2)
Fixed memory counting in compiler (C2)

Reviewed-by: adinn, cjplummer, kvn
2017-09-25 11:56:21 -04:00
Zhengyu Gu
03dacaa881 8187331: VirtualSpaceList tracks free space on wrong node
Fixed miscounting of virtual space node's free memory

Reviewed-by: shade, coleenp, stuefe
2017-09-20 20:54:29 -04:00
Yang Zhang
27d7667a34 8181633: Vectorization fails for some multiplication with constant cases
Reviewed-by: kvn
2017-06-20 16:25:53 +08:00
Roland Westrelin
eb10d407d3 8191887: assert(b->is_Bool()) in PhaseIdealLoop::clone_iff() due to Opaque4 node
Add special handling for graph shape If->Opaque4->Bool->CmpP

Reviewed-by: kvn
2017-11-27 16:05:11 -08:00
Sangheon Kim
8a150bbd05 8178497: Bug in MutableNUMASpace::ensure_parsability
Changed problematic variable type from intptr_t to HeapWord*

Reviewed-by: tschatzl, sjohanss
2017-11-27 13:19:08 -08:00
Roland Westrelin
1c25161036 8191153: assert(u_ctrl != blk1 && u_ctrl != blk2) failed: won't converge
Relax assert

Reviewed-by: kvn
2017-11-27 10:44:19 -08:00
Per Lidén
bfc0314e87 8191864: Provide a public destructor for WorkGang
Reviewed-by: stefank, sjohanss
2017-11-27 13:50:03 +01:00
Rahul Raghavan
250c05ee4c 8191227: issues with unsafe handle resolution
Added ThreadInVMfromNative or ThreadInVMfromUnknown support

Reviewed-by: thartmann, vlivanov
2017-11-27 03:11:38 -08:00
Tobias Hartmann
925a508b2b 8087339: The code heap might use different alignment for committed size and reserved size
InitialCodeCacheSize should not constrain code cache memory alignment.

Reviewed-by: kvn
2017-11-27 11:41:00 +01:00
Tobias Hartmann
d54de52f13 8179026: Remove explicit code cache options processing
Removed explicit processing of code cache related options because generic processing already handles these.

Reviewed-by: kvn
2017-11-27 11:39:21 +01:00
Erik Helin
01e9cb7e23 8080345: With perm gen gone, perfdata counter sun.gc.policy.generations should be 2, not 3
Co-authored-by: Y. Srinivas Ramakrishna <ysr1729@gmail.com>
Reviewed-by: sjohanss, tschatzl
2017-11-27 10:51:31 +01:00
Stefan Karlsson
677e5bdaed 8191861: Move and refactor hSpaceCounters
Reviewed-by: pliden, ehelin, rkennke
2017-11-24 15:48:01 +01:00
Stefan Karlsson
dbc915dcb9 8191860: Add perfData.inline.hpp
Reviewed-by: ehelin, pliden
2017-11-24 15:21:30 +01:00
Stefan Karlsson
5fd6905c94 8191858: Add missing includes in memoryManager.hpp
Reviewed-by: ehelin, tschatzl, pliden
2017-11-24 15:21:28 +01:00
David Holmes
50f5bcbc03 8191707: Options with invalid values are incorrectly treated as obsolete and ignored
Reviewed-by: rehn, dcubed
2017-11-24 14:07:59 +01:00
Daniel D. Daugherty
4fd0863d06 Merge 2017-11-23 19:42:56 -08:00
Daniel D. Daugherty
e2d4899be6 Merge 2017-11-23 06:01:57 -08:00
Stefan Johansson
d21c547b0e 8189733: Cleanup Full GC setup and tear down
Reviewed-by: tschatzl, ehelin
2017-11-23 09:53:53 +01:00
Daniel D. Daugherty
0dff96ff0b 8167108: inconsistent handling of SR_lock can lead to crashes
Add Thread Safe Memory Reclamation (Thread-SMR) mechanism.

Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Reviewed-by: coleenp, dcubed, dholmes, eosterlund, gthornbr, kbarrett, rehn, sspitsyn, stefank
2017-11-22 17:54:50 -08:00
Thomas Schatzl
faff99f2fc 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
Reviewed-by: sangheki, sjohanss
2017-11-23 15:51:06 +01:00
Thomas Schatzl
c5ce7408b3 8182050: assert(_whole_heap.contains(p)) failed: Attempt to access p out of bounds of card marking array's _whole_heap
Ignore zero-sized MemRegions to invalidate in G1SATBCardTableLoggingModRefBS::invalidate()

Reviewed-by: ehelin, sjohanss
2017-11-23 15:51:06 +01:00
Thomas Schatzl
22d7ce52bb 8179244: Assert failed in instanceMirrorKlass.inline.hpp
Investigate the failure and upon observing that the assert is too strict, disable it and addd a comment.

Reviewed-by: ehelin
2017-11-23 15:51:06 +01:00
Dean Long
a7c84b45b4 8191688: Assert failed in > 200 tests: failed dependencies, but counter didn't change
Reviewed-by: kvn
2017-11-22 09:27:06 -08:00
Volker Simonis
cc3aabe580 8187280: Remove unused methods from StubQueue
Reviewed-by: kvn, kbarrett
2017-11-22 17:57:27 +01:00
Alexander Harlap
cb1ea0fc33 8187819: gc/TestFullGCALot.java fails on jdk10 started with "-XX:-UseCompressedOops" option
Need to initialized metaspace performance counters before their potential use

Reviewed-by: tschatzl, sjohanss
2017-11-16 14:06:44 -05:00
Leo Korinth
d1cbd17c2c 8190408: Run G1CMRemarkTask with the appropriate amount of threads instead of starting up everyone
Reviewed-by: tschatzl, sjohanss
2017-11-13 15:28:17 +01:00