8096 Commits

Author SHA1 Message Date
Harold Seigel
ca7bc471dd 8153646: Move vm/utilities/array.hpp to vm/oops
Move the header file and update the appropriate #include statements.

Reviewed-by: sspitsyn, dholmes
2017-05-10 08:37:17 -04:00
Alexander Harlap
4dc55a6593 8065402: G1 does not expand marking stack when mark stack overflow happens during concurrent marking
Simplified decision mechanism for marking stack expansion

Reviewed-by: kbarrett, tschatzl
2017-05-09 13:50:06 -04:00
Stefan Johansson
72a8ea429e 8179550: Unify trace logging for InstanceRefKlass
Reviewed-by: kbarrett, tschatzl
2017-05-09 11:04:06 +02:00
Stefan Johansson
50ded710fd 8138888: Remove ExtendedOopClosure::apply_to_weak_ref_discovered_field
Reviewed-by: kbarrett, tschatzl
2017-05-09 11:03:45 +02:00
Rachel Protacio
eb6d311b66 8154791: Xlog classload too redundant msgs info/debug
Removed redundant information from class+load UL messages, ensured side-by-side printing of different levels for same class, cleaned up code

Reviewed-by: iklam, dholmes
2017-05-08 09:45:24 -04:00
Kim Barrett
a65b58e18d 8178836: Improve PtrQueue index abstraction
Prefer element indexes where possible.

Reviewed-by: shade, mgerdin
2017-05-08 07:16:10 -04:00
Vivek Deshpande
7a8af5acc8 8178811: Minimize the AVX <-> SSE transition penalty through generation of vzeroupper instruction on x86
Reviewed-by: kvn
2017-05-05 19:28:54 -07:00
Chris Plummer
ab371018d4 Merge 2017-05-06 00:05:32 +00:00
Chris Plummer
7aabb799f6 8164563: Test nsk/jvmti/CompiledMethodUnload/compmethunload001 keeps reporting: PRODUCT BUG: class was not unloaded in 5
Removed _pending_list

Reviewed-by: dholmes, sspitsyn, dcubed, coleenp
2017-05-05 14:22:35 -07:00
Kim Barrett
48d21bc1c7 8179004: Add an efficient implementation of the "count trailing zeros" operation
Added count_trailing_zeros function, with platform-dependent implementations.

Reviewed-by: dholmes, cjplummer
2017-05-05 16:20:42 -04:00
Ioi Lam
ba388eaccd 8176863: Remove Hashtable::reverse()
Reviewed-by: hseigel, sspitsyn, coleenp
2017-05-04 16:04:23 -07:00
Rachel Protacio
dd47191766 8067728: Flag::unlock_diagnostic() should be called Flag::clear_diagnostic()
Renamed function

Reviewed-by: iklam, hseigel
2017-05-04 14:32:37 -04:00
Yang Zhang
851569b2f4 8169697: AArch64: Vectorized MLA instruction not generated for some test cases
Add AddVB/S/I/L/F/D node to commut_op_list, as well as other commutative vector operations.

Reviewed-by: roland, kvn
2016-12-19 10:57:53 +08:00
Harold Seigel
cbfb8634d0 Merge 2017-05-04 14:54:46 +00:00
Harold Seigel
5b7ff7579c 8056900: Enhance NoClassDefFound exception messaging
Add text to the message explaining the cause of the exception

Reviewed-by: dholmes, sspitsyn, coleenp
2017-05-04 10:05:29 -04:00
Ioi Lam
c34f76b22e 8179625: [BACKOUT] of 8179305 Avoid repeated calls to JavaThread::last_frame in InterpreterRuntime
Reviewed-by: hseigel
2017-05-04 06:54:52 -07:00
Kim Barrett
a896bf909c 8178352: BitMap::get_next_zero_offset may give wrong result on Mac
Invert and search initial word for trailing ones.

Reviewed-by: stefank, cjplummer
2017-05-03 14:13:48 -04:00
Ioi Lam
c386cec7b1 8171392: Move Klass pointers outside of ConstantPool entries so ConstantPool can be read-only
Added _resolved_klasses; moved _resolved_references to ConstantPoolCache, etc.

Reviewed-by: coleenp, lfoltan, simonis, aph
2017-03-03 23:08:35 -08:00
Ioi Lam
66f0c0d17f 8179305: Avoid repeated calls to JavaThread::last_frame in InterpreterRuntime
Added LastFrameAccessor class

Reviewed-by: dlong, dholmes
2017-05-01 11:16:01 -07:00
Alexander Harlap
cf7c7fedcd 8178542: G1: VM hangs during shutdown due to mark stack overflow
Removed not needed call to clear_has_overflown() to avoid inconsistent state

Reviewed-by: kbarrett, sangheki
2017-05-01 10:50:38 -04:00
Zoltan Majo
3e1753d49b 8179019: Correct range checks for command-line options ArraycopySrcPrefetchDistance and ArraycopyDstPrefetchDistance
Update constraint for the command-line options. Change stubs to use register values instead of immediates.

Reviewed-by: kvn
2017-04-28 09:50:47 +02:00
Harold Seigel
dbbc52769a Merge 2017-04-27 14:15:30 +00:00
Harold Seigel
5252655a4a 8179235: PackageEntryTables should be created eagerly
Create the PackageEntryTables in the constructor for ClassLoaderData.

Reviewed-by: dholmes, sspitsyn
2017-04-27 10:08:02 -04:00
Jesper Wilhelmsson
18441d431e Merge 2017-04-27 14:40:21 +02:00
Claes Redestad
1668e018ce 8179224: Cache strlen of Flag::_name
Reviewed-by: dsamersoff, jiangli, iklam, rehn
2017-04-26 13:20:23 +02:00
Sharath Ballal
e8ead248a8 8030750: SA: Alternate hashing not implemented
Implement alternate hashing in SA

Reviewed-by: dsamersoff
2017-04-26 14:59:52 +05:30
Stefan Johansson
e237e703df 8138737: Remove oop_ms_adjust_pointers and use oop_iterate instead
Reviewed-by: kbarrett, stefank
2017-04-26 10:26:39 +02:00
Lana Steuck
5ac911bb57 Merge 2017-04-22 00:21:28 +00:00
Ioi Lam
3e3183a5a1 8178543: Optimize Klass::is_shared()
Reviewed-by: coleenp, jiangli
2017-04-14 08:33:57 -07:00
Lana Steuck
2293dc116c Merge 2017-04-13 20:35:45 +00:00
Ioi Lam
9d5b85daf4 8178350: klassVtable and klassItable should be ValueObj
Reviewed-by: coleenp
2017-04-13 01:56:01 -07:00
Jesper Wilhelmsson
dd358a3bac Merge 2017-04-24 21:34:24 +02:00
Rachel Protacio
5889c1e232 Merge 2017-04-24 17:26:11 +00:00
Rachel Protacio
9947f147f6 8165896: Use "open" flag from JVM_DefineModule to export all module packages
Implemented VM side of open modules, which export all their packages unqualifiedly. Automatic modules and unnamed modules are treated internally as open modules.

Reviewed-by: alanb, hseigel, lfoltan
2017-04-24 12:08:28 -04:00
Rachel Protacio
66fa0999d1 8168122: Update logging in perfMemory to Unified Logging
-XX:+PerfTraceMemOps replaced with -Xlog:perf+memops=debug, -XX:+PerfTraceDataCreation replaced with -Xlog:perf+datacreation=debug

Reviewed-by: sspitsyn, coleenp
2017-04-24 11:32:38 -04:00
Harold Seigel
f9e13c6d3f 8178949: The split verifier allows anewarray to create an array of more than 255 dimensions
Add check to split verifier handling of anewarray opcode.

Reviewed-by: sspitsyn, gtriantafill, lfoltan
2017-04-24 08:47:38 -04:00
Kim Barrett
6de1e550d8 8179181: Cleanup BitMap search API
Remove _inline suffixes and remove duplicate wrappers.

Reviewed-by: dholmes, coleenp
2017-04-23 15:02:46 -04:00
Jesper Wilhelmsson
d507b8945c Merge 2017-04-18 22:25:33 +02:00
Rachel Protacio
ca72444bf9 8176472: Lazily create ModuleEntryTable
Moved the unnamed module out of the ModuleEntryTable and into the ClassLoaderData so that the MET can be lazily created only when other modules are present. Also a smaller PackageTable size.

Reviewed-by: gtriantafill, hseigel, lfoltan, coleenp
2017-04-18 13:19:42 -04: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
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
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
Lana Steuck
71d06e676b Merge 2017-04-06 04:50:34 +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