8407 Commits

Author SHA1 Message Date
Yasumasa Suenaga
6e36f51f27 8180487: HotSpotResolvedJavaMethod.setNotInlineable() should be renamed to represent actual behavior
Rename setNotInlineable() to setNotInlineableOrCompileable()

Reviewed-by: dnsimon, kvn
2017-05-18 16:31:16 -07:00
Yasumasa Suenaga
f1589c23ac 8180601: hsdis generates duplicate output for JVMCI installed code
Remove duplicated hsdis output

Reviewed-by: dnsimon, kvn
2017-05-18 11:27:06 -07:00
Zoltan Majo
8d7312538b 8180473: Use proper deallocation for FileBuff::_bigbuf
Use the array-specific delete operator instead of the scalar delete operator.

Reviewed-by: kvn
2017-05-18 17:20:59 +02:00
David Buck
50f9e3ed40 Merge 2017-05-18 13:17:28 +00:00
Coleen Phillimore
f820e2f2ee 8166848: Performance bug: SystemDictionary - optimization
Check instead that a bucket isn't 10x the average

Reviewed-by: iklam, gziemski, sspitsyn
2017-05-18 08:17:52 -04:00
Vladimir Kempik
84fde21dc7 8177522: -XX:OnOutOfMemoryError does not work if supplied twice on windows
Use cmd /c on windows to execute onError commands

Reviewed-by: dholmes, hseigel
2017-05-18 08:14:33 -04:00
Roman Kennke
553d1e815b 8180175: ObjectSynchronizer only needs to iterate in-use monitors
When using -XX:+MonitorInUseLists, then only iterate in-use monitors.

Reviewed-by: zgu, dholmes, rehn
2017-05-17 23:36:19 +02:00
Aleksey Shipilev
ae8a3dd115 8180482: Reformat -XX:+PrintSafepointStatistics table
Reviewed-by: dholmes
2017-05-17 23:18:19 +02:00
Claes Redestad
3725b7c8ff Merge 2017-05-17 12:46:12 +00:00
Harold Seigel
e6a49ea74b 8152295: Redundant CLCs for classes resolved in both loaders
Don't record loader constraints if both class loader classes are the same

Reviewed-by: coleenp, vlivanov, gtriantafill, lfoltan
2017-05-17 07:55:26 -04:00
Claes Redestad
30498e26af 8180423: Remove flag UseRelocIndex
Reviewed-by: kvn, thartmann
2017-05-17 11:41:08 +02:00
Coleen Phillimore
1c06346c45 8180325: Use ClassLoaderData::classes_do for CDS classes
Use closures and ClassLoaderData::classes_do instead of SystemDictionary::classes_do

Reviewed-by: iklam, jiangli
2017-05-16 19:36:55 -04:00
Harold Seigel
09d3f0e43d 8178604: JVM does not allow defining boot loader modules in exploded build after module system initialization
Allow defining of boot loader modules after initialization but add locks to synchronize access to exploded build list

Reviewed-by: dholmes, lfoltan
2017-05-16 09:33:49 -04:00
Ioi Lam
cc6f6ad2a6 8179769: serviceability/sa/TestCpoolForInvokeDynamic.java failing after changes for JDK-8171392
Updated SA Java code to match HotSpot C code.

Reviewed-by: sspitsyn, coleenp
2017-05-11 16:17:31 -07:00
Vladimir Kozlov
063286a618 Merge 2017-05-12 13:14:25 -07:00
Thomas Schatzl
707c566055 8177764: Humongous Reclaimed log output may be confusing
Make all log messages dealing with humongous reclaim report number of handled objects, not regions.

Reviewed-by: pliden, sjohanss
2017-05-12 11:41:05 +02:00
Chihiro Ito
61b56ef305 8166191: Missing spaces in log message during heap expansion
Reviewed-by: tschatzl
2017-05-12 11:38:20 +02:00
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
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
Lana Steuck
33f168f4ec Merge 2017-03-25 01:44:22 +00: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
Tobias Hartmann
b6c0d9ee23 8173770: Image conversion improvements
Reviewed-by: kvn, vlivanov, dlong, rhalade, mschoene, iignatyev
2017-03-23 15:14:18 +01: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
Lana Steuck
f1dabb55b4 Merge 2017-03-16 20:47:13 +00: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