8027 Commits

Author SHA1 Message Date
Thomas Schatzl
7bca463789 8168467: Use TaskEntry as task mark queue elements
Change the mark stack to use TaskEntry queue elements to improve type safety instead of casting around raw pointers.

Reviewed-by: kbarrett, sangheki
2017-03-15 11:44:46 +01:00
Coleen Phillimore
35e8433c1c Merge 2017-03-14 14:07:24 -04:00
Lana Steuck
b636d90917 Merge 2017-03-13 19:59:41 +00:00
Zoltan Majo
fcb5908230 8159734: Consistency check fails with -XX:-ProfileInterpreter
Re-establish the consistency of profiling information also with -XX:-ProfileInterpreter.

Reviewed-by: kvn
2017-03-13 13:01:47 +01:00
Tobias Hartmann
43a771e998 8176441: assert(false) failed: modified node was not processed by IGVN.transform_old()
The shiftNode needs to be added to the IGVN worklist after being modified.

Reviewed-by: kvn, vlivanov
2017-03-13 12:13:09 +01:00
Ioi Lam
f5777dc9bd 8005165: Remove CPU-dependent code in self-patching vtables
Reviewed-by: coleenp, stuefe, jiangli
2017-03-03 23:08:35 -08:00
Harold Seigel
8a5f33bd16 8172514: Stop checking for duplicate packages in the JVM_DefineModule() package list
Use GrowableArray append() instead of append_if_missing() to stop searching for duplicates

Reviewed-by: redestad, coleenp, dholmes, gtriantafill
2017-03-10 08:04:17 -05:00
Sangheon Kim
ade6d7cd18 8164038: Missing volatile keyword at CardTableRS::write_ref_field_gc_par()
Reviewed-by: tschatzl, kbarrett
2017-03-09 15:00:23 -08:00
Thomas Stuefe
5806258936 8176140: 8176140-Crashes-or-timeouts-during-error-reporting-may-lead-to-infinitely-repeated-error-logs-until-ErrorLogTimeout-is-hit
Reviewed-by: cjplummer, dholmes
2017-03-08 19:25:15 +01:00
Alexander Harlap
6fdf396624 8165674: G1CMMarkStack::out_of_memory possibly redundant
Remove the redundant G1CMMarkStack::_out_of_memory member.

Reviewed-by: kbarrett, tschatzl
2017-03-09 10:48:44 +01:00
Lutz Schmidt
0171aad88e 8175369: [ppc] Provide intrinsic implementation for CRC32C
Reviewed-by: mdoerr, simonis, kvn
2017-03-08 17:01:13 -08:00
Lutz Schmidt
99a554c5ad 8175368: [s390] Provide intrinsic implementation for CRC32C
Reviewed-by: mdoerr, simonis
2017-03-08 14:55:32 +01:00
Sangheon Kim
a235f9f6ef Merge 2017-03-07 22:58:16 +00:00
Chris Plummer
f91cc0cd42 8175341: "java/util/Arrays/ParallelPrefix.java" Crash Internal Error ...diagnosticCommand.cpp...assert(k != __null) failed: FinalizerHistogram class is not accessible
Allow the dcmd to fail with a pending exception rather than assert

Reviewed-by: sspitsyn, dholmes
2017-03-07 13:35:34 -08:00
Sangheon Kim
d86c76dca9 8023905: Failing to initialize VM with small initial heap when NUMA and large pages are enabled
Exit VM when fails to initialize small initial heap with NUMA and large pages enabled

Reviewed-by: jmasa, sjohanss
2017-03-07 10:25:58 -08:00
Gunter Haug
e44e774bbe 8175900: Assertion too strict in G1CollectedHeap::new_mutator_alloc_region
Reviewed-by: simonis, tschatzl, kbarrett
2017-02-27 12:57:16 +01:00
Thomas Schatzl
8d405d171c 8071278: Fix the closure mess in G1RemSet::refine_card()
Remove the use of many nested closure in the code to refine a card.

Reviewed-by: kbarrett, sjohanss
2017-03-06 17:03:35 +01:00
Kim Barrett
b067fc774d 8175221: Cleanup DirtyCardQueueSet::concatenate_log
Concatenate_log calls flush, flush no longer checks "permanent"

Reviewed-by: tschatzl, shade
2017-03-04 15:56:22 -05:00
Robbin Ehn
2ea73551ba 8176096: Wrong macro checks for INCLUDE_TRACE
Reviewed-by: dholmes, coleenp, mgronlun
2017-03-03 12:02:35 +01:00
Shafi Ahmad
90c3e97cbd 8171194: Exception "Duplicate field name&signature in class file" should report the name and signature of the field
Added code to emit name and signature of duplicate field in java.lang.ClassFormatError exception message

Reviewed-by: dholmes, coleenp
2017-02-28 20:32:06 -08:00
Harold Seigel
5485a03844 8172307: Remove ununsed JVM API JVM_GetModuleByPackageName()
Remove get_module_by_package_name() etc., and unneeded test.

Reviewed-by: sspitsyn, gtriantafill
2017-03-01 07:59:20 -05:00
Jesper Wilhelmsson
eb6669bff0 Merge 2017-02-24 19:48:33 +01:00
Jesper Wilhelmsson
99e20e2480 Merge 2017-02-24 12:01:33 +01:00
Lana Steuck
7a3d0a1349 Merge 2017-02-23 17:22:44 +00:00
Markus Grönlund
f889b5119c 8175178: Stack traversal during OSR migration asserts with invalid bci or invalid scope desc on x86
Reviewed-by: dcubed, coleenp
2017-02-23 16:55:59 +01:00
Gerard Ziemski
ad7a2057c2 8175135: Header template correction for year
Added comma.

Reviewed-by: dcubed, gthornbr
2017-02-22 11:20:12 -06:00
Harold Seigel
90bde9549e 8174725: JVM should throw NoClassDefFoundError if ACC_MODULE is set in access_flags
Check if ACC_MODULE is set, and if so, throw NoClassDefFoundError exception

Reviewed-by: dholmes, alanb, acorn, coleenp, lfoltan, gtriantafill
2017-02-21 09:53:49 -05:00
Kevin Walls
e477609f73 8162795: [REDO] MemberNameTable doesn't purge stale entries
Re-application of the change in JDK-8152271.

Reviewed-by: coleenp, sspitsyn
2017-02-21 02:27:01 -08:00
Vladimir Kozlov
7d969ccd55 8174879: Rename jdk.vm.ci to jdk.internal.vm.ci
Rename jdk.vm.ci and jdk.vm.compiler modules to jdk.internal.vm.ci and jdk.internal.vm.compiler.

Reviewed-by: mchung, ihse, dnsimon
2017-02-16 15:46:09 -08:00
Daniel D. Daugherty
298e3a2dcc 8175086: [BACKOUT] fix for JDK-8166188
Reviewed-by: kbarrett, jwilhelm, dcubed
2017-02-16 10:41:19 -08:00
Kim Barrett
28477cf493 8166188: G1 Needs pre barrier on dereference of weak JNI handles
Add low tag to jweaks and G1 barrier for jweak loads.

Co-authored-by: Martin Doerr <martin.doerr@sap.com>
Co-authored-by: Volker Simonis <volker.simonis@sap.com>
Reviewed-by: mgerdin, mdoerr, pliden, dlong, dcubed, coleenp, aph, tschatzl
2017-02-15 22:19:13 -05:00
Roland Westrelin
6a5e6f2ae1 8174164: SafePointNode::_replaced_nodes breaks with irreducible loops
Reviewed-by: kvn
2017-02-15 17:26:37 -08:00
Doug Simon
896fc63787 8174957: [JVMCI] jaotc is broken in Xcomp mode
Reviewed-by: iveresov
2017-02-15 11:14:45 +01:00
Doug Simon
eb8d5435c2 8174961: [JVMCI] incorrect implementation of isCompilable
Reviewed-by: kvn
2017-02-14 12:04:28 -08:00
Roman Kennke
96846a4105 8172434: CompareAndExchangeObject inserts two pre-barriers
Reviewed-by: kvn
2017-02-14 12:31:11 -08:00
Jesper Wilhelmsson
be20d6384d Merge 2017-02-14 01:32:38 +01:00
Serguei Spitsyn
75bb00fb10 Merge 2017-02-13 22:43:50 +00:00
Serguei Spitsyn
8efb2f4342 8172969: JVMTI spec: GetCurrentThread may return NULL in the early start phase
Update the GetCurrentThread function spec to allow returning NULL

Reviewed-by: dholmes, dcubed, alanb
2017-02-13 14:39:50 -08:00
Dmitry Chuyko
2a4864a3ea 8174818: bigapps/Weblogic12medrec fails with assert(check_call_consistency(jvms, cg)) failed: inconsistent info
Reviewed-by: vlivanov
2017-02-13 23:58:00 +03:00
Jesper Wilhelmsson
faf9972570 Merge 2017-02-12 04:49:38 +01:00
Volker Simonis
236b9ba942 8173743: Failures during class definition can lead to memory leaks in metaspace
Reviewed-by: dholmes, coleenp, acorn, ddmitriev
2017-02-10 17:22:17 +01:00
Vladimir Ivanov
19f9a33953 8174721: C1: Inlining through MH invokers/linkers in unreachable code is unsafe
Reviewed-by: iveresov
2017-02-10 20:45:39 +03:00
Jesper Wilhelmsson
79f3678d7b Merge 2017-02-10 15:14:27 +01:00
Zoltan Majo
ecee7fc84b 8173151: Code heap corruption due to incorrect inclusion test
Change inclusion test to use CodeBlob::code_begin() for AOT methods and start of CodeBlob otherwise. Added regression test.

Reviewed-by: thartmann, dlong, kvn
2017-02-10 08:16:49 +01:00
Sangheon Kim
7b93ee904b 8173013: JVMTI tagged object access needs G1 pre-barrier
Add missing G1 pre-barrier at TagObjectCollector::do_entry

Reviewed-by: kbarrett, tschatzl
2017-02-09 19:08:32 -08:00
Jesper Wilhelmsson
4519090804 Merge 2017-02-09 23:35:22 +01:00
Alan Bateman
9db79d57c8 8173393: Module system implementation refresh (2/2017)
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Reviewed-by: lfoltan, acorn, mchung
2017-02-10 09:03:55 +00:00
Jesper Wilhelmsson
9f4f582c70 Merge 2017-02-09 23:15:52 +01:00
Lana Steuck
e02360463a Merge 2017-02-09 18:15:37 +00:00
Dmitry Chuyko
1acb306859 8166110: Inlining through MH invokers/linkers in unreachable code is unsafe
Reviewed-by: vlivanov
2017-02-09 19:00:48 +03:00