Joe Darcy
a5b5712733
8235496: Start of release updates for JDK 16
...
8245585: Add SourceVersion.RELEASE_16
8245586: Add source 16 and target 16 to javac
8245544: com/sun/tools/javac/platform/JDKPlatformProvider.java does not support ct.sym with platform versions 16+
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: erikj, dholmes, ihse, neugens, jjg, jlahoda, jlaskey, mikael
2020-06-07 20:02:03 -07:00
Ioi Lam
f39a71cafe
8243506: SharedBaseAddress is ignored by -Xshare:dump
...
Reviewed-by: stuefe, ccheung
2020-06-02 01:08:44 -07:00
Daniel D. Daugherty
00f223e22f
8153224: Monitor deflation prolong safepoints
...
Add support for AsyncDeflateIdleMonitors (default true); the async deflation work is performed by the ServiceThread.
Co-authored-by: Carsten Varming <varming@gmail.com>
Reviewed-by: dcubed, rehn, rkennke, cvarming, coleenp, acorn, dholmes, eosterlund
2020-06-01 23:37:14 -04:00
Vicente Romero
d42bfef8a4
8227046: compiler implementation for sealed classes
...
8225056: VM support for sealed classes
8227044: javax.lang.model for sealed classes
8227045: Preview APIs support for sealed classes
8227047: Javadoc for sealed types
8245854: JVM TI Specification for sealed classes
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, forax, darcy, dholmes, jlahoda, lfoltan, mchung, sspitsyn, vromero
2020-06-01 17:00:40 -04:00
David Holmes
686ca5ae49
8243936: NonWriteable system properties are actually writeable
...
Reviewed-by: iklam, dcubed
2020-05-28 02:58:56 -04:00
Stefan Johansson
2ff952bf32
8245723: Remove PrintCompressedOopsMode and change gc+heap+coops info log to debug level
...
Reviewed-by: dholmes, coleenp, tschatzl
2020-05-27 11:48:13 +02:00
Coleen Phillimore
6aa15ad7ab
8166358: Re-enable String verification in java_lang_String::create_from_str()
...
Check for invalid strings in class names in debug mode, and only verify valid strings in create_for_str().
Reviewed-by: dholmes, hseigel
2020-05-26 09:44:17 -04:00
Jie Fu
039b259e94
8245761: [TESTBUG] runtime/logging/TestMethodHandlesVerbose.java fails with release VMs
...
Reviewed-by: dholmes
2020-05-26 09:18:27 +08:00
Christian Hagedorn
9b94b9d1a1
8244946: fatal error: memory leak: allocating without ResourceMark with -XX:+Verbose -Xlog:methodhandles
...
Fix crash due to a missing ResourceMark when logging methodhandles with Verbose.
Reviewed-by: dcubed, dholmes, coleenp
2020-05-25 11:34:11 +02:00
Thomas Stuefe
04e6b743db
8243392: Remodel CDS/Metaspace storage reservation
...
Reviewed-by: iklam, coleenp, ngasson, aph
2020-05-24 19:25:29 +02:00
Ioi Lam
7d330d34f1
8245335: [TESTBUG] DeterministicDump.java fails with release JVM
...
Reviewed-by: stuefe, dholmes, jiefu
2020-05-21 15:56:27 -07:00
Mikael Vidstedt
071bd521bc
8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
...
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Coleen Phillimore
60728a487c
8242424: Deprecate InitialBootClassLoaderMetaspaceSize
...
8243147: Deprecate UseLargePagesInMetaspace
Mark these options for deprecation
Reviewed-by: stuefe, dcubed
2020-05-18 11:31:16 -04:00
Martin Doerr
76b76654d2
8235673: [C1, C2] Split inlining control flags
...
Reviewed-by: neliasso, kvn, thartmann
2020-05-18 10:57:16 +02:00
Ioi Lam
d5bd523869
8244536: cds/DeterministicDump.java failed: File content different
...
Reviewed-by: ccheung, stuefe
2020-05-17 15:10:06 -07:00
Claes Redestad
a09720f2ee
8232213: runtime/MemberName/MemberNameLeak.java fails intermittently
...
Reviewed-by: dcubed, coleenp
2020-05-16 01:35:38 +02:00
Calvin Cheung
71cc95e4b1
8243947: [TESTBUG] hotspot/jtreg:hotspot_appcds_dynamic fails when the JDK doesn't have default CDS archive
...
Generate a default CDS archive when necessary before running AppCDS dynamic tests.
Reviewed-by: iklam
2020-05-14 20:34:18 +00:00
David Holmes
17dd7dc38c
8240588: _threadObj cannot be used on an exiting JavaThread
...
Reviewed-by: rehn, dcubed, kbarrett
2020-05-13 22:29:54 -04:00
Patricio Chilano Mateo
398a2b3c37
8231264: Implementation of JEP 374: Disable biased-locking and deprecate all flags related to biased-locking
...
Changed default value of UseBiasedLocking to false and deprecated related flags.
Reviewed-by: dholmes, dcubed
2020-05-13 15:47:10 +00:00
Erik Österlund
382e5dc334
8241825: Make compressed oops and compressed class pointers independent (x86_64, PPC, S390)
...
Reviewed-by: coleenp, fparain, stuefe, mdoerr
2020-05-13 09:36:12 +00:00
Zhengyu Gu
0cf828153c
8241086: Test runtime/NMT/HugeArenaTracking.java is failing on 32bit Windows
...
Reviewed-by: stuefe
2020-05-06 16:02:10 -04:00
Igor Ignatyev
9f86d94580
8244491: make runtime/cds/appcds/TestZGCWithCDS.java test more robust
...
Reviewed-by: dholmes
2020-05-05 18:02:11 -07:00
Igor Ignatyev
bc8065facd
8244485: runtime/cds/appcds/TestZGCWithCDS.java fails after 8244385
...
Reviewed-by: dcubed
2020-05-05 14:55:23 -07:00
Ioi Lam
eadcb08c3c
8241071: Generation of classes.jsa with -Xshare:dump is not deterministic
...
Reviewed-by: dholmes, stuefe
2020-05-05 11:10:02 -07:00
Igor Ignatyev
c976be69c3
8244385: various clean-ups in runtime tests
...
Reviewed-by: minqi
2020-05-05 09:27:22 -07:00
Stefan Karlsson
81597d9f8f
8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts
...
Reviewed-by: dholmes, cjplummer
2020-05-04 21:20:39 +02:00
Igor Ignatyev
bcf3ae8245
8244142: some hotspot/runtime tests don't check exit code of forked JVM
...
Reviewed-by: gziemski, minqi
2020-04-29 19:55:52 -07:00
Igor Ignatyev
47c30dbc16
8244141: use @requires and SkippedException in some hotspot/runtime tests
...
Reviewed-by: minqi, gziemski
2020-05-02 07:17:20 -07:00
Yumin Qi
832272da71
8178349: Cache builtin class loader constraints to avoid re-initializing itable/vtable for shared classes
...
Record loader constraints for built-in class which is loaded by app loader or platform loader in shared archive in dump time. When the class loaded from shared archive at runtime, directly check loader constraints using the saved info so avoid lengthy relayout i/v-table at class link stage.
Reviewed-by: iklam, ccheung
2020-05-01 10:58:45 -07:00
David Holmes
a0d04ad0ae
8244173: Uncomment subtest in runtime/InvocationTests/invocationC1Tests.java
...
Reviewed-by: hseigel, iignatyev
2020-04-30 19:18:28 -04:00
Igor Ignatyev
46fe7e303b
8243945: use driver mode in runtime tests
...
Reviewed-by: dholmes, dcubed, gziemski
2020-04-29 19:51:45 -07:00
Stefan Karlsson
35af52dd4f
8244010: Simplify usages of ProcessTools.createJavaProcessBuilder in our tests
...
Reviewed-by: lmesnik, iignatyev, coleenp, dholmes
2020-04-29 08:52:18 +02:00
Igor Ignatyev
a9d14e1462
8243944: use SkippedException and @requires in runtime/memory/ReadFromNoaccessArea.java test
...
Reviewed-by: minqi
2020-04-28 21:17:32 -07:00
Igor Ignatyev
70e632d5ec
8243935: remove copying of s.h.WB$WhiteBoxPermission in hotspot tests
...
Reviewed-by: dholmes, stefank
2020-04-28 19:57:02 -07:00
Harold Seigel
941643ece9
8242921: test/hotspot/jtreg/runtime/CompactStrings/TestMethodNames.java uses nashorn script engine
...
Put method names in a .jcod file instead of using nashorn to generate them
Reviewed-by: lfoltan, coleenp
2020-04-28 14:13:44 +00:00
Mandy Chung
7cc1371059
8238358: Implementation of JEP 371: Hidden Classes
...
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Claes Redestad
d185fe9953
8242452: During module definition, move conversion of packages from native to VM
...
8242290: Pointless verification in get_package_entry_by_name
Reviewed-by: lfoltan, iklam, hseigel
2020-04-18 19:45:45 +02:00
Lois Foltan
d37985cd70
8210012: Implement Unified Logging Option for -XX:+TraceMethodHandles and -XX:+TraceInvokeDynamic
...
Transition the tracing method handles command line options to unified logging, -Xlog:methodhandles.
Reviewed-by: dholmes, iklam, jrose
2020-04-15 21:01:02 +00:00
Igor Ignatyev
c73934d8c8
8242311: use reproducible random in hotspot runtime tests
...
Reviewed-by: iklam, mseledtsov
2020-04-13 12:32:57 -07:00
Roger Riggs
3cf922b3d1
8242462: Residual Cleanup of rmic removal
...
Reviewed-by: jjg, amlu, erikj, iignatyev, mseledtsov
2020-04-10 16:33:56 -04:00
Patricio Chilano Mateo
89a33e69a7
8240918: [REDO] Allow direct handshakes without VMThread intervention
...
REDO of 8230594
Reviewed-by: dholmes, rehn, mdoerr, coleenp, dcubed
2020-04-08 18:32:21 +00:00
Per Lidén
2e4783411e
8240745: Implementation: JEP 377: ZGC: A Scalable Low-Latency Garbage Collector (Production)
...
Reviewed-by: stefank, eosterlund
2020-04-03 23:40:33 +02:00
Claes Redestad
0d22ad6400
8241427: Coarsen locking in Modules::add_module_exports
...
Reviewed-by: lfoltan, hseigel
2020-03-26 00:02:08 +01:00
Aleksey Shipilev
27ef185bae
8241500: FieldLayout/OldLayoutCheck.java fails in 32-bit VMs
...
Reviewed-by: fparain, dholmes
2020-03-25 07:58:17 +01:00
Yumin Qi
37b7a23317
8241009: CommandLineFlagComboNegative.java fails after JDK-8240563
...
Jtreg turned off UseCompressedOops and messed up vm flag options of children processes.
Reviewed-by: dholmes, stefank
2020-03-20 09:40:30 -07:00
Vladimir Kozlov
6083173f9b
8237045: JVM uses excessive memory with -XX:+EnableJVMCI -XX:JVMCICounterSize=2147483648
...
Limit JVMCICounterSize flag's value range to 1M
Reviewed-by: thartmann, redestad
2020-03-17 12:42:48 -07:00
Yumin Qi
90a39195c1
8240563: [TESTBUG] WB_IsCDSIncludedInVmBuild should support uncompressed oops/klasses
...
With 8232069, CDS works with uncompressed oops/kalsses, detecting CDS code no longer bases on the two flags.
Reviewed-by: iklam
2020-03-12 09:07:11 -07:00
Ioi Lam
b0f32c4431
8240548: [TESTBUG] CDS NoClassToArchive.java fails with Graal
...
Reviewed-by: dholmes, mchung
2020-03-11 21:37:45 -07:00
Calvin Cheung
9e2ab1e363
8232081: Try to link all classes during dynamic CDS dump
...
During CDS dynamic dump, link all classes loaded by the builtin class loaders in JVM_BeforeHalt() and JavaThread::invoke_shutdown_hooks().
Reviewed-by: iklam, dholmes
2020-03-06 15:33:13 -08:00
Matthias Baesken
f10fd7a78e
8240603: Windows 32bit compile error after 8238676
...
Reviewed-by: clanger, dholmes
2020-03-05 13:12:51 +01:00
Yumin Qi
6cb2e02af6
8240546: runtime/cds/appcds/TestZGCWithCDS.java fails with Graal
...
Test failed since Graal does not work with ZGC, fixed in test to skip Graal if ZGC.
Reviewed-by: ccheung
2020-03-04 21:29:14 -08:00
Alexey Bakhtin
8e74ed46df
8239787: AArch64: String.indexOf may incorrectly handle empty strings
...
Reviewed-by: aph, lmesnik, yan
2020-03-03 13:06:50 +03:00
David Holmes
c42de93347
8238676: jni crashes on accessing it from process exit hook
...
Reviewed-by: fparain, gziemski
2020-03-02 19:49:42 -05:00
Mikhailo Seledtsov
35ee1cb2b3
8236938: [TESTBUG] JFR event MetaspaceAllocationFailure is not tested
...
New test for MetaspaceAllocationFailure
Reviewed-by: hseigel, stuefe
2020-03-02 12:16:18 -08:00
Harold Seigel
6bb0536293
8239568: [TESTBUG] LoadLibraryTest.java fails with RuntimeException
...
Throw jtreg.SkippedException instead of failing if shared library isn't unloaded
Reviewed-by: coleenp, lmesnik
2020-03-02 16:10:01 +00:00
Kun Wang
742bdf003e
8239915: Zero VM crashes when handling dynamic constant
...
Reviewed-by: dholmes
2020-02-26 17:32:04 +08:00
Daniel D. Daugherty
882633a738
8239873: [TESTBUG] FieldLayout/OldLayoutCheck.java fails after the fix for JDK-8239503
...
Don't run the test with -XX:-UseCompressedOops.
Reviewed-by: fparain, hseigel
2020-02-27 11:34:48 -05:00
Fairoz Matte
956e20ed16
8239557: [TESTBUG] VeryEarlyAssertTest.java validating "END." marker at lastline is not always true
...
Reviewed-by: dholmes, mseledtsov
2020-02-24 23:44:29 -05:00
Richard Reingruber
bc87e7829e
8239449: [TESTBUG] test/hotspot/jtreg/runtime/TLS/TestTLS.java: skip test if glibc too old for AdjustStackSizeForTLS
...
Reviewed-by: dholmes, jiangli
2020-02-24 14:25:35 +01:00
Per Lidén
35db376986
8239503: FieldLayout/OldLayoutCheck.java fails due to "RuntimeException: Misplaced int field: expected 24 to equal 12"
...
Don't run the test with ZGC.
Reviewed-by: dcubed, coleenp, dholmes
2020-02-20 23:07:02 -05:00
Coleen Phillimore
b4ffe4d8f7
8239461: Use jcod rather than jar files in runtime tests
...
Reviewed-by: hseigel, lmesnik, dholmes
2020-02-20 07:25:14 -05:00
Frederic Parain
8827df9b2d
8239014: -XX:-UseEmptySlotsInSupers sometime fails to reproduce the layout of the old code
...
Reviewed-by: dholmes, coleenp
2020-02-19 08:57:43 -05:00
Harold Seigel
bf6c14f034
8187305: Add logging for shared library loads/unloads
...
Add logging to JVM_LoadLibrary(), JVM_UnloadLibrary(), and JVM_FindLibraryEntry().
Reviewed-by: dholmes, coleenp
2020-02-18 16:30:54 +00:00
Richard Reingruber
eaff9918d2
8239005: [TESTBUG] test/hotspot/jtreg/runtime/StackGuardPages/TestStackGuardPages.java: exeinvoke.c: must initialize static state before calling do_overflow()
...
Reviewed-by: dholmes, clanger
2020-02-13 16:20:14 +01:00
Jose Ziviani
b72e31b39f
8235791: [TESTBUG] Fix comment in TestElfDirectRead.java
...
Reviewed-by: dholmes, iklam
2020-02-13 16:01:46 -05:00
Harold Seigel
d298a05d02
8238175: CTW: Class.getDeclaredMethods fails with assert(k->is_subclass_of(SystemDictionary::Throwable_klass())) failed: invalid exception class
...
Replace the assert with a logging message saying that the class is not a subclass of java.lang.Throwable
Reviewed-by: dholmes, coleenp
2020-02-13 15:43:59 +00:00
Yumin Qi
c37ebcd730
8232069: Enable CDS even when UseCompressedClassPointers and/or UseCompressedOops are false
...
Fix to save UseCompressedOops and UseCompressedClassPointers in shared archive and at runtime run with CDS only if they are matched the stored versions.
Reviewed-by: iklam, ccheung
2020-02-11 12:16:23 -08:00
David Holmes
983fc23fd1
8236844: Deprecate PrintVMQWaitTime to prepare for its removal
...
Reviewed-by: rehn, coleenp, hseigel
2020-02-10 19:58:04 -05:00
Frederic Parain
9886cb401c
8237767: Field layout computation overhaul
...
Reviewed-by: dholmes, coleenp, lfoltan, shade
2020-02-10 09:49:12 -05:00
David Holmes
9f21d809ab
8238460: Provide warnings about the use of JNI RegisterNatives to rebind native methods for boot/platform classes in other classloaders
...
Reviewed-by: jwilhelm, lfoltan
2020-02-06 21:03:40 -05:00
Mikhailo Seledtsov
ccb4ab5499
8179317: [TESTBUG] rewrite runtime shell tests in java
...
Converted shell tests to Java
Reviewed-by: dholmes, iignatyev, lmesnik
2020-02-05 07:31:13 -08:00
Ioi Lam
f6eaac48b8
8238198: Avoid using @ tags in TestOptionsWithRanges_generate.sh
...
Reviewed-by: iignatyev
2020-01-31 14:18:30 -08:00
Nick Gasson
987ba9f3a4
8237521: Memory Access API fixes for 32-bit
...
Reviewed-by: mcimadamore, dholmes
2020-01-24 17:41:44 +08:00
Ioi Lam
73cdeafe98
8237046: [TESTBUG] runtime/CommandLine/OptionsValidation/TestOptionsWithRanges_generate.sh should be excluded from testing
...
Reviewed-by: dcubed, mseledtsov
2020-01-29 12:01:31 -08:00
Jesper Wilhelmsson
efa4d2f9e1
Merge
2020-01-28 07:25:31 +01:00
David Holmes
8c33bba226
8237918: Bad copyright line in a hotspot test
...
Reviewed-by: jjg
2020-01-27 20:01:35 -05:00
Patricio Chilano Mateo
5e9d3fdc9c
8237756: Backout: JDK-8230594: Allow direct handshakes without VMThread intervention
...
Backout JDK-8230594
Reviewed-by: coleenp, dcubed
2020-01-23 17:26:52 +00:00
Ioi Lam
d5bdb76e84
8236236: Eliminate CDS md region and consolidate c++ vtable patching code
...
Reviewed-by: ccheung
2020-01-22 11:52:27 -08:00
Patricio Chilano Mateo
b25bb17b41
8230594: Allow direct handshakes without VMThread intervention
...
Introduce direct handshakes and enable it for biased locking revocations.
Reviewed-by: dholmes, dcubed, coleenp, rehn
2020-01-22 16:46:46 +00:00
Mikael Vidstedt
3318314c7c
8237589: Fix copyright header formatting
...
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Chris Hegarty
eec0e71c04
8235550: Clarify record reflective support specification
...
Reviewed-by: mcimadamore
2019-12-10 19:12:57 +00:00
Coleen Phillimore
65354d838a
8236901: 8232759 missed a test case
...
Use jcmd GC.class-histogram because it also works for verifying that the classes are loaded.
Reviewed-by: dholmes, mseledtsov, iklam
2020-01-17 06:56:29 -05:00
Igor Ignatyev
e2240b714e
8236111: narrow allowSmartActionArgs disabling
...
Reviewed-by: dholmes, mullan, darcy, rriggs
2020-01-15 21:20:40 -08:00
Coleen Phillimore
c4b8e38de4
8236224: Obsolete the FieldsAllocationStyle and CompactFields options
...
Remove the options and code for options deprecated in JDK 14
Reviewed-by: dholmes, hseigel, fparain
2020-01-07 13:11:35 -05:00
Ioi Lam
d1ad0eaf8f
8233826: Change CDS dumping tty->print_cr() to unified logging
...
Reviewed-by: coleenp, dholmes, jiangli
2019-12-19 23:04:49 -08:00
Nick Gasson
aea0a57512
8234794: AArch64: runtime/memory/ReadFromNoaccessArea.java crashes
...
Try to map CDS shared space at 4G aligned address on AArch64
Reviewed-by: adinn, aph, jiangli, iklam
2019-12-19 09:47:33 +08:00
Calvin Cheung
fae788a200
8235563: [TESTBUG] appcds/CommandLineFlagComboNegative.java does not handle archive mapping failure
...
Use the assertAbnormalExit method of the CDSTestUtils.Result class to handle archive mapping failure.
Reviewed-by: iklam
2019-12-17 16:46:37 -08:00
Ioi Lam
83cb7044e9
8236028: [TESTBUG] Remove dependency of sun.tools.jar from appcds/JarBuilder
...
Reviewed-by: ccheung
2019-12-16 21:24:00 -08:00
Thomas Schatzl
bc97279caf
8235907: Fix tests referencing UseParallelOldGC
...
Remove tests using the obsolete UseParallelOldGC flag.
Reviewed-by: lkorinth, dlong
2019-12-16 23:07:37 +01:00
Ioi Lam
1b4b652408
8235970: [TESTBUG] Remove dependency of sun.tools.jar from RedefineClassHelper
...
Reviewed-by: alanb
2019-12-16 10:04:36 -08:00
Ioi Lam
8b2453f93b
8199290: [TESTBUG] sun.hotspot.WhiteBox$WhiteBoxPermission is not copied
...
Reviewed-by: iignatyev, dholmes
2019-12-16 10:03:42 -08:00
David Holmes
9555be71a5
8235965: Tests using ThreadLocalHandshakes need to stop using it as it no longer exists
...
Reviewed-by: iignatyev, jiefu
2019-12-15 21:56:17 -05:00
Joe Darcy
890826bf5b
8225361: Start of release updates for JDK 15
...
8235497: Add SourceVersion.RELEASE_15
8235528: Add source 15 and target 15 to javac
Reviewed-by: erikj, jjg, jlahoda, dholmes, alanb, hseigel, mikael, chegar
2019-12-10 16:38:53 -08:00
Ioi Lam
749bda0e2d
8235490: AppCDS DynamicArchiveRelocationTest.java failed: 'always map archive(s) at an alternative address' missing
...
Reviewed-by: coleenp, ccheung
2019-12-09 09:59:03 -08:00
Joe Darcy
0da41b464e
8235499: Change HotSpot jtreg records test to better handle JDK updates
...
Reviewed-by: hseigel, iignatyev
2019-12-06 12:13:25 -08:00
Calvin Cheung
4abba17c10
8225219: [TESTBUG] AppCDS tests timed out with -Xcomp and --limit-modules option won't work with Graal
...
Reviewed-by: kvn, iklam, iignatyev
2019-12-06 09:09:33 -08:00
Vicente Romero
827e5e3226
8225054: Compiler implementation for records
...
8225052: javax.lang.model support for records
8225053: Preview APIs support for records
8225055: Javadoc for records
8226314: com.sun.source support for records
8227113: Specification for java.lang.Record
8233526: JVM support for records
Implement records in the compiler and the JVM, including serialization, reflection and APIs support
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
2019-12-04 15:57:39 -05:00
Ioi Lam
ce9ff0924f
8235179: [TESTBUG] DynamicArchiveRelocationTest.java fails with 'runtime archive relocation start' missing
...
Reviewed-by: mseledtsov, ccheung
2019-12-04 11:19:25 -08:00
Harold Seigel
f91513a7b0
8234656: Improve granularity of verifier logging
...
Print brief output for log level 'info'. Print detailed output for 'debug' and 'trace'.
Reviewed-by: iklam, lfoltan, dholmes
2019-12-03 14:10:53 +00:00
Thomas Schatzl
198beefccb
8233301: Implementation of JEP 366: Deprecate the ParallelScavenge + SerialOld GC Combination
...
Deprecate the ParallelScavenge + SerialOld GC combinations by deprecating the UseParallelOldGC flag. Also reviewed by Bernd Eckenfels<ecki@zusammenkunft.net>.
Reviewed-by: pliden
2019-11-27 10:19:45 +01:00
Zhengyu Gu
63b2ab296f
8234270: [REDO] JDK-8204128 NMT might report incorrect numbers for Compiler area
...
Reviewed-by: stuefe, minqi
2019-11-26 09:27:16 -05:00
Ioi Lam
4edbdd1cb3
8234622: [TESTBUG] ArchivedModuleCompareTest.java fails with -vmoptions:-Xlog:cds
...
Reviewed-by: mseledtsov
2019-11-22 15:32:00 -08:00
Harold Seigel
1c5322b998
8234058: runtime/CompressedOops/CompressedClassPointers.java fails with 'Narrow klass base: 0x0000000000000000' missing from stdout/stderr
...
Don't run test on Windows because ASLR can cause unexpected memory addresses
Reviewed-by: coleenp
2019-11-21 18:54:21 +00:00
Igor Ignatyev
1d41e86762
8147017: Platform.isGraal should be removed
...
Reviewed-by: kvn, mseledtsov
2019-11-20 18:23:06 -08:00
Boris Ulasevich
22bcd1677c
8233113: ARM32: assert on UnsafeJlong mutex rank check
...
Reviewed-by: coleenp, dholmes
2019-11-20 09:29:23 +03:00
Igor Ignatyev
d27bcbec06
8234304: runtime/cds/appcds/javaldr tests should use driver mode
...
Reviewed-by: iklam, mseledtsov
2019-11-18 14:13:11 -08:00
Daniel D. Daugherty
e9e1948cfb
8234274: [BACKOUT] JDK-8204128 NMT might report incorrect numbers for Compiler area
...
Reviewed-by: zgu
2019-11-15 21:19:56 -05:00
Zhengyu Gu
5f19f8c823
8204128: NMT might report incorrect numbers for Compiler area
...
Reviewed-by: stuefe, tschatzl
2019-11-15 15:33:34 -05:00
Weijun Wang
c0d097eac6
8214024: Remove the default keytool -keyalg value
...
Reviewed-by: mullan
2019-11-15 09:06:58 +08:00
Ioi Lam
55cef3c4e0
8234196: [TESTBUG] DynamicArchiveRelocationTest.java missing "ArchiveRelocationMode == 1 ...."
...
Reviewed-by: dcubed
2019-11-14 14:54:39 -08:00
Ioi Lam
5678f98a9e
8231610: Relocate the CDS archive if it cannot be mapped to the requested address
...
Reviewed-by: jiangli, coleenp, ccheung
2019-11-13 16:36:54 -08:00
Leo Korinth
1fc67ab002
8232365: Implementation for JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage Collector
...
Reviewed-by: kbarrett, tschatzl, erikj, coleenp, dholmes
2019-11-13 11:37:29 +01:00
Jan Lahoda
29852ecd80
8232684: Make switch expressions final
...
Reviewed-by: alanb, mcimadamore, kvn
2019-11-12 06:32:13 +00:00
Goetz Lindenmaier
bc116ded54
8231757: [ppc] Fix VerifyOops. Errors show since 8231058
...
Also make the checks print the wrong value and where a failure occurred.
Reviewed-by: dholmes, mdoerr
2019-11-11 16:24:35 +01:00
Ioi Lam
6804e318db
8233855: [TESTBUG] appcds/FieldLayoutFlags.java failed to clean up files after test
...
Reviewed-by: hseigel
2019-11-08 11:03:00 -08:00
Ioi Lam
61a6ef79ae
8233086: [TESTBUG] need to test field layout style difference between CDS dump time and run time
...
Reviewed-by: fparain
2019-11-07 16:26:57 -08:00
Jie Fu
9ca5e79bf2
8233671: [TESTBUG] runtime/cds/appcds/sharedStrings/FlagCombo.java fails to compile without jfr
...
Reviewed-by: iklam
2019-11-06 15:20:06 +08:00
Jie Fu
9c2bb3ccf3
8233659: [TESTBUG] runtime/cds/appcds/CommandLineFlagCombo.java fails when jfr is disabled
...
Reviewed-by: iklam
2019-11-06 13:43:25 +08:00
Ioi Lam
1721476038
8232734: [TESTBUG] avoid using JDK symbols in ExtraSymbols.symbols.txt
...
Reviewed-by: ccheung
2019-11-04 12:36:54 -08:00
Ralf Schmelter
04e885b498
8232168: Fix non wide char canonicalization on Windows
...
Reviewed-by: clanger, alanb, ccheung
2019-10-15 17:08:09 +02:00
Alan Bateman
6d98a3bdd8
8205132: Degrade Thread.countStackFrames() to throw UOE
...
Reviewed-by: mchung, dholmes, dcubed
2019-10-31 16:45:58 +00:00
Coleen Phillimore
26da13e59c
8086003: Test fails on OSX with java.lang.RuntimeException 'Narrow klass base: 0x0000000000000000, Narrow klass shift: 3' missing
...
Make the test reserve 1G rather than 3G, so it is more reliable.
Reviewed-by: hseigel, stuefe
2019-10-28 16:41:47 -04:00
Claes Redestad
574263a884
8232613: Move Object.registerNatives into HotSpot
...
Reviewed-by: dholmes, adinn, coleenp, lfoltan, mchung
2019-10-24 09:57:29 +02:00
Benoit Daloze
54be25b07b
8232571: Add missing SIGINFO signal
...
Reviewed-by: dholmes, rriggs
2019-10-22 22:00:21 -04:00
Jie Fu
75d143bcfc
8232593: [TESTBUG] runtime/cds/CheckDefaultArchiveFile.java fails when cds is disabled
...
Reviewed-by: iklam, dholmes
2019-10-18 14:15:10 +08:00
Goetz Lindenmaier
d8c6516c92
8218628: Add detailed message to NullPointerException describing what is null
...
This is the implementation of JEP 358: Helpful NullPointerExceptions.
Reviewed-by: coleenp, clanger, rschmelter, rriggs, forax, mr
2019-10-14 11:36:17 +02:00
Calvin Cheung
1a3f40f25d
8231529: [TESTBUG] runtime/cds/appcds/dynamicArchive/DynamicLotsOfClasses.java shouldn't wrap SkippedException into Exception
...
Removed the try-catch in the test.
Reviewed-by: iklam, lfoltan
2019-10-09 16:42:18 -07:00
Calvin Cheung
b08a8c5cc3
8231606: _method_ordering is not set during CDS dynamic dump time
...
Add the missing DynamicDumpSharedSpaces check in sort_methods(); replace the (DumpSharedSpaces || DynamicDumpSharedSpaces) with the Arguments::is_dumping_archive() function call.
Reviewed-by: iklam, coleenp, jiangli
2019-10-02 16:55:08 -07:00
Ralf Schmelter
98a2c05b5d
8191521: handle long relative path specified in -Xbootclasspath/a on windows
...
Reviewed-by: ccheung, clanger
2019-10-01 14:09:44 +02:00
Coleen Phillimore
98f454c9ca
8184732: Deadlock detection improvements for 'special' locks
...
Assert that special ranked locks cannot safepoint and allow_vm_block and remove locks from the exceptional lock list in no_safepoint_verifier.
Reviewed-by: dholmes, eosterlund
2019-09-30 13:10:11 -04:00
Alan Bateman
72e62cf835
8231413: Several test/hotspot/jtreg/runtime tests updates to run with --illegal-access=deny
...
Reviewed-by: hseigel, lfoltan, dholmes
2019-09-25 09:17:32 +01:00
Calvin Cheung
0da443e7ae
8231097: [TESTBUG] runtime/cds/appcds/DirClasspathTest.java can fail with a mapping error
...
Check output for mapping failure and throw a SkippedException.
Reviewed-by: iklam, dholmes
2019-09-24 20:16:13 -07:00
Ioi Lam
c85075b31a
8231367: [TESTBUG] ParallelLoadTest.java fails with "test.dynamic.dump not supported"
...
Reviewed-by: ccheung
2019-09-24 10:36:35 -07:00
Tobias Hartmann
6bc9833f65
8231058: VerifyOops crashes with assert(_offset >= 0) failed: offset for non comment?
...
Offset method should only be called for comments.
Reviewed-by: roland, dholmes
2019-09-23 14:30:31 +02:00
Ioi Lam
9c92ecba04
8231125: Improve testing of parallel loading of shared classes by the boot class loader
...
Reviewed-by: ccheung, coleenp, dholmes
2019-09-22 17:16:35 -07:00
Ioi Lam
988ac4fec0
8230586: Encapsulate fields in filemap.hpp
...
Reviewed-by: ccheung
2019-09-11 18:31:25 -07:00
Calvin Cheung
a1002d68fc
8230632: [TESTBUG] appcds/NonExistClasspath.java and ClassPathAttr.java failed when running in hotspot_appcds_dynamic test group
...
Exclude NonExistClasspath.java from the test group; increase timeout for ClassPathAttr.java.
Reviewed-by: dcubed, iklam
2019-09-05 11:12:12 -07:00
Jie Fu
c7f0ae07cd
8230376: [TESTBUG] runtime/StackTrace/HiddenFrameTest.java fails with release VM
...
Reviewed-by: dholmes
2019-08-30 01:21:14 -04:00
Coleen Phillimore
e2287af876
8216977: ShowHiddenFrames use in java_lang_StackTraceElement::fill_in appears broken
...
Return NULL source file and negative line number for hidden frames.
Reviewed-by: dholmes, hseigel
2019-08-29 08:52:22 -04:00
Jie Fu
72d8e98a9d
8230228: [TESTBUG] Several runtime/ErrorHandling tests may fail on some platforms
...
Reviewed-by: coleenp, stuefe, mseledtsov
2019-08-28 08:47:40 +08:00
Ioi Lam
a2c067f6e8
8230294: runtime/cds/appcds/ClassPathAttr.java failed with jar operation failed
...
Reviewed-by: lfoltan
2019-08-28 07:41:57 -07:00
Ioi Lam
87eefe2e00
8227370: Remove SharedPathsMiscInfo
...
Reviewed-by: ccheung, jiangli
2019-08-27 22:14:52 -07:00
Adam Farley
ed45bde1a7
8227021: VM fails if any sun.boot.library.path paths are longer than JVM_MAXPATHLEN
...
The size of each path in sun.boot.library.path property should not exceed JVM_MAXPATHLEN
Reviewed-by: dholmes, coleenp, sspitsyn
2019-08-23 03:06:24 -07:00
Calvin Cheung
63baaf7a56
8226645: [TESTBUG] some AppCDS tests rely on illegal reflective access
...
Updated tests to use Lookup.defineClass instead of ClassLoader.defineClass.
Reviewed-by: iklam, dholmes, alanb
2019-08-15 16:23:41 -07:00
Daniel D. Daugherty
2207d884d5
8229212: clear up CHECK_OWNER confusion in objectMonitor.cpp
...
Reviewed-by: dholmes, coleenp
2019-08-13 16:13:22 -04:00
Ioi Lam
e9b271dd10
8229267: [TESTBUG] Remove unnecessary @modules dependencies in CDS tests
...
Reviewed-by: alanb, lfoltan
2019-08-09 13:13:36 -07:00
Rahul Raghavan
090734266c
8227439: Turn off AOT by default
...
Made UseAOT, AOTLibrary experimental and UseAOT false by default
Reviewed-by: iignatyev, kvn
2019-08-08 14:13:16 +05:30
Coleen Phillimore
7c0a5865fb
8228753: Deprecate -XX:FieldsAllocationStyle product option
...
8228749: Deprecate product flag -XX:CompactFields
Reviewed-by: kvn, shade
2019-08-06 07:43:18 -04:00
Patricio Chilano Mateo
3c80eb4f3c
8227528: TestAbortVMOnSafepointTimeout.java failed due to "RuntimeException: 'Safepoint sync time longer than' missing from stdout/stderr"
...
Biased locking was disable for this test.
Reviewed-by: dcubed, mdoerr, dholmes
2019-07-30 17:31:29 -04:00
Coleen Phillimore
1186d8203b
8227123: Assertion failure when setting SymbolTableSize larger than 2^17 (131,072)
...
Increase max size for SymbolTable and fix experimental option range. Fix option range test to include experimental options.
Reviewed-by: jiangli, dholmes, hseigel, gziemski
2019-07-30 09:56:18 -04:00