7984 Commits

Author SHA1 Message Date
Vladimir Ivanov
5d2b14d198 8179882: C2: Stale control info after cast node elimination during loop optimization pass
Reviewed-by: kvn, roland
2017-05-30 21:35:21 +03:00
Zoltan Majo
73b3420b12 8180855: Null pointer dereference in OopMapSet::all_do of oopMap.cpp:394
Check for possible null-point dereference.

Reviewed-by: kvn
2017-05-29 10:32:37 +02:00
Tobias Hartmann
83a3e9f114 8180813: Null pointer dereference of CodeCache::find_blob() result
Fixed missing null checks on the result of CodeCache::find_blob() found by Parfait.

Reviewed-by: shade, kvn
2017-05-24 16:53:58 +02:00
Tobias Hartmann
d3baf34118 8180575: Null pointer dereference in LoadNode::Identity()
Fixed a missing null check on the return value of AddPNode::Ideal_base_and_offset() found by Parfait.

Reviewed-by: kvn
2017-05-22 09:23:59 +02:00
Tobias Hartmann
4b93f11738 8180576: Null pointer dereference in Matcher::xform()
Fixed a missing null check on n->in(0) found by Parfait.

Reviewed-by: kvn
2017-05-22 09:18:12 +02:00
Tobias Hartmann
1d1141fbdf 8180511: Null pointer dereference in Matcher::ReduceInst()
Fixed a missing null check on the return value of MachNodeGenerator() found by Parfait.

Reviewed-by: kvn
2017-05-22 09:17:32 +02:00
Tobias Hartmann
66fb50e7a2 8180617: Null pointer dereference in InitializeNode::complete_stores
Fixed a missing null check on the return value of InitializeNode::allocation() found by Parfait.

Reviewed-by: zmajo
2017-05-22 09:16:46 +02:00
Tobias Hartmann
bbe61a3c5d 8180565: Null pointer dereferences of ConstMethod::method()
We need to check ConstMethod::method() for NULL before dereferencing.

Reviewed-by: kvn, iignatyev
2017-05-22 09:14:10 +02:00
Thomas Schatzl
c775f6f58b 8180048: Interned string and symbol table leak memory during parallel unlinking
Make appending found dead BasicHashtableEntrys to the free list atomic.

Reviewed-by: ehelin, shade, coleenp
2017-05-15 12:20:15 +02:00
Roland Westrelin
aa386ac45b 8179070: nashorn+octane's box2d causes c2 to crash with "Bad graph detected in compute_lca_of_uses"
CiTypeFlow speculates field is null but parsing uses non null constant because of concurrent class initialization

Reviewed-by: thartmann
2017-04-25 09:37:24 +02:00
Alan Bateman
1726127181 Merge 2017-05-04 09:43:45 +01:00
Alan Bateman
aefdcda532 8178380: Module system implementation refresh (5/2017)
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Reviewed-by: lfoltan, hseigel, mchung, sspitsyn
2017-05-04 07:26:28 +00:00
Doug Simon
16d29f2564 8177845: Need a mechanism to load Graal
Reviewed-by: kvn, iveresov, mchung
2017-04-28 02:54:05 -07:00
Kim Barrett
77f7391ebd 8179084: HotSpot VM fails to start when AggressiveHeap is set
Don't set default ParallelGCThreads when processing AggressiveHeap

Reviewed-by: stefank, ehelin
2017-04-26 22:34:54 -04:00
Erik Helin
fd4f7d938a 8179013: Deprecate the Concurrent Mark Sweep (CMS) Garbage Collector
Reviewed-by: sjohanss, sangheki
2017-04-22 12:05:20 +02:00
Igor Veresov
34dec39bc2 8178047: Aliasing problem with raw memory accesses
Require equal bases when unaliasing offsets for raw accesses

Reviewed-by: kvn
2017-04-19 18:02:26 -07:00
Coleen Phillimore
1457155505 8168699: Validate special case invocations
Reviewed-by: acorn, kvn, lfoltan, ctornqvi, ahgross, vlivanov
2016-12-01 14:21:31 -05:00
Dean Long
f274b01820 8158168: Missing bounds checks for some String intrinsics
Reviewed-by: vlivanov, thartmann, sherman
2017-04-12 16:36:13 -04:00
Tom Rodriguez
35d89151e8 8178119: [JVMCI] when rethrowing exceptions at deopt the exception must be fetched after materialization
Reviewed-by: kvn
2017-04-06 00:03:18 -07:00
David Holmes
bb2a9268c7 8135161: Missing commas in copyright notices
Reviewed-by: sspitsyn
2017-04-11 19:39:16 -04:00
Igor Veresov
767a994f9c 8176887: AOT: SIGSEGV in AOTCodeHeap::next when using specific configuration
Derive MethodCounters from Metadata

Reviewed-by: kvn, coleenp
2017-04-11 11:34:20 -07:00
Andrew Haley
7b865d0e66 8170812: Metaspace corruption caused by incorrect memory size for MethodCounters
Reviewed-by: kbarrett, coleenp
2017-04-07 13:42:00 +01:00
Thomas Schatzl
442c887522 Merge 2017-04-07 10:51:28 +00:00
Y. Srinivas Ramakrishna
961c251005 8177963: Parallel GC fails fast when per-thread task log overflows
Instead of exiting the VM when per-thread task log overflows, print warnings once and ignore any further log addition attempt.

Reviewed-by: ysr, kbarrett, sangheki
2017-04-07 10:45:26 +02:00
Alan Bateman
a3ab143c64 8177530: Module system implementation refresh (4/2017)
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: lfoltan, sspitsyn
2017-04-07 08:04:46 +00:00
Jesper Wilhelmsson
aa49aa7eab Merge 2017-03-30 19:55:04 +02:00
Tobias Hartmann
3e59334eef 8177095: Range check dependent CastII/ConvI2L is prematurely eliminated
Disabled narrowing of range check dependent CastIIs (either through the CastII(AddI) optimization or through CastIINode::Ideal).

Reviewed-by: vlivanov, kvn
2017-03-27 10:12:29 +02:00
Phil Race
5506a3b126 8177346: hotspot change for 8176513 breaks jdk9 build on Ubuntu 16.04
Reviewed-by: dholmes, kvn, vlivanov
2017-03-24 08:56:04 -07:00
David Holmes
498c318982 8165358: vmassert_status is not debug-only
Reviewed-by: dsamersoff, stuefe, zgu
2017-03-23 17:15:33 -04:00
Jesper Wilhelmsson
dcb7ac8c13 Merge 2017-03-23 15:06:58 +01:00
Alan Bateman
fa73a9b912 Merge 2017-03-22 18:41:25 +00:00
Alan Bateman
73165d34e4 8174823: Module system implementation refresh (3/2017)
Reviewed-by: sspitsyn, dholmes, lfoltan, mchung
2017-03-22 16:26:09 +00:00
Mikael Gerdin
cc1aaab7e9 8176100: [REDO][REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, coleenp, tschatzl
2017-03-22 15:25:21 +01:00
Martin Doerr
16a222c4ff 8176518: C2: Invalid ImplicitNullChecks with non-protected heap base
Avoid generating implicit null checks if heap base is not protected

Reviewed-by: zmajo
2017-03-20 11:32:30 +01:00
Roland Westrelin
23ef045ab2 8176513: Poor code quality for ByteBuffers
Relaxes the condition under which MemBarCPUOrder nodes are added around unsafe accesses.

Reviewed-by: vlivanov, kvn, jrose
2017-03-15 18:18:04 -07:00
Claes Redestad
c40d2d5af7 8176593: Throwable::getStackTrace performance regression
Reviewed-by: jiangli, iklam, coleenp, sspitsyn
2017-03-15 13:03:13 +01:00
Volker Simonis
1cd78903a8 8176505: Wrong assertion 'should be an array copy/clone' in arraycopynode.cpp
Reviewed-by: thartmann, roland
2017-03-13 16:07:17 +01:00
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