3105 Commits

Author SHA1 Message Date
Gerard Ziemski
a043febf6f 8184765: Dynamically resize SystemDictionary
Implemented dynamic resizing, which triggers when load factor is too high

Reviewed-by: coleenp, rehn
2017-11-02 11:00:34 -05:00
Thomas Stuefe
0f101e2c7f 8189864: Provide an ascii map to visualize metaspace fragmentation
Reviewed-by: goetz, coleenp
2017-10-24 14:34:14 +02:00
Jiangli Zhou
c2d94a0073 8189840: CheckCachedResolvedReferencesApp has no cached resolved references
Add WhiteBox.areOpenArchiveHeapObjectsMapped() for CheckCachedResolvedReferencesApp to check and skip test when open archive heap objects are not mapped.

Reviewed-by: iklam, ccheung
2017-11-07 18:48:17 -05:00
Chris Plummer
5865d3062f 8059334: nsk/jvmti/scenarios/hotswap/HS201/hs201t001 fails with exit code 0 after timeout
Check if we are in "interp only" mode before returning an nm for an OSR request

Reviewed-by: sspitsyn, dcubed, kvn
2017-11-07 14:13:18 -08:00
Zhengyu Gu
92ae7c8cfd 8189688: NMT: Report per-class load metadata information
Report per-class loader metadata info via NMT jcmd metadata sub-command

Reviewed-by: stuefe, coleenp
2017-11-07 09:37:45 -05:00
Bob Vandette
75d5090c81 8190283: Default heap sizing options select a MaxHeapSize larger than available physical memory in some cases
Reviewed-by: tschatzl, sjohanss
2017-11-07 10:30:53 -05:00
Jamsheed Mohammed C M
10a1edcc22 8152470: Add COMPILER2_OR_JVMCI definition
Defined(COMPILER2) || INCLUDE_JVMCI changed replaced with COMPILER2_OR_JVMCI

Reviewed-by: kvn
2017-11-06 21:28:03 -08:00
Dean Long
c8aacd3972 8190710: Update Graal
Reviewed-by: kvn
2017-11-06 20:29:49 -08:00
Jiangli Zhou
545e8eb333 8184206: Resolve all string constants in shared classes at CDS dump time
Change ConstantPool::resolve_class_constants() to resolve all string constants.

Reviewed-by: iklam, coleenp
2017-11-06 14:12:37 -05:00
Doug Simon
40cdb9fd60 8187315: [JVMCI] hosted use of JVMCI can crash VM under -Xint
Reviewed-by: kvn, dlong
2017-11-06 21:38:42 +01:00
Jesper Wilhelmsson
7884ab9ccf Merge 2017-10-30 21:23:10 +01:00
Ioi Lam
e78d4c3cb6 8179624: [REDO] Avoid repeated calls to JavaThread::last_frame in InterpreterRuntime
Fixed typo in the original patch (8179305)

Reviewed-by: dlong, coleenp
2017-10-26 11:35:09 -07:00
Volker Simonis
426e7951aa 8187091: ReturnBlobToWrongHeapTest fails because of problems in CodeHeap::contains_blob()
Reviewed-by: kvn
2017-11-01 12:56:48 -07:00
Dmitry Chuyko
ca70374a3d 8189745: AARCH64: Use CRC32C intrinsic code in interpreter and C1
Reviewed-by: aph
2017-11-01 16:48:12 +03:00
Coleen Phillimore
e908052a71 8189610: Reconcile jvm.h and all jvm_md.h between java.base and hotspot
Removed hotspot version of jvm*h and jni*h files.

Reviewed-by: ihse, mchung, dholmes
2017-10-31 11:55:09 -04:00
Robin Westberg
b36ba5ff60 8189368: Add information on current bias holder for BiasedLockRevocation event
Reviewed-by: mgronlun, dholmes, egahlin
2017-10-30 16:37:53 +01:00
Ioi Lam
a422994296 8190191: Subclasses of jdk.jfr.Event loaded from CDS breaks -XX:FlightRecorderOptions=retransform=false
Do not archive these classes

Reviewed-by: jiangli, sspitsyn
2017-10-29 18:13:18 -07:00
Leo Korinth
97d1978c0f 8177959: G1CollectedHeap::print_on prints incorrect capacity
Reviewed-by: sjohanss, ehelin, pliden
2017-10-27 11:44:56 +02:00
Vladimir Kozlov
d378db4d76 Merge 2017-10-27 08:55:32 +00:00
Vladimir Kozlov
0bf8a0fc34 8189064: Crash with compiler/codegen/*Vect.java on Solaris-sparc
Unconditionally call cl->mark_loop_vectorized() when vectors are generated

Reviewed-by: thartmann
2017-10-27 01:09:57 -07:00
Sangheon Kim
4101ba9a13 8185278: TestGreyReclaimedHumongousObjects.java fails guarantee(index != trim_index(_head_index + 1)) failed: should not go past head
Add STS to avoid MMU concurrency problem between VM Thread and Concurrent Mark Thread

Reviewed-by: tschatzl, ehelin
2017-10-26 21:30:48 -07:00
Roland Westrelin
3a205924e4 8188151: "assert(entry_for(catch_pco, handler_bcis->at(i), scope_depth)->pco() == handler_pcos->at(i))" failure with C1
Reviewed-by: kvn, dlong
2017-10-10 14:05:04 +02:00
Jamsheed Mohammed C M
82a1334ded 6523512: has_special_runtime_exit_condition checks for is_deopt_suspend needlessly
Removed is_deopt_suspend() from has_special_runtime_exit_condition checks

Reviewed-by: dlong, thartmann
2017-10-26 05:59:15 -07:00
Igor Veresov
548d5d4d9d 8166750: C1 profiling handles statically bindable call sites differently than the interpreter
Optimize profiling of statically binable call sites. Add monomorphic profile fixup to JVMCI MDO API.

Reviewed-by: dnsimon, kvn
2017-10-25 16:30:31 -07:00
Thomas Schatzl
bdb82eb577 8189797: Fix initializer lists in G1ConcurrentMark and G1CMTask
Reviewed-by: kbarrett
2017-10-25 16:15:10 +02:00
Thomas Schatzl
1eabe47e62 8189673: Consistent naming of concurrent threads, tasks and related identifiers
Reviewed-by: sjohanss, drwhite
2017-10-25 16:13:09 +02:00
Thomas Schatzl
c66290985d 8189801: Remove G1MarkingOverheadPercent
Remove obsolete and buggy functionality related to G1MarkingOverheadPercent

Reviewed-by: sjohanss
2017-10-25 16:12:15 +02:00
Tobias Hartmann
f8843b83da 8188785: CCP sets invalid type for java mirror load
Added special case for java mirror load to propagate correct type information.

Reviewed-by: kvn
2017-10-25 08:37:41 +02:00
Dean Long
ef5b012bf4 8189649: AOT: assert(caller_frame.cb()->as_nmethod_or_null() == cm) failed: expect top frame nmethod
Reviewed-by: kvn
2017-10-23 21:49:48 -07:00
Coleen Phillimore
3ba67ae4df 8189794: Assert in InstanceKlass::cast called from Exceptions::new_exceptions
Fix call to InstanceKlass::cast to only be after verifying class is non-null.

Reviewed-by: dholmes, sspitsyn
2017-10-24 08:29:00 -04:00
Volker Simonis
a5d5806cb4 8166317: InterpreterCodeSize should be computed
Reviewed-by: kvn, coleenp
2017-09-04 19:50:01 +02:00
Roman Kennke
7030019135 8171853: Remove Shark compiler
Reviewed-by: dholmes, kvn, erikj, ihse
2017-10-15 22:54:03 +02:00
Roland Westrelin
50c759f20e 8188223: IfNode::range_check_trap_proj() should handler dying subgraph with single if proj
Reviewed-by: kvn
2017-10-18 16:06:39 +02:00
Harold Seigel
99bf982432 8174954: Parameter target type is allowed access after a module read edge or a package export has occurred after failed resolution
Store resolution exception in resolution_error table and set flag in cpCache indicating resolution failed.

Reviewed-by: acorn, jrose, dholmes, lfoltan
2017-10-23 10:42:26 -04:00
Thomas Schatzl
6787fc889f Merge 2017-10-23 10:45:07 +00:00
Thomas Schatzl
be94d0ee28 8189729: Change _perc suffixes in identifiers to _percent
Reviewed-by: sjohanss, ehelin
2017-10-23 11:46:54 +02:00
Thomas Schatzl
824e776c37 8189665: Change id parameter of G1ConcurrentMark::task() to uint
Reviewed-by: sangheki, sjohanss
2017-10-23 11:46:38 +02:00
Thomas Schatzl
793aa8d8ce 8189666: Replace various inlined percentage calculations with global percent_of()
Reviewed-by: sjohanss, sangheki
2017-10-23 11:46:25 +02:00
Thomas Schatzl
0757704af2 8184667: Clean up G1ConcurrentMark files
Fix naming, formatting, access control, remove unused code.

Reviewed-by: sjohanss, pliden
2017-10-23 11:46:12 +02:00
Stefan Karlsson
d129d1cdf2 8189748: More precise closures for WeakProcessor::weak_oops_do calls
Reviewed-by: pliden, sjohanss
2017-10-23 11:20:53 +02:00
David Holmes
817d6bc039 8189776: Remove dead code in jvm.cpp: force_verify_field_access
Reviewed-by: redestad
2017-10-23 03:15:19 -04:00
Ioi Lam
41796c1066 8185160: -XX:DumpLoadedClassList omits graal classes
Reviewed-by: jiangli, dholmes, lfoltan
2017-10-21 15:15:46 -07:00
Serguei Spitsyn
ba7368fbd6 Merge 2017-10-21 00:06:50 +00:00
Yasumasa Suenaga
c4706f598d 8151815: Could not parse core image with JSnap
Reviewed-by: dholmes, sspitsyn
2017-10-21 07:00:23 +09:00
Dean Long
e7270b8965 8132547: [AOT] support invokedynamic instructions
Reviewed-by: iveresov, kvn
2017-10-19 19:23:48 -07:00
Goetz Lindenmaier
963e8da9b7 8185712: [windows] Improve native symbol decoder
Reviewed-by: goetz, iklam, zgu
2017-09-20 15:12:11 +02:00
Leo Korinth
41e6dbe988 8149137: Remove _DISABLE_MMU define from G1MMUTracker
Reviewed-by: ehelin, sjohanss
2017-10-19 14:36:40 +02:00
David Holmes
1f5def259c Merge 2017-10-20 01:40:08 +00:00
Roman Kennke
82fcfbfbc4 8189373: jmap -heap exited with error code
Add CMSHeap related bits to SA code

Reviewed-by: dholmes, jgeorge
2017-10-19 20:48:31 -04:00
Mandy Chung
7344b46c71 8189193: FindClass should only see classes from the boot loader called from its associated native library
Reviewed-by: coleenp, dholmes
2017-10-19 17:27:34 -07:00