7098 Commits

Author SHA1 Message Date
Claes Redestad
94365d3210 8232150: aarch64 build broken after JDK-8232050
Reviewed-by: dholmes
2019-10-11 01:11:28 +02:00
Tom Rodriguez
81da915128 8231659: [JVMCI] Could not work PrintAssembly for JVMCI installed code
Reviewed-by: ysuenaga
2019-10-10 11:40:59 -07:00
Coleen Phillimore
a95a39a04e 8232120: com/sun/jdi/InvokeTest fails with -Xcheck:jni: assert(k->is_instance_klass()) failed: cast to InstanceKlass
Should have allowed recv klass to be an array.

Reviewed-by: hseigel, dcubed
2019-10-11 11:50:04 -04:00
Matthias Baesken
2882b4c549 8232107: support ThreadPriorityPolicy flag on AIX
Reviewed-by: clanger, dholmes
2019-10-10 14:20:43 +02:00
Huang Wang
4fb2bb554d 8231988: Unexpected test result caused by C2 IdealLoopTree::do_remove_empty_loop
Duplicate cmp node in empty loop if it has other users

Co-authored-by: Tuo Xie <xietuo@huawei.com>
Reviewed-by: neliasso, thartmann
2019-10-11 16:52:18 +08:00
Claes Redestad
35fb2da425 8232165: Reduce allocations in ValueStack copying constructor
Reviewed-by: neliasso, kvn
2019-10-14 20:58:08 +02:00
Daniil Titov
76d7e33569 8227231: JDWP help information shows use of obsolete Xdebug flag
Reviewed-by: dholmes, sspitsyn, amenkov
2019-10-14 11:24:23 -07:00
Aleksey Shipilev
67a89143dd 8232176: Shenandoah: new assert in ShenandoahEvacuationTask is too strong
Reviewed-by: rkennke
2019-10-14 11:03:13 +02:00
Robbin Ehn
9de8d240ff 8218543: ThreadsList handling during error reporting can crash
Reviewed-by: dcubed, dholmes
2019-10-14 08:59:12 +02:00
Andrew Leonard
0dbfc97c05 8231717: Improve performance of charset decoding when charset is always compactable
Reviewed-by: rriggs, redestad, alanb
2019-10-10 10:28:55 +01:00
Erik Österlund
1a0e073932 8232116: ZGC: Remove redundant ZLock in ZNMethodTable
Reviewed-by: stefank, pliden
2019-10-11 13:07:21 +00:00
Andrew Dinn
67ebe0d274 8232046: AArch64 build failure after JDK-8225681
Reviewed-by: eosterlund
2019-10-10 10:59:13 +01:00
Coleen Phillimore
986f2bbf2c 8231769: Test tools/javac/tree/MakeTypeTest.java fails with -Xcheck:jni
Delete local jni handles in create_from_platform_dependent_str() after upcall to Java.

Reviewed-by: dholmes, hseigel
2019-10-11 08:49:42 -04:00
Jie Fu
179aab2fe2 8232151: Minimal VM build broken after JDK-8232050
Reviewed-by: dholmes, clanger
2019-10-11 17:49:25 +08:00
Sergey Bylokhov
f3a9ad9290 8229810: [macos] NullPointerException getting bounds of GraphicsConfiguration
Reviewed-by: jdv
2019-10-09 17:06:06 -07:00
Xin Liu
1ad5c5bfb7 8165056: move JIT Compiler related files from runtime/ to compiler/ directory
Reviewed-by: kvn, coleenp, dholmes
2019-10-09 12:43:32 -07:00
Aleksey Shipilev
d2d6b6378e 8231947: Shenandoah: cleanup ShenandoahHumongousMoves flag treatment
Reviewed-by: rkennke
2019-10-10 21:54:54 +02:00
Aleksey Shipilev
57fcedc33d 8232102: Shenandoah: print everything in proper units
Reviewed-by: rkennke
2019-10-10 21:54:53 +02:00
Ioi Lam
5a120f0967 8232071: Avoid shared dictionary lookup when the class name is not shared
Reviewed-by: jiangli, ccheung
2019-10-10 10:48:31 -07:00
Ioi Lam
dc66194e63 8231986: [SA] Consolidate parts of the Linux and MacOSX versions of ps_core.c
Reviewed-by: sspitsyn, cjplummer
2019-10-10 10:47:45 -07:00
Claes Redestad
88d28a2bf9 8232050: Improve inlining of Klass accessors
Reviewed-by: lfoltan, tschatzl, coleenp, dholmes, jiangli
2019-10-10 13:26:22 +02:00
Christian Hagedorn
9751b5669a 8231720: Some perf regressions after 8225653
Fixed emitting of unused assembly code in 8225653​ which had a negative impact on performance in tight loops.

Reviewed-by: kvn, thartmann
2019-10-10 10:27:12 +02:00
Matthias Baesken
7256d38458 8232045: cleanup AIX 5.3 workarounds from libnio/ch/Net.c
Reviewed-by: alanb, clanger, chegar
2019-10-09 09:57:33 +02:00
Dean Long
183e2e119d 8231973: Update Graal
Reviewed-by: kvn
2019-10-09 21:53:48 -07:00
Joe Darcy
2918f86d2b 8232078: Suppress warnings on non-serializable non-transient instance fields in java.datatransfer
Reviewed-by: serb
2019-10-09 19:38:11 -07:00
Joe Darcy
728644f37d 8232076: Suppress warnings on non-serializable non-transient instance fields java.naming
Reviewed-by: lancea
2019-10-09 18:23:20 -07:00
Tom Rodriguez
4a41f86a39 8231586: enlarge encoding space for OopMapValue offsets
Reviewed-by: dlong
2019-10-09 16:35:44 -07:00
Brad Corso
990ae581ac 8231990: Remove unnecessary else-if branch in Types.union
Reviewed-by: mcimadamore
2019-10-09 10:02:54 -07:00
Joe Darcy
3c9b6d8554 8231202: Suppress warnings on non-serializable non-transient instance fields in serializable classes
Reviewed-by: rriggs, chegar
2019-10-09 10:17:50 -07:00
Joe Darcy
fbb4093562 8231262: Suppress warnings on non-serializable instance fields in security libs serializable classes
Reviewed-by: mullan, chegar
2019-10-09 09:57:41 -07:00
Daniel Fuchs
a690af3832 8231260: (dc) DatagramChannel::disconnect changes the port of the local address to 0 (lnx)
DatagramChannel::disconnect will attempt to rebind to the original port if the local port switches back to 0 after the association is disolved by the system.

Reviewed-by: alanb, chegar, fweimer
2019-10-09 17:38:58 +01:00
Erik Österlund
42885307f6 8230565: ZGC: Redesign C2 load barrier to expand on the MachNode level
Co-authored-by: Per Liden <per.liden@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Reviewed-by: pliden, stefank, neliasso
2019-10-09 12:30:06 +00:00
Severin Gehwolf
dcc9cc3fdd 8232003: (fs) Files.write can leak file descriptor in the exception case
Be sure to close the leaked OutputStream in all cases

Reviewed-by: alanb, bpb, clanger
2019-10-08 15:30:46 +02:00
Kiran Ravikumar
6fe51396a2 8214560: Use {@systemProperty} for definitions of system properties (httpserver)
Reviewed-by: dfuchs, coffeys, chegar
2019-10-09 10:15:58 +00:00
Kiran Ravikumar
4b36fb50ed 8231770: Test java/util/zip/FlaterTest.java fails with -Xcheck:jni
Reviewed-by: alanb, coffeys, chegar
2019-10-09 10:14:03 +00:00
Richard Reingruber
a683592254 8230677: Should disable Escape Analysis if JVMTI capability can_get_owned_monitor_info was taken
Reviewed-by: sspitsyn, dholmes, kvn
2019-10-08 15:30:39 +02:00
Joe Darcy
8fe60f46d7 8231368: Suppress warnings on non-serializable non-transient instance fields in java.security.jgss
Reviewed-by: mullan, coffeys
2019-10-08 15:27:13 -07:00
David Holmes
d113ca0727 8231737: Cleanup JvmtiRawMonitor code
Reviewed-by: sspitsyn, pliden, coleenp, dcubed
2019-10-08 17:30:48 -04:00
Kim Barrett
d7fcd0ccac 8231153: Improve concurrent refinement statistics
8043505: G1RemSet::_conc_refine_cards is incremented unsynchronized

Added refinement rates and counts, removed _conc_refine_cards

Reviewed-by: tschatzl, sjohanss
2019-10-08 15:15:50 -04:00
Claes Redestad
8edf64d236 8232006: Remove dead code from klassVtable
Reviewed-by: coleenp, jiangli, lfoltan
2019-10-08 20:47:46 +02:00
Evgeny Mandrikov
422a77c3b1 8199136: Dead code in src/jdk.jcmd/share/classes/sun/tools/common/ProcessArgumentMatcher.java
Reviewed-by: dholmes, dtitov
2019-10-08 11:18:00 -07:00
Coleen Phillimore
2f4bd6db09 8225681: vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine fails due a) MT-unsafe modification of inline cache
Allow old methods in CompiledStaticDirectCall::set_to_interpreted

Reviewed-by: sspitsyn, eosterlund
2019-10-08 13:18:40 -04:00
Daniil Titov
0f1f9fe653 8231666: ThreadIdTable::grow() invokes invalid thread transition
Reviewed-by: dholmes, rehn
2019-10-08 09:39:10 -07:00
Daniil Titov
7306526835 8170299: Debugger does not stop inside the low memory notifications code
Reviewed-by: sspitsyn, dholmes
2019-10-08 09:13:08 -07:00
Patrick Concannon
dcceed10b6 8222829: DatagramSocket.setSoTimeout does not specify IAE when timeout is negative
Clarifies behaviour of setSoTimeout() method when given negative timeout value.

Reviewed-by: alanb, chegar, dfuchs
2019-10-08 15:03:20 +01:00
Patrick Concannon
ee87f2a7a4 8230946: Clarify security manager behaviour of a connected DatagramSocket and DatagramChannel
Update to API, to clarify that packets are dropped in the receive method of non-connected sockets if they fail the security manager checks

Reviewed-by: alanb, chegar, dfuchs
2019-10-08 14:56:46 +01:00
Brad Corso
3e8d409cee 8230162: ScopeImpl.remove() has O(N) performance
Reviewed-by: jlahoda
2019-10-08 15:43:38 +02:00
Claes Redestad
fe8c0edee0 8231993: Remove redundant pkg_str param from is_shared_class_visible_for_classloader
Reviewed-by: hseigel, coleenp
2019-10-08 15:48:36 +02:00
Alan Bateman
51e94d8dac 8231921: (se) SelectorImpl.register does not need to set the attachment when it is null
Reviewed-by: bpb
2019-10-08 10:58:36 +01:00
Claes Redestad
f8f7cdcbe3 8231355: Remove unused utility methods in libjava
Reviewed-by: dholmes, jrose, alanb
2019-10-08 10:24:22 +02:00