9579 Commits

Author SHA1 Message Date
Robbin Ehn
56f838f4ee 8176098: Deprecate FlatProfiler
Reviewed-by: shade, coleenp
2017-03-14 12:00:02 +01:00
Jamsheed Mohammed C M
fcd4be97ff 8176573: Do not use FLAG_SET_ERGO to update MaxRAM for emulated client
Used FLAG_SET_DEFAULT to update MaxRAM

Reviewed-by: kvn
2017-03-13 23:36:14 -07:00
Thomas Stuefe
0af886d583 8176442: [aix] assert(_thr_current == 0L) failed: Thread::current already initialized
Revert Thread::current() back to pthread library based TLS on AIX.

Reviewed-by: dholmes
2017-03-13 21:46:37 -04:00
Mikael Gerdin
586de47879 8176363: Incorrect lock rank for G1 PtrQueue related locks
Reviewed-by: mgronlun, coleenp, kbarrett, dholmes, tschatzl
2017-03-09 16:58:45 +01:00
Zoltan Majo
b3914e7e21 8175340: Possible invalid memory accesses due to ciMethodData::bci_to_data() returning NULL
Check values returned by ciMethodData::bci_to_data() where necessary.

Reviewed-by: kvn
2017-03-09 14:27:21 +01:00
Rahul Raghavan
b2783bb80a 8175345: Reported null pointer dereference defect groups
Added required explicit NULL checks

Reviewed-by: thartmann, kvn
2017-03-09 00:16:51 -08:00
Harold Seigel
3064b3e35d 8176147: JVM should throw CFE for duplicate Signature attributes
Add the needed checks to ClasFileParser for duplicate Signature attributes.

Reviewed-by: dholmes, gtriantafill
2017-03-08 09:04:21 -05:00
Nils Eliasson
de10f56d52 8164954: split_if creates empty phi and region nodes
Don't split if all edges will be moved to new phi

Reviewed-by: kvn, vlivanov
2017-03-06 14:08:52 +01:00
Harold Seigel
b7121021af 8175383: JVM should throw NCDFE if ACC_MODULE and CONSTANT_Module/Package are set
If bad constant is seen, save it to throw CFE if ACC_MODULE is not in access_flags

Reviewed-by: dholmes, acorn, lfoltan, gtriantafill
2017-03-06 09:45:58 -05:00
Jesper Wilhelmsson
ca341236ca 8176054: [BACKOUT][REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, mgerdin
2017-03-02 17:46:59 +01:00
Christian Haeubl
5bd3dfadc6 8175917: [JVMCI] Avoid long JNI handle chains
Reviewed-by: never, kvn
2017-02-27 17:36:36 +01:00
Aleksey Shipilev
9e4e386872 8175887: C1 value numbering handling of Unsafe.get*Volatile is incorrect
Reviewed-by: vlivanov
2017-03-01 14:51:12 +03:00
Bob Vandette
4bb373767a Merge 2017-02-28 10:47:09 -05:00
Bob Vandette
b9854ff95a 8175567: Build of hotspot for arm-vfp-sflt fails
Reviewed-by: kvn, cjplummer
2017-02-28 10:44:49 -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
Erik Helin
4145e90718 8168914: Crash in ClassLoaderData/JNIHandleBlock::oops_do during concurrent marking
Reviewed-by: dholmes, tschatzl, coleenp, kbarrett, eosterlund, stefank
2017-02-23 18:57:10 +01:00
Doug Simon
86a9ef8d83 8175811: [JVMCI] StubRoutines::_multiplyToLen symbol needs to exported
Reviewed-by: thartmann
2017-02-24 04:32:11 -08:00
Tobias Hartmann
c7de967bcb 8139906: assert(src->section_index_of(target) == CodeBuffer::SECT_NONE) failed: sanity
The card table address used in the g1_post_barrier_slow stub should not be marked as relocatable.

Reviewed-by: kvn
2017-02-24 11:52:04 +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
e309127c9e 8175052: [AOT] jaotc does not accept file name with .class
Reviewed-by: iveresov
2017-02-17 21:06:59 -08:00
Mikael Gerdin
90fdff0e70 8175085: [REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, dcubed, tschatzl
2017-02-17 13:16:54 +01:00
Vladimir Kozlov
69c0f2aba4 8175516: JNI exception pending in jdk_tools_jaotc_jnilibelf_JNILibELFAPI.c:97
Add missing NULL checks

Reviewed-by: iveresov
2017-02-27 15:59:22 -08:00
Jesper Wilhelmsson
7217137797 Merge 2017-02-27 18:24:19 +01: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
168714c982 Merge 2017-02-16 10:46:43 -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
Rickard Bäckman
08aeb22f48 8165256: ARM64: vm/gc/concurrent/lp30yp10rp30mr0st300 Crash SIGBUS
Reviewed-by: aph
2017-02-15 14:00:13 +01: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
Yasumasa Suenaga
6935e878c6 8173941: SA does not work if executable is DSO
Reviewed-by: aph, dsamersoff
2017-02-11 00:17:31 +09: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