6458 Commits

Author SHA1 Message Date
Jamsheed Mohammed C M
34deb9cc2a 8167409: Invalid value passed to critical JNI function
The tmp  reg used to break the shuffling cycle (handled in ComputeMoveOrder) is set to 64 bit.

Reviewed-by: dlong
2017-11-06 04:14:22 -08:00
Leo Korinth
c2935fa4a4 8186502: Assert when range testing G1RefProcDrainInterval on 64-bit systems
Reviewed-by: sjohanss, sangheki
2017-11-06 09:41:54 +01:00
Doug Simon
18e9e80688 8190415: [JVMCI] JVMCIRuntime::adjust_comp_level must not swallow ThreadDeath
Reviewed-by: never, thartmann
2017-11-06 09:44:42 +01:00
Jamsheed Mohammed C M
ef98509665 8167408: Invalid critical JNI function lookup
Made correction to arg_size calculation in NativeLookup::lookup_critical_entry

Reviewed-by: dholmes, dlong, mdoerr, vlivanov
2017-11-06 00:30:36 -08:00
Dmitry Chuyko
168565de20 8190745: AARCH64: fix for JDK-8189176 may break a build
Add missed semicolon

Reviewed-by: dsamersoff
2017-11-06 00:29:08 +03:00
Erik Gahlin
5a9432a16b 8189440: Event tracing macros for allocation and weak oops processing
Reviewed-by: dholmes, mgronlun
2017-11-05 06:11:10 +01:00
Erik Gahlin
249ea8369e 8189425: Minor updates in support of closed changes
Reviewed-by: mgronlun, dholmes
2017-11-05 03:43:15 +01:00
Calvin Cheung
c39d2071f0 8187347: Do not abort CDS archive creation when some classes are unverifiable
Deprecating the IgnoreUnverifiableClassesDuringDump vm option in JDK10 and set its default value to true

Reviewed-by: dholmes, jiangli
2017-11-03 10:48:26 -07:00
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
Dmitry Chuyko
e878b3272b 8189176: AARCH64: Improve _updateBytesCRC32 intrinsic
Reviewed-by: aph
2017-11-02 18:44:44 +03: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
Patric Hedlin
de5686fe49 8172232: SPARC ISA/CPU feature detection is broken/insufficient (on Linux)
Reimplementation extending feature detection to SPARC Core C3&C4.

Reviewed-by: kvn, neliasso
2017-09-28 14:55:45 +02: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
Martin Doerr
43ac55ed1c 8190285: s390: Some java boolean checks are not correct
Reviewed-by: lucy, coleenp
2017-10-30 17:14:39 +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
Jamsheed Mohammed C M
f7bcc70f27 Merge 2017-10-24 14:53:03 +00:00
Jamsheed Mohammed C M
dc50d0a8b2 8168712: [AOT] assert(false) failed: DEBUG MESSAGE: InterpreterMacroAssembler::call_VM_base: last_sp != NULL
Skip the assert for this specific case, as it is not an issue.

Reviewed-by: coleenp, dlong, kvn
2017-10-24 06:06:56 -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
bbd0fa6b1a Merge 2017-10-23 14:57:05 +00: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
Roman Kennke
c496c05376 8184914: Use MacroAssembler::cmpoop() consistently when comparing heap objects
Reviewed-by: coleenp
2017-10-23 09:33:14 -04:00
Thomas Schatzl
6787fc889f Merge 2017-10-23 10:45:07 +00:00