7542 Commits

Author SHA1 Message Date
Ioi Lam
396a496f3c 8260467: Move well-known classes from systemDictionary.hpp to vmClasses.hpp
Reviewed-by: dholmes, coleenp
2021-01-28 04:24:04 +00:00
Jesper Wilhelmsson
c52212b146 Merge 2021-01-27 20:56:26 +00:00
Guoxiong Li
0eed2c3312 8259359: javac does not attribute unexpected super constructor invocation qualifier, and may crash
Reviewed-by: vromero
2021-01-27 18:12:57 +00:00
Daniel D. Daugherty
684c8558f6 8260524: validate-source fails on test/jdk/jdk/jfr/event/gc/detailed/TestGCLockerEvent.java
Reviewed-by: bpb, iignatyev
2021-01-27 17:26:41 +00:00
Denghui Dong
311a0a91ba 8259808: Add JFR event to detect GC locker stall
Reviewed-by: sjohanss, tschatzl, egahlin
2021-01-27 15:28:46 +00:00
Roberto Castañeda Lozano
f353fcf256 8258894: C2: Forbid GCM to move stores into loops
Prevent GCM from placing memory-writing nodes (such as stores) into loops deeper
than their home loop (determined by their control input). Such placements are
invalid, as they cause memory definitions to interfere, and risk causing
miscompilations. This change complements JDK-8255763, which only addresses
invalid placements in irreducible CFGs.

Add control input to stores in generated stubs to ensure that all memory-writing
nodes have control inputs from which their home block can be derived.

Add a battery of simplified fuzzer test cases where, before this change, GCM
moves stores into deeper loops.

Reviewed-by: thartmann, kvn
2021-01-27 15:08:39 +00:00
Chris Hegarty
ac276bb394 8257074: Update the ByteBuffers micro benchmark
Reviewed-by: redestad, dfuchs, jvernee, bpb
2021-01-27 14:09:15 +00:00
Jan Lahoda
b3c8a52803 8259050: Error recovery in lexer could be improved
Reviewed-by: vromero
2021-01-27 11:00:12 +00:00
Sergey Bylokhov
e1411fd4d4 6606673: Path2D.Double, Path2D.Float and GeneralPath ctors throw exception when initialCapacity is negative
Reviewed-by: psadhukhan, kizune
2021-01-27 02:52:37 +00:00
Fernando Guallini
9f0a043648 8260286: Manual Test "ws/open/test/jdk/sun/security/tools/jarsigner/compatibility/Compatibility.java" fails
Reviewed-by: rhalade
2021-01-26 18:15:26 +00:00
Vicente Romero
408772c966 8259025: Record compact constructor using Objects.requireNonNull
Reviewed-by: mcimadamore
2021-01-26 16:00:41 +00:00
Severin Gehwolf
af8a08f584 8260378: [TESTBUG] DcmdMBeanTestCheckJni.java reports false positive
Reviewed-by: dcubed
2021-01-26 15:18:56 +00:00
Harold Seigel
e080ce9212 8252545: runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryError.java timed out
Reviewed-by: stuefe, coleenp
2021-01-26 13:17:08 +00:00
Guoxiong Li
23edb6f6b2 8236490: Compiler bug relating to @NonNull annotation
Reviewed-by: vromero, jfranck
2021-01-26 08:57:20 +00:00
Serguei Spitsyn
c538cd8b79 8165276: Spec states to invoke the premain method in an agent class if it's public but implementation differs
Reviewed-by: mchung, dholmes, alanb
2021-01-26 07:15:50 +00:00
Jonathan Gibbons
982e42b896 8259726: Use of HashSet leads to undefined order in test output
Reviewed-by: hannesw
2021-01-25 21:45:54 +00:00
Jonathan Gibbons
d6fb9d7256 8255464: Cannot access ModuleTree in a CompilationUnitTree
Reviewed-by: vromero
2021-01-25 21:44:58 +00:00
Daniel D. Daugherty
5b0b24b58d 8260381: ProblemList com/sun/management/DiagnosticCommandMBean/DcmdMBeanTestCheckJni.java on Win with ZGC
Reviewed-by: sspitsyn, sgehwolf
2021-01-25 18:20:21 +00:00
Martin Balao
47c7dc7734 8258833: Cancel multi-part cipher operations in SunPKCS11 after failures
Reviewed-by: valeriep
2021-01-25 18:01:59 +00:00
Christian Hagedorn
c5ab7c3214 8260284: C2: assert(_base == Int) failed: Not an Int
Reviewed-by: thartmann, kvn
2021-01-25 17:09:52 +00:00
Severin Gehwolf
af155fc068 8258836: JNI local refs exceed capacity getDiagnosticCommandInfo
Reviewed-by: cjplummer, shade
2021-01-25 08:57:56 +00:00
Ioi Lam
5898ab6545 8259894: refactor parts of jvm.h into jvm_io.h and jvm_constants.h
Reviewed-by: dholmes, coleenp
2021-01-25 08:00:40 +00:00
Hamlin Li
c52c6c66db 8260273: DataOutputStream writeChars optimization
Reviewed-by: rriggs, bpb, alanb
2021-01-25 01:05:40 +00:00
Jesper Wilhelmsson
6f2a394314 Merge 2021-01-23 03:15:43 +00:00
Ioi Lam
aa57d07ce8 8259214: MetaspaceClosure support for Arrays of MetaspaceObj
Reviewed-by: fparain, ccheung
2021-01-22 22:47:08 +00:00
Alex Menkov
bdc305e1cb 8258917: NativeMemoryTracking is handled by launcher inconsistenly
Reviewed-by: zgu
2021-01-22 21:33:02 +00:00
Stuart Marks
a8871776e6 8246788: ZoneRules invariants can be broken
Reviewed-by: rriggs, naoto
2021-01-22 18:51:32 +00:00
Johannes Kuhn
bf5e801501 8259922: MethodHandles.collectArguments does not throw IAE if pos is outside the arity range
Reviewed-by: mchung
2021-01-22 17:18:06 +00:00
Sean Coffey
18eb6d9e34 8255348: NPE in PKIXCertPathValidator event logging code
Reviewed-by: mullan
2021-01-22 15:31:35 +00:00
Kim Barrett
a97f3c18d5 8258853: Support separate function declaration and definition with ENABLE_IF-based SFINAE
Add ENABLE_IF_SDEFN, unit tests

Reviewed-by: jrose, eosterlund
2021-01-22 14:44:35 +00:00
Harold Seigel
f928265e81 8260009: InstanceKlass::has_as_permitted_subclass() fails if subclass was redefined
Reviewed-by: lfoltan, sspitsyn, dholmes
2021-01-22 13:52:05 +00:00
Kim Barrett
7ed8ba1ca0 8256814: WeakProcessorPhases may be redundant
Remove WeakProcessorPhase, adding scoped enum categories to OopStorageSet.

Reviewed-by: stefank, tschatzl, rkennke
2021-01-22 13:12:39 +00:00
Claes Redestad
58ceb25443 8259842: Remove Result cache from StringCoding
Reviewed-by: naoto, plevart, rriggs
2021-01-22 11:27:13 +00:00
Thomas Stuefe
d066f2b06c 8260030: Improve stringStream buffer handling
Reviewed-by: iklam, kbarrett
2021-01-22 09:00:56 +00:00
Prasanta Sadhukhan
1452280073 8164484: Unity, JTable cell editor, javax/swing/JComboBox/6559152/bug6559152.java
Reviewed-by: serb, jdv
2021-01-22 08:02:56 +00:00
Aleksey Shipilev
a70acf2c1e 8259928: compiler/jvmci tests fail with -Xint
Reviewed-by: kvn, iignatyev
2021-01-22 07:05:30 +00:00
Jie Fu
d90e06af7b 8259775: [Vector API] Incorrect code-gen for VectorReinterpret operation
Reviewed-by: rbackman, neliasso, kvn
2021-01-22 00:13:58 +00:00
Brian Burkhalter
a8073efeed 8253478: (se) epoll Selector should use eventfd for wakeup instead of pipe
Reviewed-by: alanb
2021-01-21 21:36:19 +00:00
Aleksey Shipilev
c3c6662528 8259954: gc/shenandoah/mxbeans tests fail with -Xcomp
Reviewed-by: rkennke, zgu
2021-01-21 13:32:45 +00:00
Thomas Stuefe
4dfd8cc4a6 8259897: gtest os.dll_address_to_function_and_library_name_vm fails on AIX
Reviewed-by: mdoerr
2021-01-21 10:30:36 +00:00
Prasanta Sadhukhan
7f7166dbc8 8260035: Deproblemlist few problemlisted test
Reviewed-by: jdv
2021-01-21 08:27:39 +00:00
Jesper Wilhelmsson
133bcb0995 Merge 2021-01-21 05:23:42 +00:00
Claes Redestad
35c9da7031 8259498: Reduce overhead of MD5 and SHA digests
Reviewed-by: valeriep
2021-01-20 23:45:55 +00:00
Claes Redestad
27cc62a5c7 8259911: byteArrayViewVarHandle should throw ArrayIndexOutOfBoundsException
Reviewed-by: jvernee, mchung
2021-01-20 23:42:58 +00:00
Hai-May Chao
8b95d9549e 8256895: Add support for RFC 8954: Online Certificate Status Protocol (OCSP) Nonce Extension
Reviewed-by: jnimeh, mullan
2021-01-20 22:23:50 +00:00
Igor Ignatyev
0408b23bcf 8259757: add a regression test for 8259353 and 8259601
Co-authored-by: Xiaohong Gong <xgong@openjdk.org>
Co-authored-by: Igor Ignatyev <iignatyev@openjdk.org>
Reviewed-by: kvn, jiefu
2021-01-20 18:48:10 +00:00
Claes Redestad
5891509d13 8259947: (fs) Optimize UnixPath.encode implementation
Reviewed-by: chegar, shade, alanb
2021-01-20 15:14:48 +00:00
Stanimir Stamenkov
70b5b3119b 8257664: HTMLEditorKit: Wrong CSS relative font sizes
Reviewed-by: aivanov, psadhukhan
2021-01-20 13:34:52 +00:00
Tobias Hartmann
7c32ffea51 8258383: vmTestbase/gc/g1/unloading/tests/unloading_compilation_level[1,2,3] time out without TieredCompilation
Reviewed-by: kvn
2021-01-20 11:48:27 +00:00
Jesper Wilhelmsson
cf25383d19 Merge 2021-01-19 22:49:44 +00:00