Compare commits

...

4512 Commits

Author SHA1 Message Date
Artem Semenov
4ddeb18ecc JBR-4432 Context menu not opening for JTextComponent on mac 2022-05-12 16:14:47 +03:00
Dmitry Batrak
31bda0be5f JBR-4463 Activating app-modal dialog brings all app windows to front
(cherry picked from commit 2b05925276)
2022-05-12 07:10:05 +03:00
Maxim Kartashev
1b8b70c02f JBR-4464 Error building latest jbr-dev after JDK-8285730 2022-05-12 07:10:04 +03:00
Maxim Kartashev
371b4fbaf0 JBR-4118 NIO methods fail on Google Drive's virtual volume
If NtQueryDirectoryFile() failed with STATUS_INVALID_PARAMETER,
try again asking for less information with the FileDirectoryInformation
option as "information class". This option works on a mounted
Google Drive, but it doesn't provide file ids, which speed
up file listing. So it is used only as a fall-back solution.

(cherry picked from commit 82693aa985)
2022-05-12 07:10:03 +03:00
Maxim Kartashev
934fb5b9cf JBR-3680 Cherry-pick Google's NIO patches to get faster file listing
Fix regression introduced by Google's NIO patches:
- do not attempt to get the next entry after the directory stream has
been closed already,
- fix FaultyFileSystem that is used in StreamTest.java to throw
the right exception even when getFileAttributeView() is used instead of
readAttributes(),
- removed unnecessary type cast that caused a compilation warning.

Added a test for walking a directory with a non-latin name.

(cherry picked from commit 152a4e886d)
2022-05-12 07:10:02 +03:00
Renaud Paquay
71119f44b2 JBR-3680 Improve performance of WindowsDirectoryStream
Use `NtQueryDirectoryInformation` instead of `FindFirst/FindNext` to
retrieve the list of entries of a directory.

`NtQueryDirectionInformation` has 2 main benefits over
`FindFist`/`FindNext`:

* Performance is about 40% faster

* Each retrieved entry retrieved contains a 64-bit `FileId` in addition
  to the usual attributes, ensuring that returned `java.nio.Path`
  instances hold onto a `BasicFileAttributes` instance that exposes a
  non-null `java.nio.file.attribute.BasicFileAttributes.fileKey()`.

This change also requires creating a new WindowsFileKey class, similar
to UnixFileKey class, so that
`java.nio.file.attribute.BasicFileAttributes.fileKey()` can return an
Object instance that can be used to compare files for equality.

With this change, the Windows implementation of Files.walkFileTree is
about 40% faster when the FOLLOW_LINKS option is not used, and about
2.5x faster when the FOLLOW_LINKS option is used.

When the FOLLOW_LINKS option is used, most calls to
`Files.isSameFile`, which is expensive as it requires 2 file I/O
operations, are avoided because the Path entries returned by the
new WindowsDirectoryStream implementation now contain a non-null
BasicFileAttributes.fileKey(). The remaining calls to
`Files.isSameFile` are performed when Files.walkFileTree need
to compare the initial directory with other entries.

Change-Id: Id79d89d477a6d5dcf151c63a9d6072c6f7ef43b2

(AKA JBR-3680 Cherry-pick Google's NIO patches to get faster file listing)

(cherry picked from commit 7c2d7541ba)
2022-05-12 07:10:01 +03:00
Maxim Kartashev
2ff146fc3b JBR-3498 Windows: exception when trying to delete a directory with a trailing space
Allow Windows Path to have a trailing space despite Windows naming conventions
discouraging it. Many programs - including Explorer - successfully work
with such files or directories.
2022-05-12 07:10:00 +03:00
Dmitry Batrak
76d6229b75 JBR-1518 JBR 11 does not support chain of popups on Linux
(cherry picked from commit 849356ee01)
2022-05-12 07:09:59 +03:00
Dmitry Batrak
2c067fdd25 small corrections to README.md 2022-05-12 07:09:58 +03:00
Dmitry Batrak
e1dadde977 JBR-4306 Robot doesn't work as expected in some cases on macOS
(cherry picked from commits 7d69734465, 0f33031484, 3b5ded0d02)
2022-05-12 07:09:57 +03:00
Alexey Ushakov
151e55467e JBR-4441 RenderPerfTest incorrectly measures performance
Corrected logic, added cleanup for graphics to run XOR and Clip tests. Removed RenderPerfLCDTest
2022-05-12 07:09:56 +03:00
Vitaly Provodin
60b06cf98e JBR-4437 add sources to JBRSDK distributions 2022-05-12 07:09:55 +03:00
Ryan Osial
d4fa711e5f Cache results of font-config pattern search for reuse
(cherry picked from commit 432f637904)
(cherry picked from commit 17bc232f6f)
2022-05-12 07:09:54 +03:00
Maxim Kartashev
30e78175f4 JBR-3948 Linux: SIGSEGV at [libawt_xawt] Java_sun_awt_X11_XInputMethod_createXICNative
The crashes begin with the call to getDefaultConfig() in
createStatusWindow() returning garbage. With 8280468 fixed, there aren't
many reasons left for it to do so; it must be that the argument to the
call (the screen number) is out of range.

This change eliminates the possibilities to get an absolutely incorrect
screen number by checking the return values of several Xlib functions,
which, when fail, will leave their outgoing arguments uninitialized.
This, in turn, can lead to reading some random memory resulting in
equally random screen number that is later being fed to
getDefaultConfig().

Although on modern systems with Xinerama there should really be no
screen other than zero, as the last resort, this number is also
range-checked in getDefaultConfig() itself.
2022-05-12 07:09:53 +03:00
Vitaly Provodin
d39825da91 JBR-4370 create a test checking all JBR artifacts exist - add exit code 2022-05-12 07:09:52 +03:00
Anton Tarasov
41189eab02 JBR-3906 JBR for Linux aarch64 with JCEF is missing, is there any support plan? 2022-05-12 07:09:51 +03:00
Maxim Kartashev
b9fc64d60c JBR-3862 Implement native WatchService on MacOS
The watch service is based on FSEvents API that notifies about file
system changes at a directory level. It is possible to go back to
using the old polling watch service with -Dwatch.service.polling=true.

Features include:
- support for FILE_TREE option (recursive directory watching),
- minimum necessary I/O (no filesystem access more than once
  unless needed),
- one thread ("run loop") per WatchService instance,
- changes are detected by comparing file modification times with
  millisecond precision,
- a directory tree snapshot is taken at the time of WatchKey creation
  and can take a long time (proportional to the number of files).
2022-05-12 07:09:51 +03:00
Anton Tarasov
c05a9636fd JBR-4355 javax/swing/GraphicsConfigNotifier/StalePreferredSize.java: # C [libobjc.A.dylib+0x90ff] objc_release+0x1f
(cherry picked from commit c0b2b59d4a)
2022-05-12 07:09:50 +03:00
Anton Tarasov
bf62f8dcea JBR-4389 [update_1] IDEA UI font becomes too large after disconnecting the external monitor / sleep 2022-05-12 07:09:49 +03:00
Anton Tarasov
3689ae2f06 JBR-4389 IDEA UI font becomes too large after disconnecting the external monitor / sleep 2022-05-12 07:09:48 +03:00
Dmitry Batrak
a9b9f70ce7 remove duplicate bundled JetBrains Mono bold italic font
following JBR-4402

(cherry picked from commit b7e5d3cfcf)
2022-05-12 07:09:47 +03:00
Dmitry Batrak
d3952962dc JBR-4402 The wrong text is rendered in editor 2022-05-12 07:09:46 +03:00
Artem Semenov
afa084c48e JBR-4235 Context menu not readable after opening on Mac OS 2022-05-12 07:09:45 +03:00
Vitaly Provodin
fe3a6235df JBR-4297 add a regression test
(cherry picked from commit 8e94fff6aa)
2022-05-12 07:09:44 +03:00
Konstantin Bulenkov
47916070c0 Update JetBrains Mono font to 2.225 2022-05-12 07:09:43 +03:00
Anton Tarasov
9225f6103b JBR-4362 [mac] system menu opens with duplicated items
(cherry picked from commit e32defe49d)
2022-05-12 07:09:42 +03:00
Alexey Ushakov
d1f642fe7a JBR-4363 Changes in fonts rendering between JBR11 and JBR17
Resolved merge artifact after applying IDEA-57233 fix
2022-05-12 07:09:41 +03:00
Alexey Ushakov
834c750ed2 JBR-3843 IDE text is misaligned vertically when using Consolas font
Use usWinAscent/usWinDescent for metrics on Windows
2022-05-12 07:09:40 +03:00
Alexey Ushakov
7c85cea122 JBR-1110 [JDK11] java/awt/font/Outline/OutlineInvarianceTest.java: Failed for font java.awt.Font[family=Dialog,name=MS Gothic,style=bold,size=30]
Replaced FT_LOAD_NO_HINTING mode for non AA rendering with FT_LOAD_TARGET_LIGHT

(cherry picked from commit 3368768244)
2022-05-12 07:09:39 +03:00
Alexey Ushakov
bb97af7063 JBR-2000 RM 2019.3.1 font rendering regression, normal text is heavier
Added -Djava2d.font.loadFontConfig=bundled to force loading bundled font.conf

(cherry picked from commit 788e078f64)
2022-05-12 07:09:38 +03:00
Dmitry Batrak
d2aeba8305 JBR-4346 [Xfce] Windows are moved unexpectedly between workspaces when modal dialog is shown
(cherry picked from commits ad299f1e74, 800220af16)
2022-05-12 07:09:37 +03:00
Anton Tarasov
e43e4c3d1f JBR-4328 remove LWCToolkit.unsafeNonblockingExecute
(cherry picked from commit 9a3f31a6c4)
2022-05-12 07:09:36 +03:00
Anton Tarasov
ac55f004d1 JBR-4134 PyCharm is slow and unusable on MacBook Pro with M1
(cherry picked from commit 36190505f5)
2022-05-12 07:09:35 +03:00
Anton Tarasov
2c56d2cfdd JBR-4284 Sub items of main menu options are not displayed
A regression of JBR-4208 LWCToolkit.invokeAndWait should not stuck on invocation loss

(cherry picked from commit c464e4748e)
2022-05-12 07:09:34 +03:00
Anton Tarasov
c08a81952a JBR-4119 UI freezes at sun.lwawt.macosx.CAccessibility.getChildrenAndRoles
(cherry picked from commit 6ba79774d8)
2022-05-12 07:09:33 +03:00
Anton Tarasov
e8cfe62b91 JBR-4106 PyCharm hangs with 100% CPU usage on one core 2022-05-12 07:09:32 +03:00
Alexey Ushakov
1d0f87a972 JBR-3827 SIGILL at [libsystem_kernel] __kill in Java Exception at -[CDragSource convertData:]
Added check for drag source
2022-05-12 07:09:31 +03:00
Alexey Ushakov
0fcdb3fedb JBR-3366 SIGILL at [libsystem_kernel] __kill in NSWindowStyleMaskFullScreen cleared on a window outside of a full screen transition
Wrapped the native exception and added logging
2022-05-12 07:09:30 +03:00
Alexey Ushakov
d988d507c8 JBR-3365 SIGILL at [libsystem_kernel] __kill in java.lang.RuntimeException: Failed to convert, no screen / primaryScreen
Wrapped the native exception and added logging
2022-05-12 07:09:29 +03:00
Dmitry Batrak
ed81e28306 JBR-3751 Window content isn't rendered with some window managers on Linux
(cherry picked from commit 8d22e4dcb0)
2022-05-12 07:09:28 +03:00
Vitaly Provodin
105ce6092b JBR-4188 add script comparing performance results
add exec permissions && fix misprint in checking if headers exist

move the script comparing performance results from jdk8u_test
2022-05-12 07:09:27 +03:00
Vitaly Provodin
d6b5a423b1 JBR-4294 split desktop tests to more groups for Commit testing 2022-05-12 07:09:26 +03:00
Maxim Kartashev
f4964712cb JBR-1430 (8195129) Windows: use UTF16 version of Win32 API to load DLL
Also correct library name encoding in exception messages.
2022-05-12 07:09:25 +03:00
Vladimir Kempik
396acef4ae JBR-4283: Provide native JBR builds for alpine Linux-aarch64 2022-05-12 07:09:24 +03:00
Vladimir Kempik
8324febed9 JBR-4242:Provide native JBR builds for alpine Linux 2022-05-12 07:09:23 +03:00
Dmitry Batrak
a446e9228d JBR-4281 Window losing focus isn't detected in some cases on macOS
(cherry picked from commit 363650bbf4)
2022-05-12 07:09:22 +03:00
greg
f514759649 macOS: add methods to setup transparent titlebar with custom height (#100)
* macOS: add methods to setup transparent titlebar with custom height

* make windowTransparentTitleBarHeight CPlatfromWindow property

* add windowTransparentTitleBarHeight test

* Prevent mouseUp events on the transparent header on macOS when the window is being dragged

Co-authored-by: Manuel Unterhofer <manuel.unterhofer@jetbrains.com>

Custom macOS window decorations via JBR API

squash! macOS: add methods to setup transparent titlebar with custom height (#100)

JBR-4460 Fix window drag with custom decorations on macOS
2022-05-12 07:09:21 +03:00
Denis Fokin
4383e980bc JBR-4038 [JBR17] Force Touch events are not supported on macOS
Added missing files and handlers from JBR11
2022-05-12 07:09:19 +03:00
Alexey Ushakov
dc6d15a583 JBR-3901 jbr-dev compile problem
Added transient keyword
2022-05-12 07:09:18 +03:00
Alexander Lobas
8ebc8eeda9 JBR-2893 Big Sur: Add support of opening project as tabs IDEA-257932 Big Sur: IDEA hangs after closing a project tab after exiting and entering full screen
Converted JNF to JNIUtilites

(cherry picked from commit f02e31a440)
(cherry-picked from commit a84736ebcc)
2022-05-12 07:09:17 +03:00
Dmitry Batrak
1dc988aaf2 JBR-3676 WINDOW_ACTIVATED/DEACTIVATED events sent to a frame when child window closes on macOS
(cherry-picked from commit 824f9ebec3)
2022-05-12 07:09:16 +03:00
Dmitry Batrak
1009f63c5f JBR-3611, JBR-3633, JBR-3666, JBR-3663, JBR-3671, JBR-3673, JBR-4181, JBR-4186 Interoperability with macOS desktop spaces
(cherry-picked from commits 43fdd6cd26, 75335543f2, a156c6b9bf, 9fdc75969b, 1dcc612a81, 93588d0738, 94a3885bbe, c040e05703, 67b6cd871f, 9040fd56cd)
2022-05-12 07:09:15 +03:00
Dmitry Batrak
d68119cadd refactor nativeCreateNSWindow call wrapping
as part of JBR-3017

(cherry picked from commit eeef67a335)
2022-05-12 07:09:14 +03:00
Dmitry Batrak
eb5e702d5e remove excessive wrapping with AccessController (AWTThreading does it internally now)
as part of JBR-3017

(cherry picked from commit f1dd523ba8)
2022-05-12 07:09:13 +03:00
Dmitry Batrak
a9cddeef73 JBR-2971 Log more information about window creation and property changes
(cherry picked from commit 9d86b4d235)
2022-05-12 07:09:12 +03:00
Dmitry Batrak
f16da8791e JBR-2533 Popup is not focused on click when switching from another application on macOS
(cherry picked from commits d9ff151211, 67b174dc8c, 72b0add80c, 21af1eba85, 2f1d317d87, 6dd334f9f0, cd863bac0d, 010f6fc951, 25e087d269, parts of 7d5ac56b6c, cd6dd5c3cf, e8bbd8ffdd)

with fix for JBR-3640 (java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFAppModalTest.java: window Open button lost focus when it should not) and JBR-3979 (Focus is not transferred to parent window)
2022-05-12 07:09:11 +03:00
Anton Tarasov
e6949b3080 JBR-4208 LWCToolkit.invokeAndWait should not stuck on invocation loss 2022-05-12 07:09:10 +03:00
Nikita Provotorov
f10d9df3bc JBR-4271: JBR17 and dev built without --with-vendor-name parameter have invalid value of the java.vm.vendor property.
Changes the default JBR's vendor from "Oracle Corporation" to "JetBrains s.r.o.".

(cherry picked from commit 0cb7b4565c)
2022-05-12 07:09:09 +03:00
Nikita Gubarkov
491b9eddbc JBR API v0.0.3
JBR-4228 report HTMINBUTTON, HTMAXBUTTON, HTCLOSE, HTMENU, HTCAPTION targets via JBR API & handle corresponding non-client mouse events for windows with custom decoration
2022-05-12 07:09:08 +03:00
Alexey Ushakov
71850da10c JBR-4224 java/awt/image/VolatileImage/GradientPaints.java: Number of mismatches (300000) exceeds limit (54000) with tolerance=5
Updated reg test to handle contentLost event
2022-05-12 07:09:07 +03:00
Vitaly Provodin
ea87dbabec exclude javax/swing/border/TestTitledBorderLeak.java on windows due to 8213531 2022-05-12 07:09:06 +03:00
Ivan Lopatin
0d40dde24c Scale2: exclude java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java due to 8279190 on macosx-all 2022-05-12 07:09:05 +03:00
Nikita Provotorov
09111866d0 JBR-3299: The test /jb/sun/awt/macos/NationalLayoutTest/Layout_ABC.java fails on MacOS.
Fixes the Layout_*.java tests by giving them to know the <Ctrl + key> combinations can generate KEY_TYPED event.

(cherry picked from commit eae5198b20)
2022-05-12 07:09:04 +03:00
Vitaly Provodin
c51c63adb1 exclude java/awt/Frame/FrameSetSizeStressTest/FrameSetSizeStressTest.java on Wayland
sun/security/pkcs11/Signature/TestDSAKeyLength.java                                 8279941 linux-all
2022-05-12 07:09:03 +03:00
Alexey Ushakov
b131765072 JBR-4112 macOS: SIGILL at [libsystem_kernel] __kill in OOME: Java heap space at java.awt.image.DataBufferInt.<init>
Reg test update: replace management api with jfr
2022-05-12 07:09:02 +03:00
Nikita Provotorov
9bf33f49c7 JBR-4207, IDEA-287559: IDEA incorrectly handles AltGr key modifier.
This commit reverts the fix of JDK-8041928 and disables its regression tests.

(cherry picked from commit ba5209ec06)
2022-05-12 07:09:01 +03:00
Nikita Provotorov
62fffb92bd JBR-4207, IDEA-287559: IDEA incorrectly handles AltGr key modifier.
Renames the test AltGrMustGenerateAltGrModifierTest3838.java to AltGrMustGenerateAltGrModifierTest4207.java.

(cherry picked from commit ed60a9c2bd)
2022-05-12 07:09:00 +03:00
Maxim Kartashev
d26b53242c JBR-4173 Tier1 test failures in jdk/javadoc/doclet/testModules
Introduction of JBR API changed the order of modules appearing in Java
Doc. This commit updates the corresponding tests to match the current
output with JBR API.

(cherry picked from commit 609406c21b)
2022-05-12 07:08:59 +03:00
Nikita Gubarkov
15839e6294 JBR-2567 Fix max file path buffer size for fontpath.c 2022-05-12 07:08:58 +03:00
Vitaly Provodin
89e326905e exclude sun/security/pkcs11/Signature/TestDSAKeyLength.java on Ubuntu 21.04 due to 8279941 2022-05-12 07:08:57 +03:00
Anton Tarasov
8cb16a49d9 JBR-4204 provide an option to disable a11y support on macOS
(cherry picked from commit ee3c56abdc)
2022-05-12 07:08:56 +03:00
Vitaly Provodin
da723ef771 exclude two swing tests on Windows due to JBR-4197 2022-05-12 07:08:55 +03:00
Alexey Ushakov
71534763b2 JBR-4112 macOS: SIGILL at [libsystem_kernel] __kill in OOME: Java heap space at java.awt.image.DataBufferInt.<init>
Removed double allocation of surface data
2022-05-12 07:08:54 +03:00
Alexey Ushakov
1ee7bb51ec JBR-4187 java/awt/GraphicsDevice/DisplayModes/UnknownRefrshRateTest.java.UnknownRefrshRateTest fails on mac
Constrained display modes count used by the test
2022-05-12 07:08:53 +03:00
Alexey Ushakov
81010d43ab JBR-4177 libc++abi: terminating with uncaught exception of type NSException
Added check for AppContext
2022-05-12 07:08:52 +03:00
Alexey Ushakov
641873f301 JBR-4174 java/awt/FullScreen/FullScreenInsets/FullScreenInsets.java fails on mac aarch64
Hide cursor to fix OGL&Metal Robot issue (it reads cursor image). Added tolerance to fix Metal Robot inaccuracy.
2022-05-12 07:08:51 +03:00
Artem Semenov
16ca57c079 JBR-4167 [JCK] AccassibleJTree tests fail on Ubuntu 2022-05-12 07:08:50 +03:00
Alexey Ushakov
791f8298d4 JBR-4164 IDEs cannot be launched via launch configuration
Moved execution of displayChanged() to EDT
2022-05-12 07:08:49 +03:00
Maxim Kartashev
461f1ec1a3 JBR-3917 Problem using windows certificate store (trustStoreType=Windows-ROOT not recognized) 2022-05-12 07:08:48 +03:00
Maxim Kartashev
9ac9a9d491 JBR-4145 Make builds independent from build directory
Supplied the --disable-absolute-path-in-output option to the configure script
when building JBR.
2022-05-12 07:08:46 +03:00
Vitaly Provodin
a62888cc97 JBR-4154 extract version info from sources & JBR-4099 make test-image on jbrsdk_jcef step 2022-05-12 07:08:45 +03:00
Vitaly Provodin
e7717776aa JBR-4169 add jdk.javadoc into JBR 2022-05-12 07:08:44 +03:00
Alexey Ushakov
82d8791239 JBR-4150 IDE regularly locks up at sun.lwawt.macosx.LWCToolkit.getScreenInsets
Restored caching screen insets. Added handling of dock resize.
2022-05-12 07:08:43 +03:00
Vitaly Provodin
307216df68 exclude java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowBlockingTest.java on Wayland configs due to 8279256 2022-05-12 07:08:42 +03:00
Vitaly Provodin
46c9550ca8 exclude java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java on Scale2 configs due to 8279190 2022-05-12 07:08:41 +03:00
Vitaly Provodin
b1a0d638a7 exclude java/awt/FullScreen/UninitializedDisplayModeChangeTest/UninitializedDisplayModeChangeTest.java due to 827361 2022-05-12 07:08:40 +03:00
Vitaly Provodin
e7ccb057f4 add exclude list for Wayland failures 2022-05-12 07:08:39 +03:00
Vitaly Provodin
8202eef508 exclude javax/swing/plaf/basic/BasicComboPopup/JComboBoxPopupLocation /JComboBoxPopupLocation.java on macOS due to 8194945 2022-05-12 07:08:38 +03:00
Vitaly Provodin
0c33d1c94d exclude sun/java2d/SunGraphics2D/EmptyClipRenderingTest.java on windows due to 8144029 2022-05-12 07:08:37 +03:00
Maxim Kartashev
6b91116556 JBR-3948 Linux: SIGSEGV at [libawt_xawt] Java_sun_awt_X11_XInputMethod_createXICNative
The problem: the crashes occur in createStatusWindow() when calls like
adata->AwtColorMatch() end up going to 0x0 pc or some random inaccessible
memory. The only reason for that seems to be the
getDefaultConfig(screen) returning either NULL or garbage. That, in turn, probably
happens because of the wrong screen number provided. Before JBR-3623 was
fixed, awt_numScreens could've changed between the time the screen
number was chosen and the getDefaultConfig() call. After JBR-3623 was
fixed, this change is protected with the AWT lock, which this code
holds.
The fix: obtain the screen number via the Xlib API rather than the
ad-hoc loop though the root windows and return NULL if
getDefaultConfig() doesn't return useable data.

(cherry picked from commit 3d23e8d6a5)
2022-05-12 07:08:36 +03:00
Vitaly Provodin
8e0b53cce4 add exclude list for Scale2 test runs 2022-05-12 07:08:35 +03:00
Vitaly Provodin
6fb102006e exclude java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java due to 8134231 2022-05-12 07:08:34 +03:00
Alexey Ushakov
e8954cc534 JBR-3773 M1 java/awt/Window/WindowAppearanceTest/WindowAppearanceTest.java: : Incorrect color java.awt.Color[r=75,g=74,b=72]at (140,5)
Added more variants of colors for unfocused and focused titles
2022-05-12 07:08:33 +03:00
Artem Semenov
6595b33bda JBR-3775 Optimize the algorithm for obtaining tree elements 2022-05-12 07:08:32 +03:00
Nikita Gubarkov
c5a875b4ea JBR API v0.0.2
Added file dialog customization via JBR API & fixed bugs in windows common item dialog
2022-05-12 07:08:31 +03:00
Vitaly Provodin
40a8801012 JBR-3931 add the module jdk.unsupported.desktop into jbr
(cherry picked from commit 32def2fd42)
2022-05-12 07:08:30 +03:00
Alexey Ushakov
06237aef37 JBR-4111 [JBR17] Make possible to select files and directories independently
Implemented apple.awt.fileDialogForFiles property
2022-05-12 07:08:29 +03:00
Vitaly Provodin
35b44897dc enable fixed tests to regular runs 2022-05-12 07:08:28 +03:00
Vitaly Provodin
e7265853b2 exclude javax/swing tests on mac-aarch64 due to 8277816 2022-05-12 07:08:27 +03:00
Aleksandr Veselov
7970c0fd49 JBR-4107 A11y: macOS - wrong frame position if window is not on primary screen 2022-05-12 07:08:26 +03:00
Alexey Ushakov
9e0845f879 JBR-4060 [JBR17+Metal] Flickering on button's shadow
Removed unnecessary global flag. Optimized mask cache texture clearing code.
2022-05-12 07:08:25 +03:00
Alexey Ushakov
c49a56140c JBR-3954 Transparent text color rendering (needed for experimental UI)
Performed conversion from ARGB_PRE to ARGB in the grayscale text shader
2022-05-12 07:08:24 +03:00
Alexey Ushakov
b2070103ad JBR-3872 [JBR17+Metal] Wrong color for scrollbars and inlay hints
Corrected typo in setTxtUniforms and fixed alpha blending in frag_gmc_text shader
2022-05-12 07:08:23 +03:00
Alexey Ushakov
addb0518e5 JBR-3820 Gamma correction for grayscale text in Metal rendering pipeline
Implemented gamma correction using the same approach that we did for OGL grayscale text rendering (OGLTextRenderer.c)
Optimized shader performance
2022-05-12 07:08:22 +03:00
Alexey Ushakov
fd3c9f3cf0 JBR-4104 jbr-dev compilation failure
Corrected suppress warnings
2022-05-12 07:08:21 +03:00
Vitaly Provodin
1bb738e43d JBR-4067 fix misprint with applying obsolete exclude_jcef_module.patch 2022-05-12 07:08:20 +03:00
Vitaly Provodin
d4b896e50e JBR-3756 remove JNF from mac-aarch64 binaries 2022-05-12 07:08:19 +03:00
Vitaly Provodin
ebf88c8452 JBR-4082 create JBR & JBRSDK installer packages 2022-05-12 07:08:18 +03:00
Dmitry Batrak
f5b1ce26ce JBR-4084 Default font '. AppleSystemUIFont' does not have bold weight on Chinese characters
(cherry picked from commit 4fde082d53)
2022-05-12 07:08:17 +03:00
Maxim Kartashev
0e38cb2978 JBR-3899 SIGSEGV at [libjvm] _ZN23JfrNetworkInterfaceName11on_rotationEv
Prevent JfrNetworkInterfaceName::on_rotation() to dereference a
potentially NULL pointer.

(cherry picked from commit b2a9372d70)
2022-05-12 07:08:16 +03:00
Artem Semenov
882582bff6 JBR-4012 On Idea Vo often speeks selected element of tables, lists, and trees. 2022-05-12 07:08:15 +03:00
Maxim Kartashev
6e5dad7a01 JBR-4061 Specify build user for the build 2022-05-12 07:08:14 +03:00
Maxim Kartashev
3f266362c6 JBR-4063 macOS: update build scripts to produce more deterministic output
Make mkimages.sh produce more deterministic .tar.gz archives on MacOS.
NB: build notarization is not in the scope of this change.

(cherry picked from commit e1a1b6814d)
2022-05-12 07:08:13 +03:00
Maxim Kartashev
fedf1d2e80 JBR-4033 Linux: update build scripts to produce more deterministic output
This commits achieves almost the same build output with the same build
input on Linux. Exceptions are:
- class files timestamps differ in jrt-fs.jar (for all output),
- class files timestamps differ in all the jmod files (for
  jbrsdk...tar.gz).
NB: jbrsdk...test...tar.gz does not need to be deterministic.

This was achieved mainly by
- setting several environment variables (SOURCE_DATE_EPOCH, TZ),
- providing the necessary options to the configure script,
- setting the timestamp of all files that make up the resulting
  archive to SORUCE_DATE_EPOCH and normalizing the list of said
  files before archiving.

(cherry picked from commit ffded82734)
2022-05-12 07:08:12 +03:00
Maxim Kartashev
e663110539 JBR-4059 Create Dockerfile for building on AArch64 Linux 2022-05-12 07:08:11 +03:00
Dmitry Batrak
ce245aaa9c JBR-4021 Unexpected focus event order on window showing
(cherry picked from commit 2a398ebb24)

includes fix for JBR-4131 Popup doesn't get focus if created from context menu

(cherry picked from commit 685562aafc)
2022-05-12 07:08:10 +03:00
Maxim Kartashev
624a2ba241 JBR-4020 Test ObsoleteFlagErrorMessage fails after +IgnoreUnrecognizedVMOptions has become the default
(cherry picked from commit ae5963a094)
2022-05-12 07:08:09 +03:00
Maxim Kartashev
c214c43562 JBR-3923 Internal Error in c1_Instruction.cpp
Make C1 hotspot compiler bail out during CFG construction if there's a
cycle in the graph that isn't a natural loop and that has led to an
unexpected state of stack/locals like missing a phi function.

This is a temporary measure that lets hotspot continue working
even after encountering such bytecode patterns. The full solution
will probably involve more sophisticated CFG checks.

(cherry picked from commit aa0b61cb75)
2022-05-12 07:08:09 +03:00
Artem Semenov
128716cb28 JBR-3868 Combobox list is not voiced of VoiceOver 2022-05-12 07:08:07 +03:00
Vitaly Provodin
10b7209b4a exclude tests spontaneously creating windows during test execution 2022-05-12 07:08:07 +03:00
Maxim Kartashev
54a53fbebd JBR-2755 IDE UI became slow via remote X Server connection from Windows
When XGetImage() calls become slow in a remote X11 session, fake
XGetImage() with client-side XCreateImage() that is filled with some
background color. The color is chosen from several top left corner
pixels of the "slow" images obtained with XGetImage().

This feature activates in a remote X11 session only and is
controlled with -Dremote.x11.workaround={true|false|auto}.
2022-05-12 07:08:06 +03:00
Alexey Ushakov
5bc77fb2e8 JBR-3924 CMD+Tilda does not switch app windows
Introduced vm property to disable capturing of next app window shortcut
2022-05-12 07:08:05 +03:00
Nikita Gubarkov
f494b49349 JBR-2917 Added emoji support for Windows
JBR-3951 Pass real glyph type from native code instead of guessing it by rowBytes & width
2022-05-12 07:08:03 +03:00
Pavel
b73ebd1181 JBR-3926 make AwtComponent transparent for hit events by default
* JBR-3926 make AwtComponent transparent for hit events by default

* [WIP] pass hittest event to frame only if custom decoration is enabled and frame ready to handle it
(cherry picked from commit c0e26ff5d5)
2022-05-12 07:08:02 +03:00
Maxim Kartashev
fd193893d8 JBR-3896 Abysmally slow input and UI performance since upgrade to IU-213.4928.7 from previous 2021.3 EAP version
The slowness was the result of XWM.getInsetsFromExtents() repeated
attempts to acquire frame extents from a property that under Sway is
simply unavailable. Each attempt added at least 20ms to every re-draw.

Prior to (repeatedly) checking for NET_FRAME_EXTENTS property of a
window, check that the property is supported by the window manager.

(cherry picked from commit b40cc1c791)
2022-05-12 07:08:01 +03:00
Anton Tarasov
3b093741e4 JBR-3413 use timeout in CAccessibility.invokeAndWait
(cherry picked from commit e7009db076)
2022-05-12 07:08:01 +03:00
Maxim Kartashev
9211aa5c59 JBR-3916 Deadlock in pGetBounds() on Linux
The deadlock occurred because one thread was holding the AWT lock and
waiting for boundsCacheLock in resetBoundsCache() and the other vice
versa stuck in pGetBounds() owning boundsCacheLock and waiting for the
AWT lock.

The solution is to get rid of boundsCacheLock altogether. It was
introduced in order to never return null from getBoundsCached() so that
resetBoundsCache() wouldn't interfere. But the same effect can be
achieved by simply using a local variable to hold a copy of the current
bounds. The worst case scenario now is that two threads update
boundsCached immediately one after another (if they both have observed
the null value there at about the same time), but that's harmless as
pGetBounds() grabs the AWT lock when necessary.

(cherry picked from commit dc6ad31524)
2022-05-12 07:08:00 +03:00
Vitaly Provodin
e15ab69379 JBR-3905 add incremental JBR building 2022-05-12 07:07:59 +03:00
Vitaly Provodin
585d75b05f JBR-3904 fix the image directory name of macos builds 2022-05-12 07:07:58 +03:00
Dmitry Batrak
0009894a9d log LWCToolkit invokeAndWait requests
as part of JBR-3017, to make investigation of similar issues simpler in the future

(cherry-picked from commit a7fd723e43)
2022-05-12 07:07:57 +03:00
Alexey Ushakov
e47c13ce1c JRE-202 Deadlock in CGLGraphicsConfig.getCGLConfigInfo
Added processing system events while waiting for OGLRenderQueue.lock
Moved getCGLConfigInfo logic execution to AppKit thread so, awt lock is
 taken on one thread

(cherry picked from commit d1c8bf03e1bd41cb075aa73cc39558103af7fe1a)
(cherry picked from commit 6bf9f31986be64acf3755b34568802f9960a66ec)
(cherry picked from commit 4e21d67e0369bffac45662c63699b39946218a7a)
2022-05-12 07:07:56 +03:00
Alexey Ushakov
79d3896473 JRE-193 UI freeze and 12/second thread dumps
Moved CStrikeDisposer dispose code to AppKit

(cherry picked from commit 28774d6878)
2022-05-12 07:07:55 +03:00
Alexander Lobas
0b27afa493 JBR-3660 PhpStorm 2021.2 crashes on selecting iCloud Drive directory in Open dialog
(cherry picked from commit f5434bcaaf)
2022-05-12 07:07:54 +03:00
Alexander Lobas
c60aa057d4 JBR-3629 SIGILL at [libsystem_kernel] __kill NPE at com.intellij.openapi.options.SchemeImportUtil$1.isFileSelectable / -[CFileDialog askFilenameFilter:]
(cherry picked from commit 86c13ecaed)
2022-05-12 07:07:53 +03:00
Alexander Lobas
f8784386d4 JBR-3443 Native file dialog on OSX enable filename filter by VM option
(cherry-picked from commit f10e324538)
2022-05-12 07:07:52 +03:00
Alexander Lobas
2064867e09 JBR-3442 Native file dialog on OSX (for open file) doesn't allow pasting path
(cherry-picked from commit 7d8cc524ca)
2022-05-12 07:07:51 +03:00
Maxim Kartashev
9815eb16e3 Revert "JBR-2755 IDE UI became slow via remote X Server connection from Windows"
This reverts commit cd9138844da770ae60806fd7dbc1e85c773882a8.
2022-05-12 07:07:50 +03:00
Konstantin Aleev
93d01ff5d3 fix memory leaks in AccessibleJTree
(cherry picked from commit 561a7b8def)
2022-05-12 07:07:49 +03:00
Maxim Kartashev
a8bc8c6f93 JBR-3835 Cropped messages in all Message Dialogs in Idea on Ubuntu 18.04.5 LTS with swing alerts enabled
The _NET_FRAME_EXTENTS property that is used to obtain the initial
insets of a dialog window does not immediately get its value and may be
returned as 0 if queried too soon after the window creation.

In order to avoid (incorrect) guessing of dialog's insets, make 3
attempts at getting the insets with a small but increasing pause
in between them.
2022-05-12 07:07:48 +03:00
Maxim Kartashev
87a7681b96 Revert "JBR-3835 Cropped messages in all Message Dialogs in Idea on Ubuntu 18.04.5 LTS with swing alerts enabled"
This reverts commit 8e7aed70976ec0f90c736d86b9cd3e9cf09ff6d4.
2022-05-12 07:07:47 +03:00
Nikita Provotorov
4c4edc0f4a JBR-3838 AltGr on Polish keyboard triggers Ctrl+Alt shortcut.
Add regression test.

(cherry picked from commit 8df43eef4b)
2022-05-12 07:07:46 +03:00
Maxim Kartashev
644449f4c9 JBR-3835 Cropped messages in all Message Dialogs in Idea on Ubuntu 18.04.5 LTS with swing alerts enabled
The _NET_FRAME_EXTENTS property that is used to obtain the initial
insets of a dialog window does not immediately get its value and may be
returned as 0 if queried too soon after the window creation.

In order to avoid (incorrect) guessing of dialog's insets, add an
artificial delay if getInsets() is called too soon.
2022-05-12 07:07:45 +03:00
Vitaly Provodin
f8e3e33a1a configure BOOT_JDK to use JDK 17 2022-05-12 07:07:44 +03:00
Alexey Ushakov
ccdc8ba4ac JBR-3820 Gamma correction for grayscale text in Metal rendering pipeline
Added regression test to compare OGL and Metal text rendering
2022-05-12 07:07:43 +03:00
Artem Bochkarev
ba55ad4076 JBR-1762: request focus of immediate parent when dispose popup
because requesting focus for frame-parent causes to close whole popup chain

(cherry picked from commit 7a2ccfc521)

JBR-1762: fixed review comments

(cherry picked from commit 0efbe5d9b9)
2022-05-12 07:07:42 +03:00
Dmitry Batrak
74a74b4749 JBR-2759 Typeahead issue on Linux
(cherry picked from commits 76bdaf1131, b20c56ff3e)
2022-05-12 07:07:41 +03:00
Artem Bochkarev
b0a2a9760e JBR-1762: request focus of immediate parent when dispose popup
because requesting focus for frame-parent causes to close whole popup chain

(cherry picked from commit 7a2ccfc521)

JBR-1762: fixed review comments

(cherry picked from commit 0efbe5d9b9)
2022-05-12 07:07:40 +03:00
Denis Fokin
e1cacf1d9e JBR-1362 Multiple child windows opened and closed in sequence result in a focus loss
(cherry picked from commit 3c9c599a2d)
2022-05-12 07:07:39 +03:00
Nikita Gubarkov
817933cac1 Added JBR API 2022-05-12 07:07:38 +03:00
Maxim Kartashev
dc1019e4e1 JBR-3813 Regression after fix for JBR-3688
1. Cached bounds and insets must be cloned before return because they
aren't immutable objects.
2. Fixed the deadlock in resetBoundsCache() by synchronizing on a dedicated
lock.

(cherry picked from commit cd5314db8b)
2022-05-12 07:07:37 +03:00
Renaud Paquay
0ff471a755 Add BasicWithKeyFileAttributeView interface
This new interface is similar to `BasicFileAttributeView` except it
gives implementations a hint that the fileKey() should be acquired
even at some performance cost.

`FileTreeWalker` uses this new interface to request a file key
in addition to regular file attributes so that file equality can
be efficiently performed when checking for loops during file
tree traversal.

This makes `FileTreeWalker` about 2x faster when traversing non
trivial file system trees with the FOLLOW_LINKS option.

Change-Id: I8de047c8fc241dbab9ad57c5e361118a3a94893d

(AKA JBR-3680 Cherry-pick Google's NIO patches to get faster file listing)

(cherry picked from commit 6d1c3f06c4)
2022-05-12 07:07:36 +03:00
Ivan Migalev
d4343df1e3 JBR-3785: don't touch the active keyboard layout on input method activation / deactivation.
origin PR: github.com/JetBrains/JetBrainsRuntime/pull/78.

(cherry picked from commit 2f772fd1a2)
2022-05-12 07:07:35 +03:00
Dmitry Batrak
fd3604ccd3 JBR-3779 Unexpected Alt+Tab behaviour for Java frames on Cinnamon DE
(cherry picked from commit 0bf13985d5)
2022-05-12 07:07:34 +03:00
Maxim Kartashev
e1731c7c14 JBR-3688 PyCharm incredibly slow with fakexrandr
Cache screen bounds and insets and (conservatively) reset those caches
upon any possibility of a change.
This feature can be disabled with -Dx11.cache.screen.insets=false and
-Dx11.cache.screen.bounds=false.

Based on commit accef6f21e.
2022-05-12 07:07:33 +03:00
Maxim Kartashev
4d3666b0fd JBR-3772 java/beans/PropertyEditor/TestFontClass.java: access denied ("java.util.PropertyPermission" "sun.awt.x11.trace" "read")
Instead of using System.getProperty() directly, wrap the call into
GetPropertyAction and use AccessController to execute it.
2022-05-12 07:07:32 +03:00
Anton Tarasov
c064dac267 JBR-3655 [followup] jbr-dev build fails to find jcef modules on Windows 2022-05-12 07:07:32 +03:00
Dmitry Batrak
be5acd5ded JBR-3504 a11y focus is set on the wrong element when opening popups
(cherry-picked from commit a69e12e0d2)
2022-05-12 07:07:31 +03:00
Maxim Kartashev
9efaef1d8f JBR-3665 Typing is slow in remote X session
Only call XGetKeyboardMapping() once for all valid codes and cache the
resulting table. Use the cache on the subsequent calls to
keycodeToKeysym().
2022-05-12 07:07:30 +03:00
Maxim Kartashev
585fae930a JBR-2273 JBR musl port
Detect if we're running on a musl-based system by checking for the presence
of the libgcompat.so glibc compatibility library in the process' map.
If so, java is re-started with LD_LIBRARY_PATH set to point to the right
directory with libjvm.so. This works around the problem with the musl
dynamic library loader.

(based on commit 13a904ddb5)
2022-05-12 07:07:29 +03:00
Alexey Ushakov
7decbff3c1 Added support for otf into the build scripts. Updated prebuild maps.
Applied code from jbr-dev
2022-05-12 07:07:28 +03:00
Konstantin Bulenkov
879490d209 bundle Inter font 2022-05-12 07:07:27 +03:00
Maxim Kartashev
8078bd9405 JBR-3664 Logging for communications with X server
Introduced logging controlled with -Dsun.awt.x11.trace.
Currently, only looks at the AWT lock and reports methods holding it
sorted by average hold time.

(based on commit 792a58ea0e)
(based on commit 770b4dc9c1)
2022-05-12 07:07:26 +03:00
Dmitry Batrak
201714797a JBR-3726 Modal windows 'disappear' on minimize in KDE
(cherry picked from commits d9baf2d9db, 9c2841028f, 5c4fd9ceaf, f0ed32fca4)
2022-05-12 07:07:25 +03:00
Maxim Kartashev
cb04abe57f JBR-3712 Add project creation instructions to JBR README
Also changed the version of bootstrap Java to 17.
2022-05-12 07:07:24 +03:00
Maxim Kartashev
2eed50a188 JBR-3542 Fix -Xcheck:jni warnings
Fixes warnings coming from JBR-specific code in addition to those fixed
by 8269223.
2022-05-12 07:07:23 +03:00
Dmitry Batrak
29c7117aa4 JBR-3706 Toggling full screen mode for two frames doesn't work on macOS if invoked without delay
(cherry picked from commit 28cfc4815f)
2022-05-12 07:07:22 +03:00
Dmitry Batrak
0940d34a4c JBR-3686 Background window steals focus when converted to full screen on macOS
(cherry-picked from commit 07a5b9672e)
2022-05-12 07:07:21 +03:00
Dmitry Batrak
be978ef414 JBR-3662, JBR-3672 Focus jumps to another project tab after closing modal dialog
(cherry picked from commit bfd01081c3, 2a71dc5981)
2022-05-12 07:07:20 +03:00
Anton Tarasov
3da96e3abb JBR-3655 jbr-dev build fails to find jcef modules on Windows 2022-05-12 07:07:19 +03:00
Nikita Gubarkov
c184370441 JBR-3648 Replace CacheCellInfo usages with MTLCacheCellInfo in metal rendering code 2022-05-12 07:07:18 +03:00
Dmitry Batrak
bffdd9fa51 JBR-3642 java/awt/Window/8159168/SetShapeTest.java fails on macOS-x64 & macOS-aarch64
make sure jb/java/awt/Focus/Typeahead* tests still pass

includes fixes for JBR-3786 javax/swing/plaf/aqua/CustomComboBoxFocusTest.java fails on MacOS by timeout
(cherry picked from commit f5c5388fb5)

and JBR-4113 java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.java fails by time out on macOS

(cherry picked from commit d8d4c55a61)
2022-05-12 07:07:17 +03:00
Anton Tarasov
89b047e3ec JBR-1834 [linux] runtime hidpi switch is broken
(cherry picked from commit eaa04303a7)
2022-05-12 07:07:16 +03:00
Anton Tarasov
f656d15de1 JBR-1429 Scale is huge due to GDK_SCALE
(cherry-picked from commit 1c3477df2e)
2022-05-12 07:07:16 +03:00
Anton Tarasov
a98bc406e4 JBR-1365 force IDE-managed HiDPI on Linux for fractional scales
(cherry picked from commit f092ff3962)
2022-05-12 07:07:15 +03:00
Anton Tarasov
8bcec961f4 Allow HiDPI mode on Linux 2022-05-12 07:07:14 +03:00
Anton Tarasov
64a679d8a3 JRE-489 -Dswing.bufferPerWindow is fractional scale unfriendly 2022-05-12 07:07:13 +03:00
Anton Tarasov
4960654a88 JRE-310 check for Windows8.1 when enabling ui scale
Was "don't fallback on fractional scale" in JBSDK9.
2022-05-12 07:07:12 +03:00
Maxim Kartashev
3b2a99bbce JBR-3645 Tool to support keeping JBR in sync with OpenJDK 2022-05-12 07:07:11 +03:00
Vitaly Provodin
61629c778d JBR-3639 add jbrsdk tarballs for dcevm, jcef builds 2022-05-12 07:07:10 +03:00
Anton Tarasov
68d90f2d06 JBR-3627 include jmods in jbrsdk bundle for jbr-dev 2022-05-12 07:07:09 +03:00
Maxim Kartashev
12e107aab4 JBR-3597 Update project README for Java 17 2022-05-12 07:07:08 +03:00
Vitaly Provodin
7aa45d3a0c enabling dtrace-tests: added dtrace keyword
(cherry picked from commit 0b5119ca89)
2022-05-12 07:07:07 +03:00
Vitaly.Provodin
4029629545 add 32-sizes for native data types
(cherry picked from commit 3a79870da8)
2022-05-12 07:07:06 +03:00
Vitaly.Provodin
ceaf07d366 add dockerfile for x86
(cherry picked from commit 8fb2341ea8)
2022-05-12 07:07:05 +03:00
Maxim Kartashev
4e96933a31 JBR-3323 Exclude parts of VM code from sanitizer checks
Exclude VM error-reporting code that treats memory as a raw sequence of
bytes from address sanitizer checks. This is needed to only get true
reports when running tests against the --enable-asan build.
2022-05-12 07:07:04 +03:00
Nikita Gubarkov
8f3aad76d2 Added Clion project setup 2022-05-12 07:07:03 +03:00
Nikita Gubarkov
47ab13594b Added JBR-specific .idea project files 2022-05-12 07:07:02 +03:00
Nikita Gubarkov
ff7a3d7367 Updated IDEA project setup 2022-05-12 07:07:01 +03:00
Alexey Ushakov
0aac43630a JBR-3344 "Exit Full Screen" action doesn't work, the only way is mouse click on window's native "green" button.
Restored JBR-1931 fix partially reverted by JBR-1718

(cherry picked from commit c0be778e20)
2022-05-12 07:07:00 +03:00
Anton Tarasov
42a3e637b2 JBR-3337 jb/java/jcef/HandleJSQueryTest3314.sh: fails on macOS-aarch64 with "JS Query was not handled in 2nd opened browser"
(cherry picked from commit 8678f41971)
2022-05-12 07:06:59 +03:00
Anton Tarasov
80a7c7be36 JBR-3545 Window.setMinimumSize does not respect DPI scaling
(cherry picked from commit 9b4f72ad18)
2022-05-12 07:06:58 +03:00
Denis Fokin
da1451fddc JRE-408 JBR-3515 fix NullPointerException in MetalRootPaneUI.installWindowListeners
(cherry picked from commit 584d554af529cff445b0f09bc2d57be55e138b7a)
(cherry picked from commit 6a42bb54bd)
2022-05-12 07:06:57 +03:00
Alexey Ushakov
1fd2bc73fb JBR-2207 TitledBorder leaks PropertyChangeListener
Added a separate pass with sending setVisible(false) to the frames holding TitledBorder references in order to get WINDOW_DEACTIVATED (to clear KeyBoardFocusManager.activeWindow field)

(cherry picked from commit 3b03c698ce)
2022-05-12 07:06:56 +03:00
Elena Sayapina
7f5b4cac87 JBR-2657 [TESTBUG] ChainOfPopupsFocusTest misbehaving on Windows
- changed open popup shortcut from Ctrl+N to Ctrl+M, so no new explorer windows appear if desktop gets focused by error
- added a click on the main test frame, so it gets focus when running from background cygwin process on Windows, otherwise it just flashes on the taskbar

(cherry picked from commit eda8e4d50e)
2022-05-12 07:06:55 +03:00
Maxim Kartashev
f72c1e196c JBR-3590 Update JetBrains Runtime README 2022-05-12 07:06:54 +03:00
Maxim Kartashev
c00d2900e7 JBR-3572 Wayland: java/awt/Window/WindowTitleVisibleTest/WindowTitleVisibleTestLinuxGnome.java: title bar shown and hidden are the same.
Exclude the test when running under XWayland that doesn't implement
screen capture necessary for the test to function.
2022-05-12 07:06:54 +03:00
Denis Konoplev
a81dc7c421 EA-252361: Check window for null
(cherry picked from commit 23a7dbd486)
2022-05-12 07:06:53 +03:00
Artem Bochkarev
5007f130d0 JBR-3131: support custom view for system menu items
(cherry picked from commit 78d509ac0f)
2022-05-12 07:06:52 +03:00
Artem Bochkarev
e8121db897 JBR-3127: set NSWindowAllowsImplicitFullScreen=NO
fixed JBR-3127 Modal dialogs invoked from modal or floating dialogs are opened in full screen

(cherry picked from commit 0b8ff1a7e6)

JBR-3127: add possibility to load NSJavaVirtualMachine

JavaVM framework is deprecated but this class is still checked by AppKit, see https://youtrack.jetbrains.com/issue/JBR-3127#focus=Comments-27-4684465.0-0

(cherry picked from commit be6a2c4f0c)
2022-05-12 07:06:51 +03:00
Nikita Gubarkov
fd5ee2af9a JBR-3376 Added check for -1 glyph info pointer in OGLTextRenderer.c 2022-05-12 07:06:50 +03:00
Dmitry Batrak
60041b8eb1 JBR-3024 Popups are shown with 1x1 size sometimes
test case only

(cherry picked part of commit ee298f5287)
2022-05-12 07:06:49 +03:00
Vitaly Provodin
b52487c643 JBR-3314 add regression test
(cherry picked from commit c81adfed61)
2022-05-12 07:06:48 +03:00
Ivan Migalev
0f819fd85f JBR-3227 Reload type of required native file dialogs each time a file dialog is requested
(cherry picked from commit 26dd87ab7c)
2022-05-12 07:06:47 +03:00
Vitaly Provodin
e03f5c0401 JBR-1505 add jdk.jcmd module into JBR
(cherry picked from commit c40b9c8b9e)
2022-05-12 07:06:46 +03:00
Ivan Migalev
20bd337da6 JBR-3068 Update path selector behavior when sun.awt.windows.useCommonItemDialog is enabled
(cherry picked from commit 442bb7eecc)
2022-05-12 07:06:45 +03:00
Alexey Ushakov
f720d02902 JBR-2996 M1 warnings: CoreText note: Client requested name “.SFCompact-Black”, it will get Times-Roman rather than the intended font
Cached system fonts family names

(cherry picked from commit 56629e4c90)
2022-05-12 07:06:44 +03:00
Alexey Ushakov
b467123be6 JBR-3023 Gray idea frame after project open with ide.mac.transparentTitleBarAppearance.
Initiate move/resize event on first appearance of window having FULL_WINDOW_CONTENT property set

(cherry picked from commit a6ea081ba2)
2022-05-12 07:06:43 +03:00
Dmitry Batrak
25425cfd0f JBR-3017 Focus issue in presence of third-party accessibility tool
use the new invocation approach for 'makeKeyAndOrderFront' as well, as it can also cause synchronous back-calls to accessibility subsystem, and change the global call order unexpectedly

this commit fixes TypeaheadSetVisibleTest and TypeaheadToFrontTest, when they are run with AltTab active

Guard against possible deadlocks, if UI-related methods are invoked not on EDT.
Sample deadlock scenario:
* Application thread attempts to show the window, this involves calling CWrapper.NSWindow.makeKeyAndOrderFront under AWT tree lock, which blocks till 'makeKeyAndOrderFront' completes on AppKit thread
* AppKit thread, while executing 'makeKeyAndOrderFront' performs 'back-call' to CAccessibility.getFocusOwner, which waits for execution on EDT
* EDT performs some activity requiring AWT tree lock (e.g. processing of PaintEvent)

(cherry picked from commits e3aaff5db4, 09941119e1)
2022-05-12 07:06:42 +03:00
Dmitry Batrak
9a42a25eb9 JBR-3072 Deadlock on nested dialog hiding
(cherry picked from commits 99242748ee, ad1595b5c2)
2022-05-12 07:06:41 +03:00
Dmitry Batrak
99ef42d5c4 fix occasional freezes of JBR-3017 reproducer after the fix
(cherry picked from commit 7e6db54f77)
2022-05-12 07:06:40 +03:00
Dmitry Batrak
5a21ab17d8 JBR-2819 Create API to determine typographic family/subfamily for available fonts
(cherry picked from commit 89e519a4ef)
2022-05-12 07:06:39 +03:00
Nikita Gubarkov
556f8d5f1f JBR-2924 Do not try to create native italic font when we're going to make it fake italic 2022-05-12 07:06:38 +03:00
Nikita Gubarkov
d9857abff8 JBR-3982 Fixed non-antialiased text rendering on macOS
JBR-3269 Disabled subpixel antialiasing for macOS Mojave and newer
2022-05-12 07:06:37 +03:00
Dmitry Batrak
94ef6adf20 JBR-3017 Focus issue in presence of third-party accessibility tool
(cherry picked from commit 88ead5d9e3)
2022-05-12 07:06:36 +03:00
Vitaly Provodin
8901809603 JBR-1718 add a regression test
(cherry picked from commit 84ff4eab21)
2022-05-12 07:06:35 +03:00
Vitaly Provodin
7d06c3ae96 JBR-2957 notarize JBR and JBRSDK as APPL
(cherry picked from commit 0e7f9ce4ca)
2022-05-12 07:06:34 +03:00
Elena Sayapina
93c8548a7c JBR-2890 [TESTUPDATE] Enable jcef tests on macOS aarch64 platform
(cherry picked from commit 1714d7b627)
2022-05-12 07:06:33 +03:00
Vitaly Provodin
78013cd747 JBR-667 add shenandoahgc feature
(cherry picked from commit e15dad04)
2022-05-12 07:06:32 +03:00
Artem Bochkarev
53bc2e65d9 JBR-2562: fixed invokation of parent method
(cherry picked from commit 93cbab2f2d)

JBR-2562: suppress exceptions from [NSWindow _changeJustMain]

temporary workaround to prevent crashes

(cherry picked from commit dd055b5970)
2022-05-12 07:06:31 +03:00
Mikhail Grishchenko
64e20c524d JBR-2890 Disable jcef tests on 32-bit and aarch64 platforms
(cherry picked from commit d34d6528fe)
2022-05-12 07:06:30 +03:00
Alexey Ushakov
4daa141713 JBR-2879 Big Sur: Opening project in new window results in opening project in another tab
Disabled Tabbing mode for all NSWindows

(cherry picked from commit 8cb0377a31)
2022-05-12 07:06:29 +03:00
Nikita Gubarkov
966b6524cf JBR-2910 Implemented extended glyph cache for macOS
JBR-3976 Fixed text spacing & emoji scaling on macOS

JBR-3638 Adjust subpixel glyph positions for correct rounding in CStrike#getGlyphImageBounds
2022-05-12 07:06:29 +03:00
Alexey Ushakov
f24cafa34d JBR-2617 Text with opacity renders black
Implemented alpha blending in grayscale text rendering (UX-1320)
Corrected bright text thickness (smooth on), bright and dark text thickness (smooth off)
Added JVM properties for fine tuning

(cherry picked from commit c30306f779)
(cherry picked from commit c95adeb8f2)
(cherry picked from commit 269c9580fb)
(cherry picked from commit 55c7be5fe9)
(cherry picked from commit e28ff71e97)
2022-05-12 07:06:28 +03:00
Alexey Ushakov
98d588341f JBR-2521 Ugly font in all 2020.2 EAPs on macOS
Provide gamma correction for both light and dark text

(cherry picked from commit 5953202a7e)
2022-05-12 07:06:27 +03:00
Alexey Ushakov
ef9ef1bc3d JBR-2591 Repainting is broken (was: Icons in tree list widgets became dark)
Save current blend mode before cached grayscale rendering

(cherry picked from commit 7beb75ccec)
(cherry picked from commit ed52fde57d)
2022-05-12 07:06:26 +03:00
Alexey Ushakov
6981197a6e JBR-1986 Enabling fractional metrics causes visual artifacts in font rendering on macOS 10.14+
Disable subpixel positioning for macOS 10.13+ if legacy LCD rendering is disabled

(cherry picked from commit dbd24232e4)
2022-05-12 07:06:25 +03:00
Vitaly Provodin
1ffcd31125 exclude bug7154030 on macosx-aarch64 due to 8268284 2022-05-12 07:06:24 +03:00
Vitaly Provodin
02170e6577 exclude SharedMemoryPixmapsTest on macosx-all due to 8221451 2022-05-12 07:06:23 +03:00
Vyacheslav Moklev
ef7d58a9f4 JBR-2442 fix memory leak of fileBuffer
fix was suggested by Nikita Gubarkov
2022-05-12 07:06:22 +03:00
Andrey Starovoyt
aaee235417 JBR-2736 provide writeObjects implementation for copying files/folders from Project Explorer to the Finder
(cherry picked from commit 33db034d49)
(cherry picked from commit d3ec3d899d)
2022-05-12 07:06:21 +03:00
Sergey Malenkov
3d348e5b9f EA-235126 - CME: HighlightableComponent.getPreferredSize
(cherry picked from commit 523d80cafd)
2022-05-12 07:06:20 +03:00
Kirill Kirichenko
549836b2be JBR-2667 Post review: rename win.darkTheme.on to win.lightTheme.on and reversed the logic
(cherry picked from commit eeab5252e6)
2022-05-12 07:06:19 +03:00
Kirill Kirichenko
e06641cb37 JBR-2667 Add new AWT desktop property for light/dark theme detection on Windows 10
(cherry picked from commit 0e4ad056dd)
2022-05-12 07:06:18 +03:00
Alexey Ushakov
882a3c5628 JBR-2593 Wide ligatures not rendered in Grayscale mode
Added missing flush of cached vertices

(cherry picked from commit ad409b4370)
2022-05-12 07:06:17 +03:00
Nikita Gubarkov
0f57b20698 JBR-2910 Implemented extended glyph cache for Linux 2022-05-12 07:06:16 +03:00
Nikita Gubarkov
207aefba2c JBR-2910 Implemented extended glyph cache for Windows 2022-05-12 07:06:15 +03:00
Nikita Gubarkov
3c493a215e JBR-2614 Fixed LCD glyph width to include both left & right padding, so that rowBytes = width * 3 2022-05-12 07:06:14 +03:00
Alexey Ushakov
0d15233b2f JBR-2463 Font rendering problem on macOS Mojave
Use adjusted advances for glyphs

(cherry picked from commit 1af5dd4aae)
2022-05-12 07:06:13 +03:00
Denis Konoplev
c858b2b725 JBR-3544: Generate popup invoked instead of New in this directory 2022-05-12 07:06:12 +03:00
Vitaly Provodin
535f03172d JBR-2545 Clean up the list of ignored Render tests
(cherry picked from commit f7b4c42e1d)
2022-05-12 07:06:11 +03:00
Jayathirth D V
dd6d6c0fc0 8241490: Add large text performance tests in RenderPerfTest
(cherry picked from commit 803ee2f2b5)
2022-05-12 07:06:10 +03:00
Alexey Ushakov
71c9795334 8230657: Create fine grained render perf test for metal pipeline
Converted gradle JUnit test to plain java for ant and gnumake

To run the tests:
cd src/demo/share/java2d/RenderPerfTest

ant run
or
java -jar dist/RenderPerfTest.jar
or
java -jar dist/RenderPerfTest.jar testWhiteTextBubblesGray

(cherry picked from commit 356121b18f)
(cherry picked from commit 8bd8d2d132)
2022-05-12 07:06:09 +03:00
Konstantin Bulenkov
1c4a4c296f Update FiraCode to 5.2
(cherry picked from commit 71e2a8d8ad)
2022-05-12 07:06:08 +03:00
Alexey Ushakov
fdaf55f6b8 JBR-1929 Improve rendering of San Francisco font of macOS Catalina
Reverting gamma correction because of rendering artifacts in the light theme

This reverts commit 5016db51

(cherry picked from commit c1d644a004)
2022-05-12 07:06:07 +03:00
Alexey Ushakov
00fad44eb3 JBR-1929 Improve rendering of San Francisco font of macOS Catalina
Added gamma correction to match grayscale rendering with subpixel one

(cherry picked from commit 5016db518a)
2022-05-12 07:06:06 +03:00
Alexey Ushakov
f6e8f38bdb JBR-2463 Font rendering problem on macOS Mojave
Use adjusted advances for glyphs

(cherry picked from commit 1af5dd4aae)
2022-05-12 07:06:05 +03:00
Anton Tarasov
776c32f8cf revert: JBR-1434 "New file dialog" popup remains above all windows on switching application
java.awt.peer.WindowPeer.isLightweightDialog() method does not exist.

(cherry picked from commit 7d8aeaf7de)
2022-05-12 07:06:04 +03:00
Anton Tarasov
499d2606bd JBR-2872 improve: JBR-2866 JCEF: Markdown editor steals focus from a different frame
(cherry picked from commit bad748e3d0)
2022-05-12 07:06:03 +03:00
Anton Tarasov
023247a943 JBR-2866 JCEF: Markdown editor steals focus from a different frame 2022-05-12 07:06:02 +03:00
Anton Tarasov
ec10b16554 JBR-2645 enable CefBrowser.close(true) in jcef reg tests
(cherry picked from commit 492c217125)
2022-05-12 07:06:01 +03:00
Anton Tarasov
6f03b4f41f JBR-2259 WebSite isn't loaded with .loadUrl method if browser isn't shown in UI
(cherry picked from commit 57bbddf071)
2022-05-12 07:06:00 +03:00
Anton Tarasov
ff7130a99f JBR-2557 use com.jetbrains.cef.JCefAppConfig in JCEF tests
(cherry picked from commit e30a309f92)
2022-05-12 07:05:59 +03:00
Anton Tarasov
c80d63a170 JBR-2489 Git branch operations (switch to another branch, rebase) sometimes crash WebStorm 202.5428.27
(cherry picked from commit 81d2156fb1)
2022-05-12 07:05:58 +03:00
Anton Tarasov
8c9b49d9ca JBR-2282 [jcef] update to JCEF/80.0.4+g74f7b0c+chromium-80.0.3987.122
(cherry picked from commit a5adc725df)
2022-05-12 07:05:57 +03:00
Anton Tarasov
d6d9106a41 JBR-2305 jcef: jb/java/jcef/JCEFStartupTest.java throws java.lang.ExceptionInInitializerError
(cherry picked from commit f0385f01ec)
2022-05-12 07:05:56 +03:00
Anton Tarasov
30ab20a3e1 JBR-2306 jcef: jb/java/jcef/JCEFStartupTest.java unexpectedly exits with the exit code: 0
(cherry picked from commit ff7d7bd43c)
2022-05-12 07:05:55 +03:00
Anton Tarasov
ea9492577a JBR-2299 [mac] jcef requests for "chromium safe storage" keychain access
(cherry picked from commit dd1334a352)
2022-05-12 07:05:54 +03:00
Anton Tarasov
758b42de6e JBR-2222 Crash during closing IDE
(cherry picked from commit d0c367b31f)
2022-05-12 07:05:53 +03:00
Anton Tarasov
0fd40ee835 JBR-2287 [jcef] add CefBrowser wrapper to jtreg tests
(cherry picked from commit fa961d1769)
2022-05-12 07:05:52 +03:00
Anton Tarasov
c9b25c7350 JBR-2169 AWTThreading: remove tracked invocation event from completion listener
(cherry picked from commit a855f3b835)
2022-05-12 07:05:51 +03:00
Anton Tarasov
10d592e0ef JBR-2159 Native crash in thread AWT-EventQueue-0 when trying to push commit
(cherry picked from commit bba297b4a4)
2022-05-12 07:05:50 +03:00
Anton Tarasov
da259c0d47 JBR-2148 JCEF: JBR bundle has invalid app structure
(cherry picked from commit f45f84d7ed)
2022-05-12 07:05:50 +03:00
Anton Tarasov
7bd7646e9c JBR-2146 improve InvokeOnToolkitHelper to cover more generic case 2022-05-12 07:05:49 +03:00
Anton Tarasov
22a25825e8 JBR-2139 Idea freeze on dynamic plugin unloading
(cherry picked from commit e57bae4f66)
2022-05-12 07:05:48 +03:00
Anton Tarasov
b927fbb105 JBR-2099 jb/java/jcef/JCEFStartupTest.java fails on Windows, Linux
(cherry picked from commit 3dfb0aa16a)
2022-05-12 07:05:47 +03:00
Anton Tarasov
20716e3197 JBR-2093 create reg test for JCEF startup
(cherry picked from commit e8c2761f5b)
2022-05-12 07:05:46 +03:00
Anton Tarasov
e02044f675 JBR-2082 Revealing taskbar does not work when "Automatically hide the taskbar"
(cherry picked from commit b31a41fb2f)
2022-05-12 07:05:45 +03:00
Mikhail Grishchenko
1546c4bcc3 JBR-2639, JBR-2412 [jcef] Tests that checks mouse events
JBR-2412 [windows] mouse listener does not work for jcef

(cherry picked from commit 66ad6472ae)
(cherry picked from commit 04246aac57)
(cherry picked from commit b7cde4fd05)
2022-05-12 07:05:44 +03:00
Mikhail Grishchenko
78e08b7e27 JBR-2639 [win] jcef does not recognize vertical mouse wheel events
added regression test

(cherry picked from commit e8e4741bb0)
2022-05-12 07:05:43 +03:00
Mikhail Grishchenko
c14fecb5f9 JBR-2412 [windows] mouse listener does not work for jcef
added regression test

(cherry picked from commit d1479872f2)
2022-05-12 07:05:42 +03:00
Elena Sayapina
b01c505db6 JBR-2630 Typing speed in IDE editor was dropped after switching to 11.0.8
Introduced sun.awt.osx.RobotSafeDelayMillis property to control macOS specific safe delay for Robot methods.
50 ms safe delay was initially hardcoded in 3862142d (JDK-8242174: [macos] The NestedModelessDialogTest test make the macOS unstable) which affected performance tests execution.

(cherry picked from commit 5f691bb788)
2022-05-12 07:05:41 +03:00
Mikhail Grishchenko
74760e0806 JBR-2430 [jcef] Added Regression test
Checks that JS Query is handled in 2nd opened browser

(cherry picked from commit 404ff84565)

Refactoring + changed EDT awaiting method

(cherry picked from commit dc24658b31)
2022-05-12 07:05:40 +03:00
Vitaly Provodin
9278ce6f25 exclude the new printer test 8262731 2022-05-12 07:05:39 +03:00
Alexey Ushakov
1c62928bad JBR-2419 Improve performance of CStrike.getNativeGlyphOutlineBounds
Do not pass the result via java object. Use more straight api.

(cherry picked from commit 9f91fe91f5)
(cherry picked from commit c0fd2daf5c)
2022-05-12 07:05:38 +03:00
Alexey Ushakov
87b8abb4ea JBR-2382 Provide detailed stack trace in crash dumps for unhandled ObjC exceptions
Used user home dir for jbr_err files. Removed logging with reportException method

(cherry picked from commit 2c8cdb221b)

JBR-2382 Provide detailed stack trace in crash dumps for unhandled ObjC exceptions

Used process workdir for jbr_err files. Added one more logging to reportException method

(cherry picked from commit 95a47810d5)

JBR-2382 Provide detailed stack trace in crash dumps for unhandled ObjC exceptions

Generate jbr_err_pidXX.log file with detailed stack trace of the exception

(cherry picked from commit 4c42f75021)
2022-05-12 07:05:37 +03:00
Artem Bochkarev
aafc633874 JBR-2253: unset LD_PRELOAD just after VM loaded
workaround for JBR-2253 Preload libjsig.so to fix JNA crashes

(cherry picked from commit 127a2deddf)
2022-05-12 07:05:36 +03:00
Kirill Kirichenko
798cb3b1ab JBR-1874 Cursor not changing from 'default' to 'text'. Additional fix after reopening.
(cherry picked from commit 5a29d4ade9)
2022-05-12 07:05:35 +03:00
Elena Sayapina
cab3eae9f9 JBR-2585 [TESTBUG] TouchScreenEvent tests affect tests simulating mouse actions
- added workaround for JBR-2585
- added README.md about manual test run
- made an update to close LinuxTouchScreenDevice properly
- added an error exit from linux shell script if sudo password is empty or chown fails

(cherry picked from commit 4deb3bbe61)
2022-05-12 07:05:34 +03:00
Denis Konoplev
4435821edc fixup! macOS national keyboard support
Remove unused import that broke compilation
2022-05-12 07:05:33 +03:00
Elena Sayapina
e2e5b810d7 IDEA-165950 [TESTUPDATE] National keyboard layouts support
Update regression test after the following commits:

02fad83c: Remove public constants from KeyEvent
f4227faf: Impossible to assign cmd+ß shortcuts
(cherry picked from commit 264802cf4b)
2022-05-12 07:05:32 +03:00
Elena Sayapina
6d84948b0f JBR-2328 [TESTBUG] Regression test java/awt/keyboard/AllKeyCode/AllKeyCode.java is not correct
(cherry picked from commit 861f73c393)
(cherry picked from commit bfab6a9364)
(cherry picked from commit e9fa7a0882)
2022-05-12 07:05:32 +03:00
Mikhail Grishchenko
b3581cf725 JBR-2259 WebSite isn't loaded with .loadUrl method if browser isn't shown in UI
Added reproducer

(cherry picked from commit e875bf72c9)
2022-05-12 07:05:31 +03:00
Denis Konoplev
14aec9729a JBR-2490 Add option to work with Surface Pen
(cherry picked from commit 5acc7680a1)
2022-05-12 07:05:30 +03:00
Denis Konoplev
ad932992f9 JBR-2669: set unicode for both keyCode and extendedKeyCode
(cherry picked from commit ba3f14c83a)
2022-05-12 07:05:29 +03:00
Denis Konoplev
3bd74e0999 JBR-2554: Proper unicode values in KeyEvent.keyCode
(cherry picked from commit 703d77a927)
2022-05-12 07:05:28 +03:00
Denis Konoplev
4991b28996 JBR-215: Remove SystemInfo
(cherry picked from commit 9adf77a512)
2022-05-12 07:05:27 +03:00
Denis Konoplev
afb4096eae JBR-215: Separate LatinNonAlphaNumKeycodes option
(cherry picked from commit caf366f6f3)
2022-05-12 07:05:26 +03:00
Denis Konoplev
7c97d5e97f JBR-215: Windows non-alphanumeric shortcuts
(cherry picked from commit 4f60efebe2)
2022-05-12 07:05:25 +03:00
Denis Konoplev
985d244b4f JBR-2280: Fix regression. Mode compatible with old option.
(cherry picked from commit a3e3c23cb1)
2022-05-12 07:05:24 +03:00
Denis Fokin
9a762f54b6 macOS national keyboard support 2022-05-12 07:05:23 +03:00
Sergey Malenkov
9c0de70fc6 JBR-1929 FractionalMetricsSupport
(cherry picked from commit bbdc159762)
2022-05-12 07:05:22 +03:00
Mikhail Grishchenko
8d64b96363 JBR-2256 JEditorPane with test/html type and zero margins is not shown
Updated reproducer

(cherry picked from commit 529a188b8b)

JBR-2256 JEditorPane with test/html type and zero margins is not shown

Added reproducer

(cherry picked from commit 41578a40b5)
2022-05-12 07:05:21 +03:00
Mikhail Grishchenko
82a9b5d535 JBR-2210 IDEA fails to start (JVM crashes) when using the -Dfile.encoding=UTF-8in IDEA's vmoptions file
Added regression test

(cherry picked from commit 4e1f5a43b3)
2022-05-12 07:05:20 +03:00
Alexey Ushakov
bc75334e92 JBR-2210 IDEA fails to start (JVM crashes) when using the -Dfile.encoding=UTF-8in IDEA's vmoptions file
Returning devanagari subset back for ja.UTF-8 to get non-null font name from WFontConfiguration.getTextComponentFontName(). It is a regression from JDK-8208179.

(cherry picked from commit b51254a975)
2022-05-12 07:05:19 +03:00
Mikhail Grishchenko
19a7890f51 JBR-1414 [Test] downscale frames to run on low-dpi screens
(cherry picked from commit b46e74fe6f)
2022-05-12 07:05:18 +03:00
Elena Sayapina
64d8f61882 JBR-1905 [TESBUG] java/awt/TextArea/DisposeTest/TestDispose.java: frame is not disposed
- java/awt/TextArea/DisposeTest/TestDispose.java, java/awt/TextField/DisposeTest/TestDispose.java: fixed test frame disposal
- java/awt/Frame/DisposeStressTest/DisposeStressTest.java: decreased test timeout from 2h to 10 min, added minor diagnostic logging

(cherry picked from commit 7f025f4e16)
(cherry picked from commit dda7f3d871)
(cherry picked from commit bc09aadadb)
2022-05-12 07:05:17 +03:00
Alexey Ushakov
e7e7fba5d3 JBR-2135 Use CoreText api to select the font with the most recent version
Added a property to force loading bundled fonts: -Djava2d.font.noVersionCheck=true

(cherry picked from commit cbb148dff4)
2022-05-12 07:05:16 +03:00
Alexey Ushakov
c6b9507d30 JBR-2137 JetBrainsMono fonts update to v1.0.3
(cherry picked from commit a6e441828a)
2022-05-12 07:05:16 +03:00
Mikhail Grishchenko
bb8baed350 JBR-1414: Added regression test for dnd with HiDPI scaling
(cherry picked from commit 1f4ab12fbb)
2022-05-12 07:05:15 +03:00
Elena Sayapina
ca081e71f7 JBR-2041 [TEST] Added new regression test (Touchscreen devices support)
(cherry picked from commit 2d587b3728)
(cherry picked from commit 92606f2c7f)
(cherry picked from commit 05af375909)
(cherry picked from commit 0f895bf1b2)
(cherry picked from commit 08aa0852b7)
2022-05-12 07:05:14 +03:00
Konstantin Bulenkov
e9f1676c81 Update JetBrains Mono to 1.0.2
(cherry picked from commit 6f4a13e46f)
2022-05-12 07:05:13 +03:00
Ivan Migalev
3099080bf8 Extract the DWM colorization parameters from registry (JBR-2070)
(cherry picked from commit 0330cab60b)
2022-05-12 07:05:12 +03:00
Ivan Migalev
53342f44c3 Refresh desktop properties on WM_DWMCOLORIZATIONCOLORCHANGED (JBR-2070)
(cherry picked from commit 06086f4a7e)
2022-05-12 07:05:11 +03:00
Ivan Migalev
5d7295112a Fix a possible resource leak in ColorizationColorAffectsBorders
(cherry picked from commit 0c911b6ffe)
2022-05-12 07:05:10 +03:00
Elena Sayapina
6f5bd444a6 JBR-2086 JetBrainsMono fonts update to v1.0.1
(cherry picked from commit a4b373e631)
2022-05-12 07:05:09 +03:00
Konstantin Bulenkov
92142d72ee JetBrains Mono 1.0
(cherry picked from commit d514f7a982)
2022-05-12 07:05:08 +03:00
Denis Konoplev
59637c52a1 JBR-3444: Return NullSurfaceData when gc == null
(cherry picked from commit 01ad15e61c)
2022-05-12 07:05:07 +03:00
Denis Konoplev
c6b8ff0533 JBR-1995: Last character issue with korean
Fix for JTextComponent

(cherry picked from commit a7c8b0b535)
2022-05-12 07:05:06 +03:00
Denis Konoplev
3940f61329 JBR-2891: Post PhaseEvents in the begin and end of Magnify and Rotate
(cherry picked from commit c811c295c2)
2022-05-12 07:05:05 +03:00
Denis Konoplev
9816ad8663 JBR-2444: Turn on IM workaround by default
(cherry picked from commit 15c4ce1d3e)
2022-05-12 07:05:04 +03:00
Denis Konoplev
403798bec3 Fix build: add import & fix jwhen 2022-05-12 07:05:03 +03:00
Denis Konoplev
dc962ea8d2 JBR-2795: Add explicit conversion
(cherry picked from commit bf3e1c0c31)
2022-05-12 07:05:02 +03:00
Denis Konoplev
77f95d9d50 IDEA-237231: Correct signarute mask
(cherry picked from commit 6974131eec)
2022-05-12 07:05:01 +03:00
Denis Konoplev
4a45384743 IDEA-237231: Possible fix for pen interraction
(cherry picked from commit 33a8c95d39)
2022-05-12 07:05:00 +03:00
Denis Konoplev
4f17809c24 JBR-2347: Free memory on other exceptions, rethrow ThreadDead & log it
(cherry picked from commit 16ca839ed3)
2022-05-12 07:04:59 +03:00
Denis Konoplev
224a905951 JBR-2347: Don't free memory when thread is dead
(cherry picked from commit afb3303db5)
2022-05-12 07:04:58 +03:00
Denis Konoplev
a8f93e450f JBR-2041: Project view tap fix, recovery? constants & logging
(cherry picked from commit 1e904db3b0)
2022-05-12 07:04:57 +03:00
Denis Konoplev
c86b793165 IDEA-229135: Fling animation stop on tap
(cherry picked from commit 7ce0f79561)
2022-05-12 07:04:56 +03:00
Denis Konoplev
880d806283 Windows touch screen support
(cherry picked from commit cab3f28907)
2022-05-12 07:04:56 +03:00
Denis Konoplev
6ea625e7d2 Turn off multitouch
(cherry picked from commit a2576ffa9a)
2022-05-12 07:04:55 +03:00
Denis Konoplev
ea33f84f1c Check XInput extension && touch inertia
(cherry picked from commit cca7fb97f4)
2022-05-12 07:04:54 +03:00
Denis Konoplev
e2007a6b56 Touch scroll handling
(cherry picked from commit 6dcec3dc31)
2022-05-12 07:04:53 +03:00
Denis Konoplev
6696a16cf9 XI2 Constants
(cherry picked from commit 588cd6ee73)
2022-05-12 07:04:52 +03:00
Denis Konoplev
bcb0e4a1d3 XLibWrapper XI2 functions
(cherry picked from commit d6bd1bfa2b)
2022-05-12 07:04:51 +03:00
Denis Konoplev
9c12c9adad X11 native get put double
(cherry picked from commit f101bc1108)
2022-05-12 07:04:50 +03:00
Denis Konoplev
11e2157c1f Native data types
(cherry picked from commit 9504574dbb)
2022-05-12 07:04:49 +03:00
Denis Konoplev
ea75259ab9 XI2 headers in xlib wrapper generator
(cherry picked from commit ef108067a1)
2022-05-12 07:04:48 +03:00
Denis Konoplev
4d494f3b2b Revert "Turn off multitouch"
This reverts commit 90ea3bf57e4c687e9d9bf0a37f2f64c82a81f4eb.
2022-05-12 07:04:47 +03:00
Denis Konoplev
b3547d91ba Turn off multitouch
(cherry picked from commit a2576ffa9a)
2022-05-12 07:04:46 +03:00
Alexey Ushakov
069c80c027 JBR-1962 Allow to change font config
Replaced several privileged blocks with just one

(cherry picked from commit faa8d3d258)
2022-05-12 07:04:45 +03:00
Vitaly Provodin
65cef7ca65 JBR-572: Regression test on the crash caused by the fix
(cherry picked from commit 6cc380ffb5)
(cherry picked from commit 958e25ed21)
(cherry picked from commit a7de601d5f)
2022-05-12 07:04:44 +03:00
Dennis Ushakov
ef34a7297c JBR-1863, JBR-1868 correct advances on Catalina 2022-05-12 07:04:43 +03:00
Dennis Ushakov
b2888c5cf0 JBR-1850: on macOS fonts should be sorted by weight to ensure proper population of the families 2022-05-12 07:04:42 +03:00
Dennis Ushakov
d9eba7b0b6 faster font family loading & lazy font family population
1. NSFont.familyName is faster than loading allFamilyNames
2. Prebuilt list of system fonts
3. Cleanup San Francisco family loading
4. Avoid calling expensive native getWidth on font when creating font family, load styles only when they would be used.
2022-05-12 07:04:41 +03:00
Dennis Ushakov
43b37499de JBR-1756 use CoreText for all font rendering on Catalina 2022-05-12 07:04:40 +03:00
Nikita Gubarkov
d0433a5e86 JBR-410 Added emoji support for Linux 2022-05-12 07:04:39 +03:00
Alexey Ushakov
0e7c346bfe JBR-1997 JetBrainsMono fonts update to v0.22
(cherry picked from commit 41f4fddd34)
(cherry picked from commit f5302a02f4)
(cherry picked from commit 5d7fd2e1e5)
2022-05-12 07:04:38 +03:00
Anton Tarasov
fce6f2648c JRE-729 [windows] unreasonable IME activity consumes CPU 2022-05-12 07:04:37 +03:00
Dmitry Batrak
e3b8e2641b JBR-3119 Application's panel in KDE taskbar blinks when popup window is shown
this re-fixes JBR-2934 in a different way

(cherry picked from commit 63134e091b)
2022-05-12 07:04:36 +03:00
Dmitry Batrak
1a4756eec6 JBR-3038 Unexpected windows z-order change on workspace switch
(cherry picked from commit ddda860f42)
2022-05-12 07:04:35 +03:00
Dmitry Batrak
5839f05ca0 JBR-3035 The Confirm Exit pop-up window remains hidden behind a window of another application
(cherry picked from commit 470c3bd1b5)
2022-05-12 07:04:34 +03:00
Dmitry Batrak
ddc12d6e10 JBR-2934 Serious usability issue with GoLand 2020.3 caused by JBR
(cherry picked from commit 95be4351d4)
2022-05-12 07:04:33 +03:00
Dmitry Batrak
f95e58e38f JBR-2977 Opening a recent project in a new window doesn't bring this window to the front
(cherry picked from commit 2d9fb9e7b8)
2022-05-12 07:04:33 +03:00
Dmitry Batrak
c6e912f675 JBR-2698 setAutoRequestFocus(false) breaks focus logic under i3 window manager on Linux
(cherry picked from commit ebcdeb7d80)
2022-05-12 07:04:31 +03:00
Dmitry Batrak
ec74568da5 JBR-2696 Log focus API invocations with stack traces
(cherry picked from commits 0f038754e5, a507cab6d3)
2022-05-12 07:04:31 +03:00
Dmitry Batrak
cb397329af JBR-2496 Prevent JVM stealing focus from other applications on Linux (JBR-2497, JBR-2499, JBR-2503, JBR-2652)
(cherry picked from commits 87525d1d2a, 66381f0dec, 8a789e04e9, 665ebc5d47, 98a9219c23)
2022-05-12 07:04:30 +03:00
Alexey Ushakov
10922e0394 JBR-3509 Extend JDK-8267521 (Post JEP 411 refactoring: maximum covering > 50K) to JBR specific changes
Marked all the usages of SecurityManager related api
2022-05-12 07:04:28 +03:00
Artem Bochkarev
63ac13a9c1 JBR-1851: check NSArray length
and make more exception-safe
and minor optimization for logging (cache jobjects)

(cherry picked from commit 5839539379)
2022-05-12 07:04:27 +03:00
Artem Bochkarev
fe730f8d6a JBR-1841: allow deferred disabling of InputMethods-support
(cherry picked from commit 969255904b)
2022-05-12 07:04:26 +03:00
Artem Bochkarev
c5b4f8280c JBR-1668: add hardcoded default values for preferences node NSServicesStatus
(cherry picked from commit 8445f53d85)
2022-05-12 07:04:25 +03:00
Artem Bochkarev
730fdc4e92 JBR-1515: obtain shortcut from OS to check inside AWTView.performKeyEquivalent
(cherry picked from commit 30d479fbd4)
2022-05-12 07:04:24 +03:00
Artem Bochkarev
686032f98f JBR-1668: add hardcoded descriptions of system actions
and minor fixes

fix memory management

(cherry picked from commit 15f7368309)
2022-05-12 07:04:23 +03:00
Elena Sayapina
7494c06154 JBR-1417 [TEST] Added new regression test (JBR 11 does not support chain of popups)
(cherry picked from commit 41e89505be)
(cherry picked from commit 9fe5c778d9)
(cherry picked from commit 6ea9530d9f)
(cherry picked from commit d757108517)
(cherry picked from commit b99c1e7b5c)
2022-05-12 07:04:22 +03:00
Alexey Ushakov
568d033203 JBR-1690 Bundle new fonts
Test correction
Restored RenderUtil.java
Removed obsolete golden images
(cherry picked from commits:
aa13c8b4ea
943b1472c7
cab6dd5087
7997c7a5ee
cab6dd5087
7997c7a5ee
d3731df79d)
2022-05-12 07:04:21 +03:00
Dmitry Batrak
278125b60a IDEA-257525 Unable to show Chinese when using IDEA mac ARM version
The proposed solution is to use a 'normal' font as a base for 'San Francisco' font fallback.
Most of its fallback components/candidates (provided by the OS) are expected to be normal
fonts as well, and so the resulting coverage of Unicode character repertoire should be much better.

(cherry picked from commits 9b7113a6cf, 92b00d50b5, 53489fab27)
2022-05-12 07:04:20 +03:00
Dmitry Batrak
5e2742cd45 JRE-469 Console with emoji output becomes slow
The fix consists of two parts:
* Making CCharToGlyphMapper remember that a particular character cannot be displayed (isn't mapped to glyph with given font). Checking this repeatedly in native code is very slow.
* Make CCompositeGlyphMapper remember the results of char-to-glyph mapping, this was missing in previous implementation. This reuses caching code in CompositeGlyphMapper, extending the range of characters for which the results are cached to include Supplementary Multilingual Plane (most emoji characters belong to it).

port commit 4e0ccde2 from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commit 394e055ae6)

cherry picked from commit 0db7e948af
2022-05-12 07:04:19 +03:00
Dmitry Batrak
89814023a1 reimplement JDK-7162125 to fix JDK-8147002
port commit ba38e5c4 from JBR 9

port from JBR 11 to JBR 15(cherry picked from commit a949f9d220)

cherry-picked from commit f309844f75
2022-05-12 07:04:18 +03:00
Artem Bochkarev
105d5ce04c JBR-1771: fixed compilation errors (macosx-x86_64-normal-server-fastdebug)
(cherry picked from commit 1acada7cac)
2022-05-12 07:04:17 +03:00
Artem Bochkarev
01cf7a223e JBR-1668: minor fixes
fixed review comments

(cherry picked from commit 9dbcf194c9)
2022-05-12 07:04:16 +03:00
Vitaly Provodin
036174b3a5 JBR-1618: fixed misprint, added saving screenshots in case of failure
(cherry picked from commit e4a3889cf0)
2022-05-12 07:04:15 +03:00
Alexey Ushakov
863de0c968 JBR-1624 Fonts rendering is broken in the 2019.2 EAP (Fira Code)
Corrected lookup for bold fonts

(cherry picked from commit 114b8af38f)
2022-05-12 07:04:14 +03:00
Alexey Ushakov
54caa8a460 JBR-1399 Improve font discovery and loading by introducing font cache
Added unit test

(cherry picked from commit b4f5bf8bd3)
2022-05-12 07:04:13 +03:00
Elena Sayapina
ef4a2697cf IDEA-165950 [TEST] Added new regression test (National keyboard layouts support)
(cherry picked from commit 0900a705bc)
2022-05-12 07:04:12 +03:00
Artem Bochkarev
d40e4586a9 JBR-1668: read system keyboard shortcuts
initial support for OS X

(cherry picked from commit 6bbe7102e2)
2022-05-12 07:04:11 +03:00
Artem Bochkarev
23c75b5d15 JBR-1573: restore current input context after cleanup
(cherry picked from commit b7acd7f6f6)
2022-05-12 07:04:10 +03:00
Alexey Ushakov
6bb22e1f48 JBR-1624 Fonts rendering is broken in the 2019.2 EAP (Fira Code)
Restored old behaviour of registerFontsInDir as it does not affect idea bundled fonts

(cherry picked from commit cef29e8100)
2022-05-12 07:04:09 +03:00
Alexey Ushakov
34b9e0bb42 JBR-1874 Cursor not changing from 'default' to 'text'
Prevent OS from changing cursor

(cherry picked from commit 94a4eb7002)
2022-05-12 07:04:08 +03:00
Alexey Ushakov
a63e731b2a JBR-1778 Font in editor incorrect (always italics)
Added -it pattern into italic detection code
Added some more patterns to bold and italic detection code
'Anka/Coder' font support

(cherry picked from commit 5119eeee12)
(cherry picked from commit ec241e4a0a)
(cherry picked from commit 251068294e)
(cherry picked from commit 08ae9ff034)
2022-05-12 07:04:07 +03:00
Alexey Ushakov
9793087e86 JBR-1699 Use platform font rendering for bundled fonts on MacOS
Use different family for specific font faces. Refactoring

JBR-3071 Remove naming workaround for Fira Code

(cherry picked from commits c423003bd4, aee4b48d20)
2022-05-12 07:04:06 +03:00
Alexey Ushakov
8a2caa9cd8 JBR-1624 Fonts rendering is broken in the 2019.2 EAP (Fira Code)
Lower priority for idea bundled fonts to pickup platform ones
(if installed)

(cherry picked from commit e838103a24)
2022-05-12 07:04:05 +03:00
Alexey Ushakov
2032691143 JBR-1885 JetBrainsMono fonts update to v0.19
Updated the fonts to v0.19. Bundled italic fonts

(cherry picked from commit 7f032e3fe7)
(cherry picked from commit a7b4c9449a)
2022-05-12 07:04:04 +03:00
Alexey Ushakov
b3e58e7eff JBR-1624 Fonts rendering is broken in the 2019.2 EAP (Fira Code)
Lower priority for idea bundled fonts to pickup platform ones
(if installed)

(cherry picked from commit e838103a24)
2022-05-12 07:04:03 +03:00
Alexey Ushakov
62e446fd8f JBR-1699 Use platform font rendering for bundled fonts on MacOS
Used CFont instead of TrueTypeFont for bundled fonts on mac
Use different family for specific font faces. Refactoring

(cherry picked from commit 8c86ad3e96)
(cherry picked from commit c423003bd4)
(cherry picked from commit bcae402dc8)
2022-05-12 07:04:02 +03:00
Alexey Ushakov
df6d05a2fe JBR-1690 Bundle new fonts
Update family name for JetBrainsMono-Thin

(cherry picked from commit 0d2326ff34)
(cherry picked from commit 83843f9124)
(cherry picked from commit 2a2e1cfb36)
(cherry picked from commit 76abb69262)
2022-05-12 07:04:01 +03:00
Alexey Ushakov
ec5e5ad23d JBR-1645 javax/swing/JTextArea/TestTabSize.java: Tab width calculation wrong
Corrected idea font filter

(cherry picked from commit 62f9d1f46a)
2022-05-12 07:04:00 +03:00
Artem Bochkarev
4b8ad7dce0 JBR-1573: workaround for 'Sudden keyboard death on Ubuntu 18'
recreate instance of system InputMethod when starts filter all events

(cherry picked from commit 3ad94911af)

(cherry picked from commit c8533a1219)
2022-05-12 07:03:59 +03:00
Alexey Ushakov
2d02e46754 JBR-1399 Improve font discovery and loading by introducing font cache
Bundle IDEA fonts to improve startup performance

(cherry picked from commit 350a3fdef3)
2022-05-12 07:03:59 +03:00
Artem Bochkarev
d126db12b1 JBR-1541: activate menu in completion handler of modal dialog
(cherry picked from commit e57384c1d6)
2022-05-12 07:03:58 +03:00
Alexey Ushakov
639f81187e JBR-1314 Font difference in pycharm 2019.1 on Ubuntu
Removed disabling hints on MAX_FCSIZE_LTL_DISABLED font size

(cherry picked from commit 2b99dfed40)
2022-05-12 07:03:57 +03:00
Alexey Ushakov
edd181bf41 JBR-1412 [fwp to JBR11] JBR-1393 RubyMine is hanging after log in (macOS)
Modified version of JBR8 fix

(cherry picked from commit 434166fe63)
2022-05-12 07:03:56 +03:00
Alexey Ushakov
03c0d4f1e3 JBR-1394 JBR11 does not support LCD text on Mac
Enable LCD rendering for transparent destinations

(cherry picked from commit 207c6b92ff)
2022-05-12 07:03:55 +03:00
Elena Sayapina
cdc8cdd600 JBR-1372: [TESTBUG] JDialog1054.java, MoveFocusShortcutTest.java regression tests need update
(cherry picked from commit a5948894bf)
2022-05-12 07:03:54 +03:00
Maxim Kartashev
e07674b4eb JBR-2755 IDE UI became slow via remote X Server connection from Windows
When XGetImage() calls become slow in a remote X11 session, fake
XGetImage() with client-side XCreateImage() that is filled with some
background color. The color is chosen from several top left corner
pixels of the "slow" images obtained with XGetImage().

This feature activates in a remote X11 session only and is
controlled with -Dremote.x11.workaround={true|false|auto}.
2022-05-12 07:03:53 +03:00
Vyacheslav Moklev
95556e01c9 Fix const pointer after JDK-8225032 fix 2022-05-12 07:03:52 +03:00
Vyacheslav Moklev
fafb2ff8b7 Fix compilation on windows platform: awt_ole.h must be included before awt.h 2022-05-12 07:03:51 +03:00
Vyacheslav Moklev
cad561c71b JBR-1269 Common Item Dialog does not appear on Alt+Tab or click in windows toolbar
JBR-1270 Common Item Dialog does not have an icon

Select a proper window handle
2022-05-12 07:03:50 +03:00
Vyacheslav Moklev
ff3712e83c JBR-1271 Wrong parent of native windows dialogs
Set a proper parent to a dialog window
2022-05-12 07:03:49 +03:00
Vyacheslav Moklev
2f694a75e6 JBR-1273 Common Item Dialog does not open when wrong path to directory is passed
Handle set directory / set file properly
2022-05-12 07:03:48 +03:00
Vyacheslav Moklev
b802473cc3 JBR-1274 Common Item Dialog sometimes crash the process
Prevent from freeing memory with CoTaskMemFree twice
2022-05-12 07:03:46 +03:00
Vyacheslav Moklev
786eec4373 JBR-1257 CommonItemDialog modal window has no owner
Fix modality for Common Item Dialog

squash! JBR-1257 CommonItemDialog modal window has no owner

JBR-2478 java/awt/Modal/FileDialog/FileDialogNonModal7Test.java: DummyButton on Dialog did not gain focus when clicked

revert part of JBR-1271, that's related to 'old' file dialogs
2022-05-12 07:03:45 +03:00
Vyacheslav Moklev
407c6c4f07 JBR-1258 CommonItemDialog ignores directory to open
Fix parsing of directory path / file path
2022-05-12 07:03:44 +03:00
Vyacheslav Moklev
04a262ab27 JRE-1216 Implement Windows native file dialogs with the new Common Item Dialog API
Add implementation of file dialogs with the new Common Items Dialog API
2022-05-12 07:03:43 +03:00
Alexey Ushakov
0ae3ec0496 JBR-1144 [JDK11] [macos] Held down key is not deleted when press backspace after accent menu popup (Mojave)
Handled both Delete and ForwardDelete keys

(cherry picked from commit e3ba0bd651)
2022-05-12 07:03:42 +03:00
Alexey Ushakov
2a41fc6295 JBR-1144 [JDK11] [macos] Held down key is not deleted when press backspace after accent menu popup (Mojave)
Handled backspace separately

(cherry picked from commit 81916a92af)
2022-05-12 07:03:41 +03:00
Elena Sayapina
7f65611960 JBR-1102: [TESTBUG] java/awt/Paint/ComponentIsNotDrawnAfterRemoveAddTest/ComponentIsNotDrawnAfterRemoveAddTest.java: 'paint' method of 60 components was not called
(cherry picked from commit dc7abebe17)
(cherry picked from commit c8d631a142)
2022-05-12 07:03:40 +03:00
Elena Sayapina
268dab575c JBR-998: [TEST] Added new regression test (Input freezes after MacOS key-selector on Mojave)
(cherry picked from commit 3d898a8024)
(cherry picked from commit f368f0f101)
2022-05-12 07:03:40 +03:00
Elena Sayapina
3daf346777 JBR-318: [TEST] Added new regression test (Cmd+` doesn't work after update to JDK 152_*)
(cherry picked from commit 0be0a018b5)
(cherry picked from commit 5bb4c2a1d6)
2022-05-12 07:03:39 +03:00
Elena Sayapina
e017ffdda8 JBR-1054: [TEST] Added new regression test (Weird non-modal dialog above modal dialog behaviour)
(cherry picked from commit b808be6a6a)
(cherry picked from commit 48b7dd874f)
2022-05-12 07:03:38 +03:00
Vitaly Provodin
b02d2e5804 JRE-1117 J2DBench: introduced result reader for TC's charts (follow up)
separated printing values fo TC charts and values for comparisons

(cherry picked from commit bbdbe17e2a)
2022-05-12 07:03:37 +03:00
Vitaly Provodin
de59122a1b JRE-1117 J2DBench: introduced result reader for TC's charts
(cherry picked from commit 422fa59643)
2022-05-12 07:03:36 +03:00
Alexey Ushakov
feee87cdd7 JRE-60 Editor font is distorted on Kubuntu Linux 16.04 with HiDPI
Override FC_HINT_SLIGHT only for small font sizes

(cherry picked from commit 0e1d23c807)
2022-05-12 07:03:35 +03:00
Alexey Ushakov
5cafd43460 JRE-471 Crash on macOS Sierra after Sleep
Replaced [NSScreen screens] 'objectAtIndex' with 'firstObject' to get nil instead of NSRangeException. Added nil checks

(cherry picked from commit d6b98511262055c01522d9ec8024253af7e91564)
(cherry picked from commit cef970e1ba)
2022-05-12 07:03:34 +03:00
Alexey Ushakov
942f140cc0 JRE-608 J2DBench metrics: up to 20x degradation
Increased rendering queue buffer up to 6.4 MB

(cherry picked from commit 9ef00f00a7fb6e14835393f8d3944157c6800727)
(cherry picked from commit 2a61e9e997a880a60c5acb361849205170501b91)
(cherry picked from commit 68ca9f00ded004c970b94bd047a04b9f09237047)
(cherry picked from commit 2fe5289178)
2022-05-12 07:03:33 +03:00
Alexey Ushakov
6f0fc69684 JRE-1028 fwport(9): JRE-1008 Do not use LCD shader on macOS 10.14+ in font rendering
Disable LCD text shader on macOS 10.14+ if LCD rendering is not explicitly specified

(cherry picked from commit dffea9d701)
2022-05-12 07:03:32 +03:00
Konstantin Bulenkov
1de9844f2b update icons
(cherry picked from commit dfe387ff5037deda29d8d522cba6cc5370796ff4)
(cherry picked from commit de1e4a9d71)
2022-05-12 07:03:31 +03:00
Konstantin Bulenkov
a9d606329d add workspace.xml to gitignore
(cherry picked from commit bd5b9403fdca779ecc76f0b3af2918fe772f7ed1)

(cherry picked from commit 37e7661f85)
2022-05-12 07:03:30 +03:00
Vitaly Provodin
b8dc23ef1b Update README.md 2022-05-12 07:03:29 +03:00
Vitaly Provodin
4ae6d13834 Regression test on https://bugs.openjdk.java.net/browse/JDK-8139176
(cherry picked from commit 6f1c0a6)
(cherry picked from commit 63130fd461)

add regression test on https://bugs.openjdk.java.net/browse/JDK-8139176

(cherry picked from commit 380c17456c)

(cherry picked from commit 6f1c0a6)
(cherry picked from commit 63130fd461)
2022-05-12 07:03:28 +03:00
Vitaly Provodin
60f1fac173 not for upstream: added disposing frames in order to provide the test with the chance on the second run
(cherry picked from commit 8170635)
(cherry picked from commit 7fc924f065)
2022-05-12 07:03:27 +03:00
Vitaly Provodin
4a0242d59c JRE-9: added regression test
(cherry picked from commit 4ffb665)
(cherry picked from commit 00a29ad129)
2022-05-12 07:03:26 +03:00
Sergey Malenkov
79399757a6 JRE-100 Scroll with inertia (Mac os) should only work in the initial component
(cherry picked from commit e79502c708)
2022-05-12 07:03:25 +03:00
Sergey Malenkov
363cd43510 IDEA-161965 ignore dragged event that does not change mouse location Sierra is more sensit
(cherry picked from commit ef490fa465)
2022-05-12 07:03:24 +03:00
Stanislav Dombrovsky
abafb9a2c2 Fix rendering of HTML list dots + better vertical align for them.
(cherry picked from commit fa4a404533ba1ef638fe523adc74391aee8a3ebf)

(cherry picked from commit 9f079c66e9)
2022-05-12 07:03:23 +03:00
Vitaly Provodin
8771ed0c86 configure BOOT_JDK to use JDK 16 2022-05-12 07:03:22 +03:00
Dmitry Batrak
e733990a3f JBR-3353 Sibling popup window is shown below dialog on macOS
(cherry picked from commit 4c6f3e4510)
2022-05-12 07:03:21 +03:00
Dmitry Batrak
f31b7169ef JBR-3339 Window requests focus on horizontal scroll (on Linux)
(cherry picked from commit 8d74e8e30b)
2022-05-12 07:03:20 +03:00
Anton Tarasov
c9faeafe04 JRE-166 [macOS] deadlock with JFXPanel
(cherry picked from commit a9dbb6990fac0c659297487a261ba9170e5fb3ad)

(cherry picked from commit 8a44e1bb37)
2022-05-12 07:03:20 +03:00
Alexey Ushakov
355cddbe58 8265445: Introduce the new client property for mac: apple.awt.windowAppearance
Implemented apple.awt.windowAppearance client property
2022-05-12 07:03:19 +03:00
Anton Tarasov
b9923c5809 JBR-3306 jbr-dev warnings: incompatible pointer to integer conversion returning 'void *' from a function with result type 'jlong' 2022-05-12 07:03:18 +03:00
Dmitry Batrak
194aedf3ae JBR-2498 Fix unexpected window raising under Mutter WM
re-implement the fix, so that ChildAlwaysOnTopTest isn't failing
2022-05-12 07:03:17 +03:00
Maxim Kartashev
f75105a590 JBR-3323 Improve sanitizer-enabled builds
Improve usability of builds with --enable-asan.
Add the --enable-usan option to build with Undefined Behavior Sanitizer.
2022-05-12 07:03:16 +03:00
Alexey Ushakov
1e8a13f9ca JBR-3327 [jbr-dev] Adjust mac window appearance according to AppleInterfaceStyle property
Set window appearance according to AppleInterfaceStyle default
2022-05-12 07:03:15 +03:00
Alexey Ushakov
7401de6ff5 JRE-238 [736] java.awt.AWTError: access denied ("java.lang.RuntimePermission" "canInvokeInSystemThreadGroup")
Moved task execution on AppKit to the privileged block. Minor refactoring

(cherry picked from commit 5dbb88471115c9e4a536ae37d0e6794de9e5ac9c)
2022-05-12 07:03:14 +03:00
Alexey Ushakov
fa2d2612d8 JRE-359 CGraphicsEnvironment.getDefaultScreenDevice() returns null
Moved CG api calls to AppKit thread

(cherry picked from commit fd0210f035199e8612097a2c1d42b90cfd2111f8)
(cherry picked from commit 5e99e376d9dfe477401121878704630c3c13f9f7)

(cherry picked from commit 6d73b25130)
2022-05-12 07:03:13 +03:00
Dmitry Batrak
9024bde456 JBR-2973 Copy/Move dialog not in the focus on drag-n-drop to Project Tool window from external application
(cherry picked from commit 20fe78b650)
2022-05-12 07:03:12 +03:00
Alexey Ushakov
0602e36aed JRE-444 CPlatformWindow.nativeGetTopmostPlatformWindowUnderMouse is slow
Replaced number of CGWindowListCopyWindowInfo for each window layer with [NSWindow windowNumberAtPoint: belowWindowWithWindowNumber:]

(cherry picked from commit 2a143af4d62340acdfd9c94d876f684385febbc8)
(cherry picked from commit 6fc369e8bf)
2022-05-12 07:03:11 +03:00
Alexey Ushakov
fcf2ddf3e7 JRE-482 Java_sun_font_CStrike_getNativeGlyphOutline takes too much time in scrolling
Replaced glyph outlines with bounding boxes for glyph boundaries calculation for most common usages. Also, skipped unnecessary OGL flushes in OGL rendering queue

(cherry picked from commit c58dc052af48887338a38beb0c721eddca3af481)
(cherry picked from commit 7f6be7cfb907bbf1c3572b911df5690fa3039fde)
(cherry picked from commit c68913d82c0ba4b4c509179123f0a4bf7971f857)
(cherry picked from commit 9cfa04c93ad416a8177d9e7ca410850bd3ff880f)
(cherry picked from commit 0e930841704e4e98ecc0c888b144245e74218799)
(cherry picked from commit 8ffc190fbdb059d5a24842115c0bc3ade8b351b9)
(cherry picked from commit 0f7c26186a)
2022-05-12 07:03:10 +03:00
Alexey Ushakov
f26e421459 JBR-3316 Reimplement CThreading functionality on top of OpenJDK17 sourcebase
Adopted CThreading related code to OpenJDK17 source base

(cherry picked from commit 5dfb30ae68b2c54d58c98a9195709c031f823581)
(cherry picked from commit 94163bd69f64616836523e81567aa1141480d841)
2022-05-12 07:03:09 +03:00
Alexey Ushakov
a017a09b90 JBR-3304 jbr-dev warnings: 'getPhysFontName' defined but not used [-Werror=unused-function]
Removed unused code
2022-05-12 07:03:08 +03:00
Vitaly Provodin
fd30b2f565 exclude javax/swing/JTabbedPane/4624207/bug4624207.java failing on windows due to 8197552 2022-05-12 07:03:07 +03:00
Alexey Ushakov
6b5e3b804b JRE-366 Add support for Awesome WM
Added detection of Awesome WM and handled similar to Sawfish WM

(cherry picked from commit 6742077ed198975949af567e8ef543f853397351)
(cherry picked from commit 2847be73c6)
2022-05-12 07:03:06 +03:00
Alexey Ushakov
8c13fcaf25 JRE-353 Fedora 25 + XMonad rendering issues
Added support for Xmonad WM

(cherry picked from commit c690c3c7fdf1390e6b1a8d388ff752a09391ae3c)
(cherry picked from commit 6851dc3441)
2022-05-12 07:03:05 +03:00
Denis Konoplev
4f3c564fc6 8264143: Change uint8_t to unsigned char 2022-05-12 07:03:04 +03:00
Dmitry Batrak
e15a879a5a JBR-3255 Applying 'incline' transform might change character's advance
(cherry picked from commit b37f7cfdb1)
2022-05-12 07:03:03 +03:00
Dmitry Batrak
c55b766069 JBR-3215 'deriveFont(float)' can return a different font (not just change the size)
(cherry picked from commit 8eafcaab24)
2022-05-12 07:03:02 +03:00
Dmitry Batrak
a61a343f45 JBR-3157 Maximized window with custom decorations isn't focused on showing
(cherry picked from commit 62b04983f2)
2022-05-12 07:03:01 +03:00
Dmitry Batrak
8549075139 make AwtListGarbageCollectionTest pass reliably
(cherry picked from commit 304eb7f919)
2022-05-12 07:03:00 +03:00
Dmitry Batrak
b1d95a976c JBR-1752 Floating windows overlap modal dialogs
(cherry picked from commit 0161050077)
2022-05-12 07:02:59 +03:00
Dmitry Batrak
a0d3690292 JBR-3054 Focus is not returned to frame after closing of second-level popup on Windows
(cherry picked from commit 0c2b6e1c04)
2022-05-12 07:02:58 +03:00
Dmitry Batrak
9d4d650d59 JBR-2702 Tooltips display through other applications on hover
(cherry picked from commits 11732c2469, 0ed7deabaa)
2022-05-12 07:02:57 +03:00
Dmitry Batrak
c2c17cdaae added RobotSmokeTest
this test failing in jtreg launch most probably indicates either some problem with the environment (e.g. some windows left open from previously launched processes) or with java.awt.Robot implementation

(cherry picked from commit 1d525a2d2f)
2022-05-12 07:02:56 +03:00
Dmitry Batrak
cd390745cb JBR-2847 Always dispatch KEY_TYPED event to the same component as KEY_PRESSED event
also fixes JBR-2834, IDEA-254466, IDEA-254466
squashed with fixes for JBR-3291, JBR-3307, JBR-3598

(cherry picked from commits e94f6057a4, ba6b9c085e, 2ccf6b65a7, 3b0708af7d, 3674766d65)
2022-05-12 07:02:56 +03:00
Dmitry Batrak
3ab01aa296 JBR-2712 Typeahead mechanism doesn't work on Windows
(cherry picked from commits 1a9838082e, f5b6222835, acd7e3b2da, cd6dd5c3cf8556f97f3113cb7d615a92393b57bf(partially), e8bbd8ffdd90f57cd12d7d7e89188be97ee4be0b(partially), 37901295e1, cafb374afc)
2022-05-12 07:02:55 +03:00
Denis Konoplev
74036a476c 8264143: Lanai: RenderPerfTest.BgrSwBlitImage has artefacts on apple M1
Add stdint include to fix x64 build
2022-05-12 07:02:54 +03:00
Dmitry Batrak
d4ac3dd22b JBR-2498 Fix unexpected window raising under Mutter WM
(cherry picked from commit 73b45fb899)
2022-05-12 07:02:53 +03:00
Dmitry Batrak
abb18bf716 JBR-2248 Support text wrapping in a <pre> tag in JEditorPane
port from JBR 11 to JBR 15 (cherry picked from commit ff2e915371)

cherry picked from commit 6a30c56138
2022-05-12 07:02:52 +03:00
Dmitry Batrak
940f88e744 JBR-2234 Support CSS setting overflow-wrap:anywhere in JEditorPane
port from JBR 11 to JBR 15 (cherry picked from commits b6583d0a71, 6003abc15f)

cherry picked from commit 93ad4f06dd

also includes JBR-4006 [JCK] javax.swing.text.html.CSS$Attribute.OVERFLOW_WRAP field breaks public API
(cherry picked from commit f20a3d8679)
and JBR-4007 [JCK] javax.swing.text.GlyphView.calcBreakSpots method breaks public API
(cherry picked from commit 1002eff4f3)
2022-05-12 07:02:51 +03:00
Dmitry Batrak
d7248ed801 JBR-2050 Issue with keycap emojis
port from JBR 11 to JBR 15 (cherry picked from commit ae91e1d7f1)

cherry picked from commit d3018a1837
2022-05-12 07:02:50 +03:00
Dmitry Batrak
5a099d67f3 JBR-1987 Korean/Thai characters not printed properly in annotation tooltip (e.g. spellchecker)
This changes the fonts JDK uses for font fallback on Windows. These used to be DokChampa (for Thai) and Batang/Gulim/Gulim (for Korean).
Those fonts are not available by default on Windows 10, user needs to install supplementary font language packs to get them.
Now the following fonts will be used - Tahoma (for Thai) and Malgun Gothic (for Korean). They are available by default
on Windows 7, 8 and 10.

port from JBR 11 to JBR 15 (cherry picked from commit 850653192b)

cherry picked from commit 2bf43a57ab
2022-05-12 07:02:49 +03:00
Dmitry Batrak
6c9b2fa160 JBR-1714 Italic text is displayed using incorrect glyphs on Windows
port from JBR 11 to JBR 15 (cherry picked from commits 46e4cdfcbd, 9cc5cbc99b)

cherry picked from commit 6769b27e53
2022-05-12 07:02:48 +03:00
Dmitry Batrak
9edff5a460 JBR-1689 Incorrect painting of long strings on linux
port from JBR 11 to JBR 15 (cherry picked from commits e12c1d6f0d, 0429e74e9d)

cherry picked from commit e43cfd198f
2022-05-12 07:02:47 +03:00
Dmitry Batrak
77243752bf JBR-1248 Exception caused by broken font
port from JBR 11 to JBR 15 (cherry picked from commit 4efa7eab3e)

cherry picked from commit 6e1c514c6c
2022-05-12 07:02:46 +03:00
Dmitry Batrak
c8bddec126 JBR-1245 [JDK 11] There are different letter spacings in some controls
port from JBR 11 to JBR 15 (cherry picked from commit a26b70568a)

cherry picked from commit e2637199e9
2022-05-12 07:02:45 +03:00
Dmitry Batrak
6d0cae717b JRE-927 Unexpected wrapping of bidirectional text in JEditorPane on HiDPI screens
port commit 11a5a4a2 from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commit 65a5e450d5)

cherry picked from commit 47ff31ae82
2022-05-12 07:02:44 +03:00
Dmitry Batrak
74c3e0714e JRE-774 Don't paste BOM from clipboard on Mac
port commit ea9b75b3 from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commit c6fed2cf58)

cherry picked from commit a5e25d1ef9
2022-05-12 07:02:43 +03:00
Dmitry Batrak
78a05a2724 JRE-847 Box drawing characters have different widths with Monospaced font on Windows
port commit 778cef18 from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commit 9caaac4a5a)

cherry picked from commit eea293f4a4
2022-05-12 07:02:42 +03:00
Dmitry Batrak
89dc7fe9d6 JRE-748 Strange dots with fractional metrics turned on
port commit 82e7c82d from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commit e9bd5f5dad)

cherry picked from commit e0475e9ba2
2022-05-12 07:02:41 +03:00
Dmitry Batrak
d61fc0828c JRE-593 Wrong italic font rendering for Source Code Pro
port commit 1f6bd200 from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commit 32ce109355)

cherry picked from commit 087ff34c2e
2022-05-12 07:02:40 +03:00
Dmitry Batrak
92876874b6 JRE-430 Font fallback sometimes doesn't work in Swing text components
port commit fc8003ad from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commit 5b814d6b34)

cherry picked from commits b871188f44, 0a9f16dc90, 9cc82c39d9
2022-05-12 07:02:39 +03:00
Alexey Ushakov
c893b4043c JRE-303 2017.1.1 update breaks linux fonts
Corrected rendering hints for Non-AA text rendering

(cherry picked from commit b923aa7a0729a10ea47d3438622d659fbead44c9)
(cherry picked from commit b6bdd04e41)
2022-05-12 07:02:38 +03:00
Alexey Ushakov
b12e259d89 JRE-205 Font is wrong and without anti aliasing in 2017.1 EAP
Added property to disable bundled font config:
  java2d.font.loadFontConf=false
Do not load custom font.conf by default

Moved hints adjusting logic from code to bundled font.conf file
Applied correction only for regular fonts with platform sizes less than 12
Some fonts are not corrected at all: Consolas, Noto Sans Mono
Used family name instead of physical one in requests to Fontconfig
Removed redundant call to FcConfigBuildFonts
Added privileged access to the properties (JRE-235,JRE-235)

(cherry picked from commit 4d4c915047077ebd966b0e3be056566d56ba11a4)
(cherry picked from commit 9d6f325f72482405264852f3ee2636f5fedaeaf0)
(cherry picked from commit e7e3372bf8db539c0f6bc85db9f1093f8fa4c380)
(cherry picked from commit 3e724caed2f199be50d25d1ecb20b7819c86be2e)
(cherry picked from commit d372b35963c096a32331b05b257e26841ace5d94)
(cherry picked from commit 18a5f5de03eb107f89dca138a44b9aab2151235c)
(cherry picked from commit 9ba320efef0539f75aa93fd1b5dd80266c954d0a)
(cherry picked from commit b8c38f419972af61291953f7f452c1698f7a1624)
(cherry picked from commit debba0128e200be60adc9a339d5985590ef4e230)
(cherry picked from commit 2fa17b1bd7d6524e4b5fa4d0b3ce2bf02a8fcc78)
(cherry picked from commit 09b4f61db0d4f5beea0e16ce9136c99e2185c10b)
(cherry picked from commit 3b6782dd742f9c74a9535145db2f9f7ffaccf7c8)
(cherry picked from commit f1b68149528c13a22fa64468c130b1405bf3d081)
(cherry picked from commit db5cf5a2b9cb454630fb86783c2d58cd5446cba6)
(cherry picked from commit 32140948578bc3c2a0c5f8adb537660421efe5e7)
(cherry picked from commit b978e3d0b131ed642774c5a14a649e13f764c20b)

(cherry picked from commit c75c1ef8b2)

(cherry picked from commit a29f19e6a2)
2022-05-12 07:02:38 +03:00
Dmitry Batrak
e999d2d894 an option to disable native rendering for rotated text (following JRE-19)
port commit ccc1ded6 from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commit 72fb9ff7c4)

cherry picked from commit a5bd092449
2022-05-12 07:02:37 +03:00
Dmitry Batrak
451282b6ba JRE-11 Support text rendering via DirectWrite API on Windows
port commits 7b180f8d, cccbcab4 from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commit 030f15834c)

cherry picked from commit b16ee45915
2022-05-12 07:02:36 +03:00
Dmitry Batrak
823d0d2b3d IDEA-150876 OpenJDK fonts for toolwindow names look worse than Oracles's
don't apply FreeType-returned glyph advance for rotated glyphs rendered by GDI

This seems to produce a better looking text (more evenly spaced). Fractional metrics won't be respected by this code, but we can address this later if needed.

port commits c9debd5e, ed78cd00, 4c7e1619, 7aa0429c, 7bd6c17c from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commits d6b588bdab, dbc15fb84e)

cherry picked from commit 2c0d6150d0
2022-05-12 07:02:35 +03:00
Vitaly Provodin
eccbaf6a4f JRE-186 added regression test (Modal dialogs (Messages) shouldn't popup IDEA when another application is active)
(cherry picked from commit 236bd38d1b)
2022-05-12 07:02:34 +03:00
Vitaly Provodin
8b1ca6e880 JRE-269 added regression (JLabel doesn't scale <code>text</code> HTML fragments.)
(cherry picked from commit 1f4ad38d23)
2022-05-12 07:02:33 +03:00
Alexey Ushakov
216fa83182 JRE-307 Wrong dpi reported on Wayland
(cherry picked from commit 15693661cc)
2022-05-12 07:02:32 +03:00
Vitaly Provodin
844b3e968e JRE-392 added regression (Tip of the day is not hidden while another modal window is shown)
(cherry picked from commit c7b0ac686f)
2022-05-12 07:02:31 +03:00
Vitaly Provodin
902c1429ef JRE-394 added regression test (System getenv doesn't return env var set in JNI code)
(cherry picked from commit 3a7b3c67b0)
2022-05-12 07:02:30 +03:00
Vitaly Provodin
9059781d64 JRE-401 added regression test (AppCode freezes during autocomplete and other operations)
(cherry picked from commit cb4453b1d1)
2022-05-12 07:02:29 +03:00
Vitaly Provodin
fa6e8de729 JRE-422 added new regression test (AWTView deliverJavaMouseEvent leaks jEvent)
(cherry picked from commit 37dc13c603)
2022-05-12 07:02:28 +03:00
Vitaly Provodin
9df4186e39 JRE-430 added new regression test (Font fallback sometimes doesn't work in Swing text components)
(cherry picked from commit d04debc847)
2022-05-12 07:02:27 +03:00
Vitaly Provodin
887c0dcc23 JRE-457 added new regression test (OGLTR_DisableGlyphModeState is slow)
(cherry picked from commit 3a43f4557f)
2022-05-12 07:02:26 +03:00
Vitaly Provodin
557b7319b3 JRE-458 added new regression test (Insufficient and inconsistent permissions on some files in Linux build)
(cherry picked from commit 82adbe9c25)
2022-05-12 07:02:25 +03:00
Vitaly Provodin
b19968b5cc JRE-467 added new regression test (Wrong rendering of variation sequences)
(cherry picked from commit 0026095202)
2022-05-12 07:02:24 +03:00
Vitaly Provodin
0fc164bb9c JRE-468 added new regression test (Idea freezes on project loading)
(cherry picked from commit 1ce8c3ce82)
2022-05-12 07:02:23 +03:00
Vitaly Provodin
6224eea31b JRE-501 added new regression test (Live resize is jerky for heavy java applications on Mac)
(cherry picked from commit c4a1277c1b)
2022-05-12 07:02:22 +03:00
Vitaly Provodin
8b45d4145f JRE-638 added new regression test (enable unlimited cryptographic policy by default)
(cherry picked from commit 4a14c6f15a)
2022-05-12 07:02:22 +03:00
Vitaly Provodin
c630cff11b JRE-705 added new regression test (Z-order of child windows is broken on Mac OS)
(cherry picked from commit 82cd480619)
2022-05-12 07:02:21 +03:00
Vitaly Provodin
cca7abfc18 JRE-624 CThreading isAppKit() fails to detect main app thread if it was renamed
(cherry picked from commit c8f248a936)
2022-05-12 07:02:20 +03:00
Alexey Ushakov
42cc0cd896 IDEA-166173 IntelliJ freezes when returning from sleep
Fixed deadlock by removing unnecessary getScreenResolution call

(cherry picked from commit cec93cf1fd)
2022-05-12 07:02:19 +03:00
Alexey Ushakov
d9ba55dbc2 Added missing fontconfig defines
(cherry picked from commit 2ac273a456)
2022-05-12 07:02:18 +03:00
Alexey Ushakov
09e9741c80 JRE-43 Font.getFamily() does not work in headless mode
Removed unused code

(cherry picked from commit 5b523f049e)
2022-05-12 07:02:17 +03:00
Alexey Ushakov
7b287f5617 JRE-43 Font.getFamily() does not work in headless mode
Bundled Droid fonts to fallback in headless mode

(cherry picked from commit 5b523f049e)
2022-05-12 07:02:16 +03:00
Alexey Ushakov
8f99123980 JRE-15 Greyscale text is too dark comparing with subpixel AA
Adjusted default value for greyscale text rendering in freetype

(cherry picked from commit f80497c4f0)
2022-05-12 07:02:15 +03:00
Alexey Ushakov
e514a5affe IDEA-155347 On Ubuntu with High DPI tooltip font is too thick when the tooltip is fading in and out
Handled missing FC_RGBA_NONE value

(cherry picked from commit 44fcbdabf8)
2022-05-12 07:02:14 +03:00
Alexey Ushakov
b3bf386b3e IDEA-149882 Issue with fonts in Ubuntu 12.04
Provided fallback to default font rendering settings if libfontconfig unable to
match font pattern

(cherry picked from commit d93a5f1598)
2022-05-12 07:02:13 +03:00
Alexey Ushakov
7bdf0a2421 IDEA-151619 CLion EAP fails to start with missing symbol: FT_Library_setLcdFilter
Skip FT_Library_setLcdFilter call if the symbol is not there
Cache negative FT_Library_setLcdFilter symbol lookup result
Used RTLD_DEFAULT handler for process symbols lookup

(cherry picked from commit e6f0055704)
2022-05-12 07:02:12 +03:00
Alexey Ushakov
cfc89281de JRE-29 fontconfig lib crashes CLion on OSX
Disabled fontconfig usage on OSX

(cherry picked from commit 431e14429c)
2022-05-12 07:02:11 +03:00
Vitaly Provodin
2912b4985c exclude tests spontaneously creating windows during test execution 2022-05-12 07:02:10 +03:00
Alexey Ushakov
018464d497 JRE-48 built-in jre renders fonts abnormally heavier (normal text looks bold) than the oracle jre
Disable FT_LOAD_TARGET_LIGHT for fonts with FC_AUTOHINT=false (this target implicitly enables  FC_AUTOHINT)
Reused setupLoadRenderFlags for all rendering cases

(cherry picked from commit f3f2667a4c)
2022-05-12 07:02:09 +03:00
Alexey Ushakov
a3af0bb096 Added logging for freetypeScaler via env variable OPENJDK_LOG_FFS=yes
and for screen resolution in freetypeScaler

(cherry picked from commit 091d74a791)
2022-05-12 07:02:08 +03:00
Alexey Ushakov
3f4dc38eba JRE-34 IDE Crashes During Startup
Added validation of dpi settings coming from xserver

(cherry picked from commit b1c49c3b27)
2022-05-12 07:02:07 +03:00
Anton Tarasov
d015aa34ba Add build.gradle 2022-05-12 07:02:06 +03:00
Anton Tarasov
d7b3bd2f77 JBR-2031 [mac] jcef deadlocks with a11y on start
(cherry picked from commit 4f44b37f08)
2022-05-12 07:02:05 +03:00
Alexey Ushakov
f609366496 JRE-1083 [JDK11] Test com/sun/java/accessibility/util/8051626/Bug8051626.java fails on macOS on JB JDK11b
Wrapped SelectorPerformer invocation into privileged action

(cherry picked from commit 48e7b547ae)
2022-05-12 07:02:04 +03:00
Anton Tarasov
a420dbcee9 JBR-2019 provide getWindowHandle method for jcef
(cherry picked from commit 7ae706b629)
2022-05-12 07:02:03 +03:00
Anton Tarasov
2b5c512262 Comment assertion (originally JRE-965)
The assert line crashes debug hotspot.

(cherry picked from commit a00074a86c)
2022-05-12 07:02:02 +03:00
Anton Tarasov
e741a4dd77 JBR-1976 [jcef] need mouse-transparent window on Windows
(cherry picked from commit b60fac96b4)
2022-05-12 07:02:01 +03:00
Anton Tarasov
223e41508f JBR-1824 export NSWindow::setIgnoresMouseEvents to java internal API
(cherry picked from commit 4399dc382c)
2022-05-12 07:02:01 +03:00
Anton Tarasov
7e1f31c21a JBR-1802 com/sun/java/accessibility/util/8051626/Bug8051626.java: access denied ("java.lang.RuntimePermission" "getClassLoader")
(cherry picked from commit eae772aca9)
2022-05-12 07:02:00 +03:00
Anton Tarasov
b6a7a442a4 JBR-1795 Project opened from Welcome screen goes to backgound after loading
(cherry picked from commit 322526458a)
2022-05-12 07:01:59 +03:00
Anton Tarasov
33853b35e8 JBR-1609 Jupyter Notebook eventually causes IDEA to become unresponsive on Mac OSX
(cherry picked from commit 8ae0be8eb6)
2022-05-12 07:01:58 +03:00
Anton Tarasov
c8c16cf870 JBR-1786 Weird white border for IDE window
(cherry picked from commit 4b09614a0e)
2022-05-12 07:01:57 +03:00
Vyacheslav Moklev
f93bb962b6 JBR-1552 Invalid screen bounds in full screen mode
Check is window is not in undecorated state

(cherry picked from commit 5547701e2c)
2022-05-12 07:01:56 +03:00
Vyacheslav Moklev
b1fb87d679 JBR-1509 Client area size is wrong in Borderless mode
Fix client area size

(cherry picked from commit 00d32e58dc)
2022-05-12 07:01:55 +03:00
Anton Tarasov
d19d56bb2e JBR-1770 [windows] frame does not open as maximized
(cherry picked from commit d9dfc3c6c5)
2022-05-12 07:01:54 +03:00
Anton Tarasov
1b2639eec1 JBR-1693 difficult to input Japanese text with "Fast" Key Repeat
(cherry picked from commit 12de3e287e)
2022-05-12 07:01:53 +03:00
Anton Tarasov
76609732b6 JBR-1669 IDE-managed HiDPI mode is broken
(cherry picked from commit 461b0b5cd4)
2022-05-12 07:01:52 +03:00
Anton Tarasov
6501fd994c JBR-1650 propagate custom decoration title bar height to native
(cherry picked from commit f6fc65d014)
2022-05-12 07:01:51 +03:00
Anton Tarasov
afd1180a7b JBR-1629 Maximized window cut at the right and bottom
(cherry picked from commit 9e768377db)
2022-05-12 07:01:50 +03:00
Anton Tarasov
8fe257f22a JBR-1492 Not able to start Intellij Idea 2017.2.5 with modified vmoptions
(cherry picked from commit e7ca6db66b)
2022-05-12 07:01:49 +03:00
Anton Tarasov
64d19ad238 JBR-1427 pycharm jupyter preview stuck and no response when click on preview.
(cherry picked from commit 1746b04686)
2022-05-12 07:01:48 +03:00
Anton Tarasov
f47cd92c96 IDEA-210154 Borderless UI: Top frame of IDEA window is blue
(cherry picked from commit 2dd4163bc4)
2022-05-12 07:01:47 +03:00
Anton Tarasov
f85bd9095f JBR-1351 Borderless UI: Bold frame around IDEA window appears on non-HiDPI display
(cherry picked from commit 06d35de069)
2022-05-12 07:01:46 +03:00
Anton Tarasov
0f792f9622 JBR-1313 wrong insets for non-resizable custom-decorated frame
(cherry picked from commit 9179718cb6)
2022-05-12 07:01:45 +03:00
Anton Tarasov
11a91fc847 JBR-1293 do not modify client bounds when custom-decorated frame is set undecorated
(cherry picked from commit cb188edaab)
2022-05-12 07:01:44 +03:00
Anton Tarasov
61b71adcae JBR-1278 allow native border and shadow for custom decoration mode
(cherry picked from commit a879ad5739)
2022-05-12 07:01:43 +03:00
Anton Tarasov
551d23c5a3 JRE-1232 forwardport: JRE-1228 support custom frame decoration
(cherry picked from commit d2820524a1)
2022-05-12 07:01:43 +03:00
Anton Tarasov
391c3452d8 JRE-1162 [jdk11] support on-the-fly DPI change on linux
(cherry picked from commit c06c4c69d3)
2022-05-12 07:01:42 +03:00
Anton Tarasov
24d9d4e4b7 JRE-1142 [jdk11] hidpi is not detected since Ubuntu 18.04
(cherry picked from commit be4f8c0d9d)
2022-05-12 07:01:41 +03:00
Anton Tarasov
e167c274b3 JRE-1111 [JDK11] java/beans/Beans/TypoInBeanDescription.java crashes at libawt_xawt.so+0x4a30d
(cherry picked from commit b89e6aed0b)
2022-05-12 07:01:40 +03:00
Anton Tarasov
a2695f50c4 fix JNI_OnUnload definition
(cherry picked from the commit  3571e39071)

(cherry picked from commit 1019d8f0f2)
2022-05-12 07:01:39 +03:00
Anton Tarasov
ff19d29114 JRE-981 IM workaround does not work anymore
forward port of 2d7c29b in JetBrains/jdk8u_jdk

(cherry picked from commit f3ccc53e02)
2022-05-12 07:01:38 +03:00
Anton Tarasov
88aa893b9a JRE-938 [windows] Frame.setMaximizedBounds not hidpi-aware
(cherry picked from commit cc97899923320e1fa17f5e44975c4a0f0ba51014)
(cherry picked from commit ccfe65be7f)
2022-05-12 07:01:37 +03:00
Anton Tarasov
c3a883b787 JRE-907 macOS: add ability to check for scaled display mode
(cherry picked from commit e496262aa1)
2022-05-12 07:01:36 +03:00
Anton Tarasov
43b6d6443a JRE-934 Diff viewer errors are not visible on HiDPI Linux
(cherry picked from commit 641a09dd52)
2022-05-12 07:01:35 +03:00
Anton Tarasov
400ae0c8b3 [jdk9] HiDPI scale is not detected on some linux desktops
(cherry picked from commit 9279d80110)
2022-05-12 07:01:34 +03:00
Anton Tarasov
881be1d341 JRE-681 [windows] direct drawing into frame graphics may have wrong translate
(cherry picked from commit 6ea1d45fd1)
2022-05-12 07:01:33 +03:00
Anton Tarasov
780439c3ab Read org.gnome.desktop.interface/scaling-factor
(cherry picked from commit 277357ae73)
2022-05-12 07:01:32 +03:00
Anton Tarasov
9d76558176 Revert "8239894: Xserver crashes when the wrong high refresh rate is used"
This code is needed for "Read org.gnome.desktop.interface/scaling-factor".
Keep it until "JDK-8260270 Implement the HiDPI scale factor reading" is fixed.

This reverts commit a7c2ebc7
2022-05-12 07:01:31 +03:00
Anton Tarasov
f344de1177 Do not scale base font in HiDPI mode on Linux
(cherry picked from commit 6fb2c36529)
2022-05-12 07:01:30 +03:00
Anton Tarasov
4a79213312 JRE-772 swing returns incorrect FRC when AA is off
(cherry picked from commit a161897d908aa10da6306c06452c5d6317fed2f0)
(cherry picked from commit 2bf5a7ca5c)
2022-05-12 07:01:29 +03:00
Anton Tarasov
92962c1939 JRE-681 [windows] direct drawing into frame graphics may have wrong translate
(cherry picked from commit ab6dee4c1fc453ad3cb5adb69fc243e550d184ae)

(cherry picked from commit 6ea1d45fd1)
2022-05-12 07:01:28 +03:00
Anton Tarasov
d32558e578 JRE-665 Navigate Class/File/Symbol, Find in Path popup windows don't pick characters from input method
(cherry picked from commit 676f305b2b3b278e305bd4d9bde4269f27b3d676)
(cherry picked from commit 6ce31e0a32)
2022-05-12 07:01:27 +03:00
Anton Tarasov
48fc447123 JRE-616 [linux] notify when dpi correction factor is applied to fonts
(cherry picked from commit f57d41f3118bfd773c99ce32d58cfae16931be6a)
(cherry picked from commit 6246abc72f)
2022-05-12 07:01:26 +03:00
Anton Tarasov
5e5f6edbb0 JRE-612 [windows] icon in frame title is not dpi-aware
(cherry picked from commit dec04385177a2abb677add909d3b94f94c62a14e)

(cherry picked from commit 38466cbab0)
2022-05-12 07:01:25 +03:00
Anton Tarasov
51d4c709cb JRE-604 [fps] frame's client area is one pixel beneath frame's borders
Adopted.

(cherry picked from commit ef2870ee38)
2022-05-12 07:01:24 +03:00
Anton Tarasov
666af0345e JRE-596 [windows] popup positioning is broken with JRE-573
Adopted: moved to AwtWindow::Reshape

(cherry picked from commit c5cc28d85d)
2022-05-12 07:01:23 +03:00
Anton Tarasov
0241510100 JRE-577 Goland 18 displays out of memory
(cherry picked from commit 2daaf21e420d4af15d3b1bfeb3f896074bea1e61)

(cherry picked from commit 9ea2011948)
2022-05-12 07:01:22 +03:00
Anton Tarasov
b532521956 JRE-573 [windows] window client area bounds mismatch
Apply only WmEraseBkgnd

(cherry picked from commit afa68f7ad6440303c6417be3f675b1c4644b6014)

(cherry picked from commit 0651b45e13)
2022-05-12 07:01:21 +03:00
Anton Tarasov
fe088a8a1d JRE-382 Three AWT-tests become hanging starting since master-875
(cherry picked from commit 7d492101db8fcbb3d285fd8e9669f74b0e0fce8f)
(cherry picked from commit b965f85c1b)
2022-05-12 07:01:21 +03:00
Anton Tarasov
9c73368c5e JRE-373 [macos] nativeCreateNSWindow deadlocks with a11y
(cherry picked from commit 72c77a992bbf1b95b82ffc08cb2f4f3bc36b3657)

(cherry picked from commit aa09fa2c85)
2022-05-12 07:01:20 +03:00
Anton Tarasov
9595bdeb2d IDEA-172422 Popup at the wrong place on the second monitor (new hidpi)
Adopted: moved to AwtWindow::Reshape

(cherry picked from commit 11a0911d65)
2022-05-12 07:01:19 +03:00
Anton Tarasov
c687303d80 JRE-309 [windows] on-screen position of a component is not pixel-perfect in user space in JRE-HiDPI mode
Adopted: moved to AwtWindow::Reshape

(cherry picked from commit 985908cf10)
2022-05-12 07:01:18 +03:00
Anton Tarasov
c27039214c JRE-269 JLabel doesn't scale <code>text</code> HTML fragments.
(cherry picked from commit 9ef72b6c3a477e4225f9b98e30fa9190613520e4)
(cherry picked from commit c17bc728ee)
2022-05-12 07:01:17 +03:00
Anton Tarasov
5a0258efc5 JRE-225 [macos] IDEA hangs on attempt to call getDefaultScreenDevice() from EDT
(cherry picked from commit 76aba25)

(cherry picked from commit df11dcc97bb5556ac5d0299b773a512b4f0bb5bb)
(cherry picked from commit aeea6c1ca3)
2022-05-12 07:01:16 +03:00
Anton Tarasov
b257f0f49e JRE-210 JEditorPane may return wrong preferred size as it moves b/w monitors of different scale
(cherry picked from commit 6c3087e6bda32ae9b095e069d8bea614502f5c03)
(cherry picked from commit adb3a4be16)
2022-05-12 07:01:15 +03:00
Anton Tarasov
51212a481c JRE-119 [suppress updateGC() for WFileDialogPeer/WPrintDialogPeer]
updateGC() is called from WWindowPeer.<init> though it's not applicable to the named dialogs
as they don't have native AwtWindow peer required for the method.

(cherry picked from commit 72ed9f653177e273b811cfe70c2dba102a8636e4)
(cherry picked from commit cec49aaa38)
2022-05-12 07:01:14 +03:00
Anton Tarasov
1666d263b9 JRE-119 [use default "sun.java2d.dpiaware=true" to be dpi-aware on Window 7]
This lets awt_Win32GraphicsEnv.cpp SetProcessDPIAwareProperty() call Win7 specific ::SetProcessDPIAware() API func.

(cherry picked from commit 5e7a766090810d839f4352d06fc2812499d766f8)
(cherry picked from commit 7d1d43bfa1)
2022-05-12 07:01:13 +03:00
Anton Tarasov
59086cb610 JRE-119 [Dynamically set DPI-awareness level to enable backward compatible HiDPI behavior]
Adopted: rely on java.manifest

(cherry picked from commit d00cfa4dc62a14a4cf89df9d4c4899970c9fc9e8)

Adopted

(cherry picked from commit 60be76b725)
2022-05-12 07:01:12 +03:00
Anton Tarasov
b4949efc09 JRE-119 [ask if ui scale is enabled natively]
(cherry picked from commit 801f45875fd8699edcbda5896210cec191062261)
(cherry picked from commit 20edebdefa)
2022-05-12 07:01:11 +03:00
Anton Tarasov
14e8a62606 IDEA-153474 let JDK detect Xft.dpi value on non-GTK Linux DEs
Use the GTK method:

https://developer.gnome.org/gobject/stable/gobject-The-Base-Object-Type.html#g-object-get

to retrieve "gtk-xft-dpi" integer property of the X settings.

Add the property to JDK's GtkEngine & gtk2-interface.
Then read the property via GtkEngine from GTK LaF when "gnome.Xft/dpi" is undefined. It's assumed GTK LaF is forcedly installed.

(cherry picked from commit e05fc391ae0a3cc389e836441f882c0cf6ab3b99)
(cherry picked from commit fd615a5b45)
2022-05-12 07:01:10 +03:00
Anton Tarasov
defd55d71b IDEA-148854: AppCode crashes randomly every 15 mins or so
(cherry picked from commit 02f9a5fbb4924ff67c8a04c15e490acfcc750003)
(cherry picked from commit b8f4b4a9ed)
2022-05-12 07:01:09 +03:00
Vitaly Provodin
ff4bbfeca2 updated JTreg exclude list 2022-05-12 07:01:08 +03:00
Alexey Ushakov
a647be9be5 IDEA-57233, IDEA-152816, IDEA-152454 Editor font antialising/appearance problems on Linux
Used desktop DPI instead of hard-coded 72
Compensated increased glyph bitmap size by adjusting font size
Added LCD filter for sub-pixel rendering
Use fontconfig library to provide right rendering options for fonts
Corrected sizes passed to fontconfig library and hinting disabling policy
Added logging and versioned fontconfig lib loading
Resolved font rendering problem in lenses
fix text rendering issues (text cutoff and incorrect rendering in editor fragment components)
FcMatchFont-type pattern substitutions shouldn't be invoked before specific font is selected - it can apply unrelated rules
port commit e21cd635 from JBR 9
partially rollback JBR-363 fix, to apply corresponding change from OpenJDK 12

(cherry picked from commit 5d704a963b)
(cherry picked from commit 3d7ac30072)
(cherry picked from commit 0456745afb)
(cherry picked from commit 3d7ac30072)
(cherry picked from commit 4c8351fecf)
(cherry picked from commit 5faebc73d5)
(cherry picked from commit d1ed8ab118)
2022-05-12 07:01:07 +03:00
Vitaly Provodin
e5cc924934 JBR-3401 enable macos-aarhc64 builds 2022-05-12 07:01:06 +03:00
Vitaly Provodin
d2bf60a86a JBR-3305 remove the option --disable-warnings-as-errors from configure 2022-05-12 07:01:05 +03:00
Vitaly Provodin
963a85d99b JBR-3398 remove the Experimental AOT and JIT Compiler (JEP 410) 2022-05-12 07:01:04 +03:00
Alexey Ushakov
f8c10b6d94 JBR-2807: JDK15: update modules.list to resolve jbr build failure
removed nashorn modules
2022-05-12 07:01:03 +03:00
Vitaly Provodin
74bb95d69f JBR-2130 remove module jdk.pack 2022-05-12 07:01:02 +03:00
Vitaly Provodin
33288e4663 JBR-2922 add JCEF to jbrsdk binaries
& fix a misprint in get_mods_list

JBR-2922 add JCEF to jbrsdk binaries

& fix a misprint in get_mods_list
2022-05-12 07:01:01 +03:00
Vitaly Provodin
591668b3ed JBR-2912 add JBR 15 builds with DCEVM 2022-05-12 07:01:00 +03:00
Vitaly Provodin
67d328954d JBR-2864 initial commit of DCEVM patches reworked for 15 2022-05-12 07:00:59 +03:00
Vitaly Provodin
cee62b5402 JBR-2812 remove --with-import-modules from configure for aarch64 2022-05-12 07:00:58 +03:00
Anton Tarasov
598fc78dc7 JBR-2812 bundle jcef in jmod format instead of modular-sdk
Build test-image with non-jcef build target
2022-05-12 07:00:57 +03:00
Vitaly Provodin
b2a8132318 JBR-2787 fix copying jcef files into jbr/jbrsdk binaries 2022-05-12 07:00:57 +03:00
Vitaly Provodin
d938a19290 JBR-2758 refactor building scripts to apply patches adding required modules instead of excluding
Add jogl and gluegen modules to support jcef osr mode
2022-05-12 07:00:56 +03:00
Anton Tarasov
9a277c3fe5 JBR-2016 add jcef module and export packages to it
(cherry picked from commit cf997f71c6)
2022-05-12 07:00:55 +03:00
Vitaly Provodin
b30cbd3a8a JBR-2473 modify building scripts to add dcevm clauses, add git config to docker image
(cherry picked from commit 2620c62848)
2022-05-12 07:00:54 +03:00
Vitaly Provodin
4f7884eeda JBR-2473 add initial set of DCEVM patches
(cherry picked from commit c0c0a96cf4)
2022-05-12 07:00:53 +03:00
Vitaly Provodin
b00c7e20a1 JBR-2395 eliminate JavaFX from JBR 2022-05-12 07:00:52 +03:00
Vitaly Provodin
039740ef84 JBR-2409 fix prameters for configure 2022-05-12 07:00:51 +03:00
Vitaly Provodin
f862ee59e5 JDK14: exclude dependencies on jcef in x86, fastdebug builds 2022-05-12 07:00:50 +03:00
Vitaly Provodin
474fe6ecea JBR-2396 fix CONF names 2022-05-12 07:00:49 +03:00
Vitaly Provodin
62dfda9246 JBR-2394 replace --disable-debug-symbols with --with-native-debug-symbols=none 2022-05-12 07:00:48 +03:00
Vitaly Provodin
479f7c07e7 add exec permitions to configure 2022-05-12 07:00:47 +03:00
Vitaly Provodin
a4a72d49ee split checkout before building JBR+JFX or JBR+JCEF on two separate commands 2022-05-12 07:00:46 +03:00
Vitaly Provodin
1a2cc70f21 change BOOT_JDK, fix target names 2022-05-12 07:00:45 +03:00
Vitaly Provodin
66ea752180 JBR-2291 add vendor info into bundles 2022-05-12 07:00:44 +03:00
Vitaly Provodin
5edb092626 JBR-2324 address new layout in mac jcef 80.0.4+g74f7b0c+chromium-80.0.3987.122 2022-05-12 07:00:43 +03:00
Vitaly Provodin
2f10ada0e7 JBR-2320 add jdk.attach module into JBR 2022-05-12 07:00:42 +03:00
Vitaly Provodin
343a9f3ea1 JBR-2217 provide JCEF-only (no JavaFX) bundle for master/202 branches 2022-05-12 07:00:41 +03:00
Vitaly Provodin
f4dd0d9191 JBR-2212 add scripts for linux_x86, linux_aarch64, linux_x64_fastdebug, osx_fastdebug, windows_x86 2022-05-12 07:00:40 +03:00
Vitaly Provodin
4fc35b7d17 JBR-1643 fix intermittent fialures of Windows builds at make/Init.gmk:304
combine images and test-image into one make invocation
2022-05-12 07:00:39 +03:00
Vitaly Provodin
884a2981ed JBR-2181 create two separate JBR bundles with JFX and JFX+JCEF 2022-05-12 07:00:38 +03:00
Vitaly Provodin
95ab741d78 JBR-2148 modify signapp&build scripts to match to the new layout 2022-05-12 07:00:38 +03:00
Vitaly Provodin
43aac3e208 JBR-2084 modify scripts to sign Contents/MacOS/libjli.dylib as a a normal file 2022-05-12 07:00:37 +03:00
Vitaly Provodin
a607eef673 JBR-1821 notarize JBR bundles as a standalone app 2022-05-12 07:00:36 +03:00
Vitaly Provodin
b25a7011f7 JBR-2162 move building scripts from TC to JBR repo 2022-05-12 07:00:35 +03:00
Anton Tarasov
9e953984db JBR-2016 add jcef module and export some sun.* packages to it 2022-05-12 07:00:34 +03:00
Vitaly Provodin
25cfae1dc7 JBR-2014 add jdk.hotspot.agent module to jbr 2022-05-12 07:00:33 +03:00
Vitaly Provodin
f13765b1a3 JBR-1286 add jdk.compiler into JBR 2022-05-12 07:00:32 +03:00
Vitaly Provodin
064b5bc668 JBR-1199 add JBR modules list for jlink 2022-05-12 07:00:31 +03:00
Vitaly Provodin
6795d33df9 Update docker script to create jdk15 build env 2022-05-12 07:00:30 +03:00
Vitaly Provodin
7e61f7dae8 JBR-3045 add pressing ESC to close the dialog after test completion
(cherry picked from commit 44d8b28b0b)
2022-05-12 07:00:29 +03:00
Vitaly Provodin
3a1310cc04 JBR-3040 press the button END at the beggining in order to avoid text selection
(cherry picked from commit 1c2bf33db2)
2022-05-12 07:00:28 +03:00
Vitaly.Provodin
c156e5a14e updated JTreg exclude list 2022-05-12 07:00:27 +03:00
Leonid Mesnik
82d257006d 8283001: windows-x86-cmp-baseline fails in some jvmti native libs
Reviewed-by: sspitsyn, amenkov
2022-05-12 02:30:17 +00:00
Eric Liu
e9f45bb270 8282966: AArch64: Optimize VectorMask.toLong with SVE2
Reviewed-by: xgong, ngasson
2022-05-12 01:15:16 +00:00
lawrence.andrews
57a7670886 8285612: Remove jtreg tag manual=yesno for java/awt/print/PrinterJob/ImagePrinting/ClippedImages.java
Reviewed-by: prr
2022-05-11 23:35:51 +00:00
lawrence.andrews
44a60ce172 8285867: Convert applet manual tests SelectionVisible.java to Frame and automate
Reviewed-by: prr
2022-05-11 23:34:25 +00:00
Damon Nguyen
ccbe8faa00 8282772: JButton text set as HTML content has unwanted padding
Reviewed-by: prr, psadhukhan
2022-05-11 23:29:06 +00:00
Claes Redestad
1586bf862b 8286401: Address possibly lossy conversions in Microbenchmarks
Reviewed-by: shade, ecaspole
2022-05-11 20:51:57 +00:00
Doug Simon
1c50ea36a5 8282607: runtime/ErrorHandling/MachCodeFramesInErrorFile.java failed with "RuntimeException: 0 < 2"
Reviewed-by: dholmes, coleenp
2022-05-11 20:08:15 +00:00
Ioi Lam
fcf49f42ce 8286441: Remove mode parameter from jdk.internal.perf.Perf.attach()
Reviewed-by: redestad, alanb
2022-05-11 19:26:53 +00:00
Tyler Steele
46a775af11 8286540: Build failure caused by missing DefaultPollerProvider implementation on AIX
Reviewed-by: bpb, alanb
2022-05-11 18:48:40 +00:00
Jorn Vernee
4ad8cfa26e 8286002: Add support for intel syntax to capstone hsdis
Reviewed-by: thartmann
2022-05-11 17:57:36 +00:00
Coleen Phillimore
cec23b1b07 8286556: Remove EagerInitialization develop option
Reviewed-by: rehn, redestad
2022-05-11 16:19:49 +00:00
Albert Mingkun Yang
89de756ffb 8286387: Remove unused FreeListAllocator::reduce_free_list
Reviewed-by: kbarrett, tschatzl
2022-05-11 15:06:14 +00:00
Aleksey Shipilev
ae695d6cb7 8286476: x86_32: Fix crashes with non-preview mode after JDK-8284161 (Virtual Threads)
Reviewed-by: coleenp, stuefe
2022-05-11 14:15:52 +00:00
Richard Reingruber
87f3d2b870 8286446: PPC64: fix crashes after JDK-8284161 (virtual threads preview)
Reviewed-by: mdoerr, coleenp, shade
2022-05-11 13:21:43 +00:00
Erik Gahlin
7a2bbbbce5 8286396: Address possibly lossy conversions in jdk.management.jfr
Reviewed-by: mgronlun
2022-05-11 12:52:40 +00:00
Erik Gahlin
9ac52b0c2e 8286392: Address possibly lossy conversions in jdk.jfr
Reviewed-by: mgronlun
2022-05-11 12:47:59 +00:00
Erik Gahlin
f628966916 8286541: JFR: RecordingFile.write is missing "since 19"
Reviewed-by: mgronlun
2022-05-11 12:26:21 +00:00
Erik Gahlin
f1554fc4a8 8285872: JFR: Remove finalize() methods
Reviewed-by: mgronlun
2022-05-11 12:17:15 +00:00
Erik Gahlin
faa1aad434 8286515: JFR: Remove SimpleStringIdPool class
Reviewed-by: mgronlun
2022-05-11 12:03:00 +00:00
Manukumar V S
7612bba0f1 8285698: Create a test to check the focus stealing of JPopupMenu from JComboBox
Reviewed-by: prr
2022-05-11 11:48:22 +00:00
Aleksey Shipilev
73c5e993e1 8286473: Drop --enable-preview from Record related tests
Reviewed-by: alanb, jpai, mchung
2022-05-11 08:52:11 +00:00
Severin Gehwolf
63a1ec6e7c 8286430: make test TEST="gtest:<sometag>" exits with error when it shouldn't
Reviewed-by: ihse, erikj
2022-05-11 08:49:30 +00:00
Roland Westrelin
aa7ccdf445 8275201: C2: hide klass() accessor from TypeOopPtr and typeKlassPtr subclasses
Reviewed-by: vlivanov, iveresov
2022-05-11 07:25:49 +00:00
Matthias Baesken
6586e5ae37 8286459: compile error with VS2017 in continuationFreezeThaw.cpp
Reviewed-by: clanger, mdoerr
2022-05-11 06:55:50 +00:00
Aleksey Shipilev
9c2548414c 8286339: compiler/c2/irTests/TestEnumFinalFold.java fails if Enum/String methods are not inlined
Reviewed-by: thartmann, jiefu
2022-05-11 05:29:11 +00:00
Aleksey Shipilev
d547a707bf 8286474: Drop --enable-preview from Sealed Classes related tests
Reviewed-by: alanb, jpai, mchung, lancea
2022-05-11 05:27:56 +00:00
Leonid Mesnik
aaeb08eca4 8278123: serviceability/dcmd/vm/ClassLoaderStatsTest.java failing with java.lang.AssertionError: Should have a hidden class
Reviewed-by: cjplummer
2022-05-10 22:28:12 +00:00
Calvin Cheung
070a0cda31 8286551: JDK-8286460 causes tests to fail to compile in Tier2
Reviewed-by: dcubed
2022-05-10 20:20:37 +00:00
Leonid Mesnik
dcec1d2a68 8286368: Cleanup problem lists after loom integration
Reviewed-by: alanb
2022-05-10 19:12:29 +00:00
Leonid Mesnik
7704eb1866 8284980: Test vmTestbase/nsk/stress/except/except010.java times out with -Xcomp -XX:+DeoptimizeALot
Reviewed-by: dcubed
2022-05-10 19:02:47 +00:00
Leonid Mesnik
d347fc127b 8286438: Add jhsdb jstack processing without --mixed in efh
Reviewed-by: cjplummer
2022-05-10 18:58:58 +00:00
Ioi Lam
61c68abc68 8285518: CDS assert: visibility cannot change between dump time and runtime
Reviewed-by: dholmes, ccheung
2022-05-10 18:18:37 +00:00
Christian Stein
52dbfa99fe 8286460: Remove dependence on JAR filename in CDS tests
Reviewed-by: ccheung, iklam
2022-05-10 18:13:41 +00:00
Sergey Tsypanov
9073a98d57 8282701: Use Class.getInterfaces(false) where possible to reduce allocation pressure
Reviewed-by: redestad, mchung
2022-05-10 17:19:33 +00:00
Erik Gahlin
0f3773635d 8282420: JFR: Remove event handlers
Reviewed-by: mgronlun
2022-05-10 16:14:07 +00:00
Brian Burkhalter
04bba07d65 8286363: BigInteger.parallelMultiply missing @since 19
Reviewed-by: alanb, darcy
2022-05-10 15:30:38 +00:00
Markus Grönlund
fa25733d76 8286480: Remove the c1 getEventWriter() intrinsic to simplify post-Loom integration platform-porting efforts
Reviewed-by: coleenp, shade
2022-05-10 15:18:14 +00:00
Thomas Schatzl
ecbb380450 8286303: Serial: Remove reference to ParGCRareEvent_lock
Reviewed-by: kbarrett, iwalulya
2022-05-10 14:52:17 +00:00
dev-tianqixia
9835678a86 8285710: Miscalculation of G1CardSetAllocator unused memory size
Reviewed-by: tschatzl, ayang
2022-05-10 13:43:33 +00:00
Pengfei Li
1ca540460c 8286125: C2: "bad AD file" with PopulateIndex on x86_64
Reviewed-by: kvn, thartmann
2022-05-10 13:37:03 +00:00
Thomas Stuefe
9e320d9ab1 8286198: [linux] Fix process-memory information
Reviewed-by: dholmes, mbaesken
2022-05-10 13:28:40 +00:00
Erik Joelsson
65f50678f2 8286429: jpackageapplauncher build fails intermittently in Tier[45]
Reviewed-by: asemenyuk, ihse
2022-05-10 13:09:57 +00:00
KIRIYAMA Takuya
c4bd4499f1 8238373: Punctuation should be same in jlink help usage on Japanese language
Reviewed-by: naoto
2022-05-10 12:25:48 +00:00
Claes Redestad
3fa1c40439 8286298: Remove unused methods in sun.invoke.util.VerifyType
Reviewed-by: bpb, alanb, mchung
2022-05-10 09:01:40 +00:00
Lennart Fricke
3462190965 8286163: micro-optimize Instant.plusSeconds
Reviewed-by: scolebourne, redestad, naoto
2022-05-10 09:00:09 +00:00
Thomas Schatzl
60a91d15ad 8286285: G1: Rank issues with ParGCRareEvent_lock and Threads_lock
Reviewed-by: dholmes, iwalulya
2022-05-10 08:49:24 +00:00
Emanuel Peter
d478958eb2 8286179: Node::find(int) should not traverse from new to old nodes
Reviewed-by: kvn, chagedorn, thartmann
2022-05-10 08:04:13 +00:00
Matthias Baesken
de8f4d01b2 8286191: misc tests fail due to JDK-8285987
Reviewed-by: rriggs
2022-05-10 07:44:20 +00:00
Yadong Wang
bf0dc4f844 8286367: riscv: riscv port is broken after JDK-8284161
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: coleenp, fyang
2022-05-10 07:14:31 +00:00
Matthias Baesken
4fd79a6ad2 8285730: unify _WIN32_WINNT settings
Reviewed-by: dholmes, erikj, ihse, prr, alanb
2022-05-10 06:45:15 +00:00
Harshitha Onkar
bd6026c10c 7124282: [macosx] Can't see table cell highlighter when the highlight border is the same color as the cell.
Reviewed-by: psadhukhan, prr
2022-05-10 06:33:38 +00:00
Manukumar V S
9a3cb93038 8030121: java/awt/dnd/MissingDragExitEventTest/MissingDragExitEventTest.java fails
Reviewed-by: prr
2022-05-10 04:37:20 +00:00
Ajit Ghaisas
ace4230634 8261650: Add a comment with details for MTLVC_MAX_INDEX
Reviewed-by: jdv, avu, prr
2022-05-10 04:11:28 +00:00
Alexey Semenyuk
29395534d9 8282351: jpackage does not work if class file has $$ in the name on windows
Reviewed-by: almatvee
2022-05-10 02:53:11 +00:00
Daniel D. Daugherty
61450bb061 8283651: nsk/jvmti/SuspendThread/suspendthrd003 may leak native memory
Reviewed-by: lmesnik
2022-05-09 22:03:55 +00:00
Daniel D. Daugherty
c28a63617d 8286442: ProblemList compiler/c2/irTests/TestSkeletonPredicates.java in -Xcomp mode
Reviewed-by: ctornqvi
2022-05-09 21:35:20 +00:00
Jonathan Gibbons
54e3308210 8286348: incorrect use of @serial
Reviewed-by: iris, prr
2022-05-09 20:35:05 +00:00
Zhengyu Gu
b0d2b0a355 8286331: jni_GetStringUTFChars() uses wrong heap allocator
Reviewed-by: dlong, stuefe
2022-05-09 19:46:03 +00:00
Johannes Bechberger
902b1dd455 8284686: Interval of < 1 ms disables ExecutionSample events
Reviewed-by: egahlin
2022-05-09 19:27:32 +00:00
Daniel D. Daugherty
02e5fc04cc 8286435: JDK-8284316 caused validate-source to fail in Tier1
Reviewed-by: mikael
2022-05-09 19:22:42 +00:00
lawrence.andrews
6a7c023796 8284316: Support accessibility ManualTestFrame.java for non SwingSet tests
Reviewed-by: kizune
2022-05-09 18:30:43 +00:00
Leonid Mesnik
40470d83e4 8284550: test failure_handler is not properly invoking jhsdb jstack, resulting in failure to produce a stack when a test times out
Reviewed-by: dholmes, alanb
2022-05-09 18:26:08 +00:00
Harshitha Onkar
837928ba79 8222323: ChildAlwaysOnTopTest.java fails with "RuntimeException: Failed to unset alwaysOnTop"
Reviewed-by: prr, kizune
2022-05-09 17:39:43 +00:00
Weijun Wang
397d095f66 8285743: Ensure each IntegerPolynomial object is only created once
Reviewed-by: xuelei, ascarpino
2022-05-09 17:18:34 +00:00
Calvin Cheung
29ccb8fbb8 8285914: AppCDS crash when using shared archive with old class file
Reviewed-by: dholmes, iklam
2022-05-09 16:00:57 +00:00
Kim Barrett
fe6e0c0beb 8286371: Avoid use of deprecated str[n]icmp
Reviewed-by: dholmes
2022-05-09 15:21:38 +00:00
Raffaello Giulietti
97a983526b 8274517: java/util/DoubleStreamSums/CompensatedSums.java fails with expected [true] but found [false]
Reviewed-by: alanb, bpb
2022-05-09 14:53:10 +00:00
Xue-Lei Andrew Fan
034f20fe86 8212136: Remove finalizer implementation in SSLSocketImpl
Reviewed-by: wetmore
2022-05-09 14:15:18 +00:00
Xue-Lei Andrew Fan
36e4df9d66 8285516: clearPassword should be called in a finally try block
Reviewed-by: mullan, hchao
2022-05-09 14:13:50 +00:00
Andrew Haley
b849efdf15 8285923: [REDO] JDK-8285802 AArch64: Consistently handle offsets in MacroAssembler as 64-bit quantities
Reviewed-by: ngasson, kvn
2022-05-09 13:37:15 +00:00
Daniel Fuchs
f143386109 8286293: Tests ShortResponseBody and ShortResponseBodyWithRetry should use less resources
Reviewed-by: michaelm
2022-05-09 13:01:16 +00:00
Zhengyu Gu
64b05ccbed 8286346: 3-parameter version of AllocateHeap should not ignore AllocFailType
Reviewed-by: kbarrett, dholmes, stuefe
2022-05-09 12:32:29 +00:00
Doug Lea
4f5d73f2d4 8286294: ForkJoinPool.commonPool().close() spins
Reviewed-by: alanb
2022-05-09 11:09:34 +00:00
Johannes Bechberger
d4474b5816 8285794: AsyncGetCallTrace might acquire a lock via JavaThread::thread_from_jni_environment
Reviewed-by: dholmes, mdoerr, jbachorik
2022-05-09 08:18:31 +00:00
Leo Korinth
39f4434f44 8286312: Stop mixing signed and unsigned types in bit operations
Reviewed-by: coleenp, dholmes
2022-05-09 07:53:54 +00:00
Leo Korinth
b490a58ed8 8283899: Revert 8284190 after fix of 8281297
Reviewed-by: kbarrett
2022-05-09 07:24:12 +00:00
Leo Korinth
1ce72eabe5 8281297: TestStressG1Humongous fails with guarantee(is_range_uncommitted)
Reviewed-by: eosterlund, iwalulya, tschatzl
2022-05-09 07:16:54 +00:00
Alisen Chung
cdd1b0da14 8284613: invalid use of @serial tag
Reviewed-by: prr
2022-05-08 21:22:08 +00:00
Alan Bateman
9583e3657e 8284161: Implementation of Virtual Threads (Preview)
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Vladimir Ivanov
5212535a27 8282218: C1: Missing side effects of dynamic class loading during constant linkage
Reviewed-by: thartmann, kvn
2022-05-06 23:09:23 +00:00
Daniel D. Daugherty
d8f9686b12 8286342: ProblemList compiler/c2/irTests/TestEnumFinalFold.java
Reviewed-by: mikael
2022-05-06 19:53:20 +00:00
Dean Long
bb52ea6820 8286263: compiler/c1/TestPinnedIntrinsics.java failed with "RuntimeException: testCurrentTimeMillis failed with -3"
Reviewed-by: thartmann, kvn
2022-05-06 19:47:48 +00:00
Stuart Marks
5a1d8f7e53 8285295: Need better testing for IdentityHashMap
Reviewed-by: jpai, lancea
2022-05-06 18:41:32 +00:00
Aleksey Shipilev
080f3c5d8a 8286190: Add test to verify constant folding for Enum fields
Reviewed-by: kvn, thartmann
2022-05-06 16:32:02 +00:00
Naoto Sato
1277f5d84e 8286154: Fix 3rd party notices in test files
Reviewed-by: darcy, joehw, iris
2022-05-06 16:10:17 +00:00
Thomas Schatzl
2dd4dfdd63 8286291: G1: Remove unused segment allocator printouts
Reviewed-by: ayang, iwalulya
2022-05-06 14:25:34 +00:00
Thomas Schatzl
b9f4370325 8286189: G1: Change "wasted" memory to "unused" memory in reporting
Reviewed-by: iwalulya, ayang
2022-05-06 12:45:35 +00:00
Boris Ulasevich
c6eab989b7 8285378: Remove unnecessary nop for C1 exception and deopt handler
Reviewed-by: kvn, dlong
2022-05-06 09:29:04 +00:00
Hannes Wallnöfer
3cdedf1ddb 8248863: Add search landing page to API documentation
Reviewed-by: jjg
2022-05-06 08:56:42 +00:00
Roland Westrelin
fa1ca98fff 8281429: PhiNode::Value() is too conservative for tripcount of CountedLoop
Reviewed-by: thartmann, kvn
2022-05-06 08:24:33 +00:00
Tobias Holenstein
dd06cc638e 8283807: Handle CompileThreshold the same as other thresholds when scaled with -XX:CompileThresholdScaling
Reviewed-by: kvn, iklam, thartmann
2022-05-06 07:08:19 +00:00
Adam Sotona
015cfda8e1 8262004: Classpath separator: Man page says semicolon; should be colon on Linux
Reviewed-by: dholmes
2022-05-06 06:00:22 +00:00
Jonathan Gibbons
9425ab2b43 8286153: Remove redundant casts and other cleanup
Reviewed-by: prappo
2022-05-06 00:16:52 +00:00
Jie Fu
7ebc4bce93 8286066: assert(k != __null) failed: klass not loaded caused by FillerObject_klass
Reviewed-by: dholmes, tschatzl, iklam
2022-05-05 23:16:42 +00:00
Tyler Steele
6a1b145a0a 8286029: Add classpath exemption to globals_vectorApiSupport_***.S.inc
Reviewed-by: sviswanathan
2022-05-05 22:26:10 +00:00
Joe Darcy
59ef76a365 8285497: Add system property for Java SE specification maintenance version
Reviewed-by: mullan, jpai, iris
2022-05-05 22:23:41 +00:00
Dean Long
6d7e446162 8283306: re-resolving indirect call to non-entrant nmethod can crash
Reviewed-by: thartmann, never
2022-05-05 21:28:50 +00:00
Evgeny Astigeevich
4957bc7396 8286056: AArch64: clarify uses of MacroAssembler::far_call/MacroAssembler::far_jump
Reviewed-by: aph, kvn, phh
2022-05-05 20:55:55 +00:00
Alexey Semenyuk
e7adc283c6 8284675: "jpackage.exe" creates application launcher without Windows Application Manfiest
Reviewed-by: erikj
2022-05-05 20:25:32 +00:00
Alexey Semenyuk
9644a314cf 8285616: [macos] Incorrect path for launcher-as-service.txt in .cfg file
Reviewed-by: almatvee
2022-05-05 20:21:47 +00:00
Roger Riggs
2f995c8d2b 8286199: ProblemList jdk/jshell/ExternalEditorTest.java
Reviewed-by: dcubed
2022-05-05 20:03:42 +00:00
Naoto Sato
2293448531 8272352: Java launcher can not parse Chinese character when system locale is set to UTF-8
Reviewed-by: rriggs
2022-05-05 19:59:58 +00:00
Alex Menkov
1bba64070e 8284027: vmTestbase/nsk/jvmti/GetAllThreads/allthr001/ is failing
Reviewed-by: sspitsyn, cjplummer
2022-05-05 19:41:41 +00:00
Hannes Wallnöfer
5ac7186c9e 8282559: Allow multiple search terms in javadoc search
Reviewed-by: jjg
2022-05-05 14:46:43 +00:00
Roger Riggs
7022543fcf 8286195: ProblemList test/lib-test/jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java
Reviewed-by: dcubed, lancea
2022-05-05 14:45:14 +00:00
Athijegannathan Sundararajan
ede06c3c5f 8282060: RemoteRuntimeImageTest is not actually testing on JDK 8
Reviewed-by: alanb, erikj
2022-05-05 13:24:00 +00:00
Andrey Turbanov
dce860aa8a 8285947: Avoid redundant HashMap.containsKey calls in ZoneName
Reviewed-by: scolebourne, naoto, rriggs
2022-05-05 13:19:14 +00:00
Matthias Baesken
9d2f591e6a 8285987: executing shell scripts without #! fails on Alpine linux
Reviewed-by: mdoerr, goetz
2022-05-05 12:45:32 +00:00
Albert Mingkun Yang
fd41e65fa8 8286115: G1: G1RemSetArrayOfCardsEntriesBase off-by-one error
Reviewed-by: iwalulya, tschatzl
2022-05-05 12:31:41 +00:00
Zdenek Zambersky
7e88ff8a82 8282600: SSLSocketImpl should not use user_canceled workaround when not necessary
Reviewed-by: xuelei, wetmore
2022-05-05 12:13:20 +00:00
Prasanta Sadhukhan
81d7475d20 7132796: [macosx] closed/javax/swing/JComboBox/4517214/bug4517214.java fails on MacOS
Reviewed-by: serb
2022-05-05 08:50:07 +00:00
Emanuel Peter
4a5e7a1ada 8282555: Missing memory edge when spilling MoveF2I, MoveD2L etc
Reviewed-by: kvn, thartmann, jbhateja
2022-05-05 08:15:53 +00:00
Tyler Steele
1bb4de2e28 8285956: (fs) Excessive default poll interval in PollingWatchService
Reviewed-by: stuefe, bpb
2022-05-05 04:05:55 +00:00
Jatin Bhateja
3092b5615d 8284813: x86 Code cleanup related to move instructions.
Reviewed-by: kvn, sviswanathan
2022-05-05 03:20:01 +00:00
Yasumasa Suenaga
d43ae723b8 8286105: SourceRevision.gmk should respect GIT variable
Reviewed-by: sgehwolf, erikj
2022-05-05 00:27:42 +00:00
Vikey Chen
7d545084f4 8283606: Tests may fail with zh locale on MacOS
Reviewed-by: iklam, rriggs
2022-05-05 00:06:24 +00:00
Srinivas Mandalika
158d871d05 8285693: Create an automated test for JDK-4702199
Reviewed-by: serb
2022-05-04 23:32:51 +00:00
Pavel Rappo
bb022b24cf 8285470: Improve handling of @inheritDoc
Reviewed-by: jjg
2022-05-04 20:55:01 +00:00
Hai-May Chao
09e6ee96bd 8255552: Add DES/3DES/MD5 to jdk.security.legacyAlgorithms
Reviewed-by: mullan, weijun
2022-05-04 20:35:16 +00:00
Liam Miller-Cushon
4d30a1e8d1 8284220: TypeMirror#toString omits enclosing class names after JDK-8281238
Reviewed-by: darcy
2022-05-04 20:25:36 +00:00
Jonathan Gibbons
28e6d805f4 8285869: Selective cleanup in doclint Checker class
Reviewed-by: iris, prappo
2022-05-04 20:23:23 +00:00
Doug Lea
00e6c63cd1 8277090: jsr166 refresh for jdk19
Reviewed-by: alanb, psandoz
2022-05-04 19:24:19 +00:00
Xin Liu
c5a0687f80 8285976: compiler/exceptions/OptimizeImplicitExceptions.java can't pass with -XX:+DeoptimizeALot
Reviewed-by: kvn, thartmann, simonis
2022-05-04 17:59:39 +00:00
Yasser Bazzi Bordonal
df8c2be5fe 8279598: Provide adapter from RandomGenerator to Random
Reviewed-by: smarks, darcy
2022-05-04 17:55:50 +00:00
Daniel D. Daugherty
497a94fead 8286138: ProblemList javax/swing/JInternalFrame/8146321/JInternalFrameIconTest.java on macosx-aarch64
Reviewed-by: bpb
2022-05-04 16:38:09 +00:00
Aleksey Shipilev
7b7207a45a 8280003: C1: Reconsider uses of logical_and immediates in LIRGenerator::do_getObjectSize
Co-authored-by: Sergey Nazarkin <snazarki@openjdk.org>
Reviewed-by: snazarki, dlong, iveresov
2022-05-04 15:39:56 +00:00
Brian Burkhalter
17cc7131ab 8274112: (fc) Tune FileChannel.transferTo()
Reviewed-by: alanb, lancea, rriggs
2022-05-04 14:33:16 +00:00
Matthias Baesken
7424f47557 8286114: [test] show real exception in bomb call in sun/rmi/runtime/Log/checkLogging/CheckLogging.java
Reviewed-by: rriggs, mdoerr
2022-05-04 14:30:48 +00:00
Coleen Phillimore
29c2e54cf6 8286092: Remove dead windows stack code
Reviewed-by: iklam, dholmes
2022-05-04 12:51:20 +00:00
Lutz Schmidt
4e1e76acfb 8278757: [s390] Implement AES Counter Mode Intrinsic
Reviewed-by: mdoerr, stuefe
2022-05-04 09:39:19 +00:00
Johannes Bechberger
4b2c82200f 8282477: [x86, aarch64] vmassert(_last_Java_pc == NULL, "already walkable"); fails with async profiler
Reviewed-by: dholmes, mdoerr, dlong
2022-05-04 07:54:52 +00:00
Albert Mingkun Yang
ca9d039fd3 8285934: Remove unimplemented MemTracker::init_tracking_level
Reviewed-by: coleenp
2022-05-04 07:53:04 +00:00
Sibabrata Sahoo
0462d5a252 8285452: Add a new test library API to replace a file content using FileUtils.java
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: weijun, dfuchs
2022-05-04 06:56:16 +00:00
Doug Simon
4282fb2b0d 8286063: check compiler queue after calling AbstractCompiler::on_empty_queue
Reviewed-by: kvn
2022-05-04 04:55:27 +00:00
Weijun Wang
075ce8a0d0 8286069: keytool prints out wrong key algorithm for -importpass command
Reviewed-by: hchao, valeriep
2022-05-04 02:56:18 +00:00
Daniel D. Daugherty
efcd3d3a8f 8286088: add comment to InstallAsyncExceptionHandshake destructor
Reviewed-by: dholmes
2022-05-03 21:26:53 +00:00
Dean Long
f82dd76614 8285885: Replay compilation fails with assert(is_valid()) failed: check invoke
Reviewed-by: thartmann, kvn
2022-05-03 21:00:37 +00:00
Coleen Phillimore
be67acdf5c 8285832: runtime/Thread/TooSmallStackSize.java failed "assert(k->is_initialized()) failed: need to increase java_thread_min_stack_allowed calculation"
Reviewed-by: dholmes, fparain, iklam
2022-05-03 17:43:12 +00:00
Alexander Zuev
39e50c2d69 8273506: java Robot API did the 'm' keypress and caused /awt/event/KeyEvent/KeyCharTest/KeyCharTest.html is timing out on macOS 12
Reviewed-by: serb
2022-05-03 17:08:17 +00:00
Joe Darcy
3cbf769f55 8285977: Add links to IEEE 754 specification
Reviewed-by: jjg, iris, bpb
2022-05-03 16:58:19 +00:00
Igor Veresov
4434c7df03 8265360: several compiler/whitebox tests fail with "private compiler.whitebox.SimpleTestCaseHelper(int) must be compiled"
Reviewed-by: kvn, thartmann
2022-05-03 16:02:22 +00:00
Xue-Lei Andrew Fan
ffca23a531 8284490: Remove finalizer method in java.security.jgss
Reviewed-by: rriggs, dfuchs, weijun
2022-05-03 14:14:09 +00:00
Matthias Baesken
0f62cb6fcc 8285921: serviceability/dcmd/jvmti/AttachFailed/AttachReturnError.java fails on Alpine
Reviewed-by: stuefe, dholmes
2022-05-03 11:21:57 +00:00
Roberto Castañeda Lozano
6fcd322258 8279622: C2: miscompilation of map pattern as a vector reduction
Reviewed-by: roland, kvn, thartmann
2022-05-03 11:08:48 +00:00
Roberto Castañeda Lozano
af1ee1cc55 8283684: IGV: speed up filter application
Reviewed-by: thartmann, kvn
2022-05-03 07:42:18 +00:00
Roberto Castañeda Lozano
7a4835178d 8280568: IGV: Phi inputs and pinned nodes are not scheduled correctly
Reviewed-by: kvn, thartmann
2022-05-03 07:27:50 +00:00
Ioi Lam
64b5b2b0b3 8282828: CDS uncompressed oops archive is not deterministic
Reviewed-by: erikj, ihse, ccheung
2022-05-03 04:06:56 +00:00
Jaikiran Pai
45ca81ff5f 8285915: failure_handler: gather the contents of /etc/hosts file
Reviewed-by: dfuchs, erikj
2022-05-03 01:23:01 +00:00
Jie Fu
3420a1aa70 8286013: Incorrect test configurations for compiler/stable/TestStableShort.java
Reviewed-by: shade, thartmann
2022-05-02 22:41:59 +00:00
Jie Fu
fbcd874907 8285979: G1: G1SegmentedArraySegment::header_size() is incorrect since JDK-8283368
Reviewed-by: tschatzl, iwalulya
2022-05-02 22:41:06 +00:00
Weijun Wang
50a4df87c8 8286024: PKCS12 keystore shows "DES/CBC" as the algorithm of a DES SecretKeyEntry
Reviewed-by: valeriep
2022-05-02 22:37:32 +00:00
Jonathan Gibbons
f973b78383 8286028: Some -Xlint keys are missing in javac man page
Co-authored-by: Ethan McCue <emccue@live.com>
Reviewed-by: darcy
2022-05-02 21:12:04 +00:00
Brian Burkhalter
9d8c3bf9f8 8285745: Re-examine PushbackInputStream mark/reset
Reviewed-by: jpai, alanb
2022-05-02 18:19:36 +00:00
Daniel D. Daugherty
41de506ed6 8285507: revert fix for JDK-8282704 now that JDK-8282952 is fixed
Reviewed-by: dholmes, pchilanomate
2022-05-02 15:39:06 +00:00
Thomas Schatzl
7a95a40e03 8285970: gc/arguments/TestUseCompressedOopsFlagsWithUlimit.java still fails after JDK-8285011
Reviewed-by: ayang, dcubed
2022-05-02 15:30:35 +00:00
Daniel D. Daugherty
4a79270c01 8284632: runtime/Thread/StopAtExit.java possibly leaking memory again
Reviewed-by: pchilanomate, rehn
2022-05-02 15:23:03 +00:00
Weijun Wang
cfcba1fccc 8285827: Describe the keystore.pkcs12.legacy system property in the java.security file
Reviewed-by: mullan
2022-05-02 14:03:24 +00:00
Thomas Schatzl
7020595631 8284435: Add dedicated filler objects for known dead Java heap areas
Reviewed-by: iklam, iwalulya
2022-05-02 11:03:57 +00:00
Jie Fu
1f9f8738f3 8285980: Several tests in compiler/c2/irTests miss @requires vm.compiler2.enabled
Reviewed-by: thartmann
2022-05-02 10:38:31 +00:00
Johan Sjölén
cf81f6cf5b 8285712: LogMessageBuffer doesn't check vsnprintf return value
Reviewed-by: dholmes, iklam
2022-05-02 10:19:54 +00:00
Aleksey Shipilev
9795ef5dd3 8285851: Cleanup C2AtomicParseAccess::needs_pinning()
Reviewed-by: thartmann
2022-05-02 07:05:39 +00:00
Pavel Rappo
3eb661bbe7 8285890: Fix some @param tags
Reviewed-by: dfuchs, mullan, darcy, mchung, wetmore
2022-04-30 21:21:17 +00:00
Johan Sjölén
d9541c5e9f 8276202: LogFileOutput.invalid_file_vm asserts when being executed from a read only working directory
Reviewed-by: dholmes, stuefe
2022-04-30 08:00:26 +00:00
Fei Gao
df7fba1cda 8284981: Support the vectorization of some counting-down loops in SLP
Reviewed-by: roland, kvn
2022-04-30 07:39:16 +00:00
Jie Fu
e54f26aa3d 8284992: Fix misleading Vector API doc for LSHR operator
Reviewed-by: psandoz
2022-04-29 23:01:37 +00:00
Damon Nguyen
2dd882af08 8254759: [TEST_BUG] [macosx] javax/swing/JInternalFrame/4202966/IntFrameCoord.html fails
Reviewed-by: prr, kizune
2022-04-29 20:26:26 +00:00
Daniel D. Daugherty
23f022bd37 8285945: [BACKOUT] JDK-8285802 AArch64: Consistently handle offsets in MacroAssembler as 64-bit quantities
Reviewed-by: kvn
2022-04-29 20:16:17 +00:00
Kevin Walls
116763cb5d 8284331: Add sanity check for signal handler modification warning.
Reviewed-by: dholmes, amenkov
2022-04-29 20:14:55 +00:00
Leonid Mesnik
95d38bbd6b 8285773: Replace Algorithms.eatMemory(...) with WB.fullGC() in vmTestbase/gc/gctests/ReferencesGC/ReferencesGC.java
Reviewed-by: tschatzl, kbarrett
2022-04-29 19:33:41 +00:00
Dean Long
cd8709e8e0 8284883: JVM crash: guarantee(sect->end() <= sect->limit()) failed: sanity on AVX512
Reviewed-by: kvn, jbhateja
2022-04-29 19:09:58 +00:00
Naoto Sato
3d07b3c7f0 8282227: Locale information for nb is not working properly
Reviewed-by: rriggs
2022-04-29 17:20:41 +00:00
Daniel D. Daugherty
cfe67af209 8285938: ProblemList jdk/jshell/HighlightUITest.java on linux-x64
Reviewed-by: darcy, azvegint
2022-04-29 17:11:14 +00:00
Phil Race
67dd8a8d6a 8285686: Upgrade to FreeType 2.12.0
Reviewed-by: serb, jdv
2022-04-29 16:40:06 +00:00
Magnus Ihse Bursie
64225e1999 8285919: Remove debug printout from JDK-8285093
Reviewed-by: erikj
2022-04-29 13:26:10 +00:00
Andrew Haley
df4d5cf5f5 8285802: AArch64: Consistently handle offsets in MacroAssembler as 64-bit quantities
Reviewed-by: ngasson, adinn
2022-04-29 13:01:05 +00:00
Sean Mullan
694556e137 8225433: Clarify behavior of PKIXParameters.setRevocationEnabled when PKIXRevocationChecker is used
Reviewed-by: xuelei, hchao
2022-04-29 12:27:43 +00:00
Roland Westrelin
e98ac23553 8285793: C2: optimization of mask checks in counted loops fail in the presence of cast nodes
Reviewed-by: kvn, thartmann
2022-04-29 11:19:27 +00:00
Manukumar V S
669ac611b2 8274597: Some of the dnd tests time out and fail intermittently
8028998: [TEST_BUG] [macosx] java/awt/dnd/DropTargetEnterExitTest/MissedDragExitTest.java failed

Reviewed-by: serb
2022-04-29 10:33:44 +00:00
Jaikiran Pai
269eae6189 8285515: (dc) DatagramChannel.disconnect fails with "Invalid argument" on macOS 12.4 beta2
Reviewed-by: dfuchs, alanb
2022-04-29 09:15:56 +00:00
Jie Fu
c4f7a850c6 8285828: runtime/execstack/TestCheckJDK.java fails with zipped debug symbols
Reviewed-by: dholmes, stuefe
2022-04-29 08:50:06 +00:00
Martin Doerr
d3606a34fa 8285390: PPC64: Handle integral division overflow during parsing
Reviewed-by: lucy
2022-04-29 08:33:23 +00:00
Sergey Bylokhov
f42631e354 8285523: Improve test java/io/FileOutputStream/OpenNUL.java
Reviewed-by: andrew, bpb
2022-04-29 07:34:46 +00:00
Xiaolin Zheng
b71e8c1649 8285711: riscv: RVC: Support disassembler show-bytes option
Reviewed-by: fyang
2022-04-29 06:45:49 +00:00
Jatin Bhateja
e4066628ad 8282711: Accelerate Math.signum function for AVX and AVX512 target.
Reviewed-by: sviswanathan, thartmann
2022-04-29 06:34:09 +00:00
Tobias Hartmann
0a4a6403bb 8285301: C2: assert(!requires_atomic_access) failed: can't ensure atomicity
Reviewed-by: kvn, dlong
2022-04-29 06:12:43 +00:00
Sergey Bylokhov
40f19c014f 8264666: Change implementation of safeAdd/safeMult in the LCMSImageLayout class
Reviewed-by: prr
2022-04-29 05:53:31 +00:00
Srikanth Adayapalam
1e28fcbc5f 8155701: The compiler fails with an AssertionError: typeSig ERROR
Reviewed-by: vromero
2022-04-29 05:04:23 +00:00
Manukumar V S
99388eff8d 8283624: Create an automated regression test for RFE-4390885
Reviewed-by: serb
2022-04-29 04:09:55 +00:00
Yadong Wang
94b533a94c 8285699: riscv: Provide information when hitting a HaltNode
Reviewed-by: fyang
2022-04-29 03:19:29 +00:00
Joe Darcy
e2e943adcb 8285688: Add links to JEPs and JSRs to SourceVersion
Reviewed-by: vromero, jjg, iris
2022-04-29 01:05:26 +00:00
Jonathan Gibbons
80cf59ff0b 8285610: TreeInfo.pathFor and its uses appear to be dead code
Reviewed-by: vromero
2022-04-29 00:35:24 +00:00
Jonathan Gibbons
21b62fef33 8195589: T6587786.java failed after JDK-8189997
Reviewed-by: iris, vromero
2022-04-29 00:34:26 +00:00
Jonathan Gibbons
8190217971 8285496: DocLint does not check for missing @param tags for type parameters on classes and interfaces
Reviewed-by: darcy, iris
2022-04-29 00:32:56 +00:00
Phil Race
64d98ba100 8285094: Test java/awt/Frame/InvisibleOwner/InvisibleOwner.java failing on Linux
Reviewed-by: psadhukhan, serb
2022-04-29 00:06:36 +00:00
Mark Powers
573eaceca5 8285504: Minor cleanup could be done in javax.net
Reviewed-by: wetmore
2022-04-28 22:18:36 +00:00
Joe Darcy
bba456a8db 8285676: Add missing @param tags for type parameters on classes and interfaces
Reviewed-by: wetmore, smarks, dfuchs, prr, alanb, mchung
2022-04-28 18:00:34 +00:00
Xue-Lei Andrew Fan
b9d1e85151 8285785: CheckCleanerBound test fails with PasswordCallback object is not released
Reviewed-by: dfuchs, mullan, rriggs
2022-04-28 16:10:39 +00:00
Thomas Schatzl
b7185780ff 8285011: gc/arguments/TestUseCompressedOopsFlagsWithUlimit.java fails after JDK-8280761
Co-authored-by: Albert Mingkun Yang <ayang@openjdk.org>
Reviewed-by: ayang, lkorinth
2022-04-28 15:49:27 +00:00
Kim Barrett
2d8d140214 8285690: CloneableReference subtest should not throw CloneNotSupportedException
Reviewed-by: rriggs, mchung
2022-04-28 15:15:17 +00:00
Pengfei Li
ea83b4455b 8280510: AArch64: Vectorize operations with loop induction variable
Reviewed-by: adinn, thartmann
2022-04-28 14:13:24 +00:00
Matthias Baesken
36bf6fbe08 8285728: Alpine Linux build fails with busybox tar
Reviewed-by: erikj, stuefe
2022-04-28 13:33:32 +00:00
Pengfei Li
091637c826 8285630: Fix a configure error in RISC-V cross build
Reviewed-by: erikj, shade, fyang, fjiang
2022-04-28 12:59:38 +00:00
Erik Joelsson
ccf0e8bf90 8285755: JDK-8285093 changed the default for --with-output-sync
Reviewed-by: mikael, mcimadamore
2022-04-28 12:46:57 +00:00
Ron Pressler
d7514b068f 8285595: Assert frame anchor doesn't change in safepoints/handshakes
Reviewed-by: rehn, coleenp
2022-04-28 09:56:31 +00:00
Aleksey Shipilev
5629c7555f 8284848: C2: Compiler blackhole arguments should be treated as globally escaping
Reviewed-by: kvn, thartmann
2022-04-28 08:32:44 +00:00
Aleksey Shipilev
85f8d14edf 8283994: Make Xerces DatatypeException stackless
Reviewed-by: joehw, jpai
2022-04-28 08:30:24 +00:00
Ivan Walulya
4f2e4c7c24 8178969: [TESTBUG] Wrong reporting of gc/g1/humongousObjects/TestHeapCounters test.
Reviewed-by: tschatzl, ayang
2022-04-28 08:04:19 +00:00
Daniel Jeliński
47951655ac 8285696: AlgorithmConstraints:permits not throwing IllegalArgumentException when 'alg' is null
Reviewed-by: jpai, xuelei
2022-04-28 06:20:34 +00:00
Weijun Wang
c1173c24bf 8285493: ECC calculation error
Reviewed-by: xuelei, ascarpino
2022-04-28 02:52:41 +00:00
Xue-Lei Andrew Fan
89fd6d34f8 8284910: Buffer clean in PasswordCallback
Reviewed-by: mullan
2022-04-28 02:48:20 +00:00
Bradford Wetmore
cf1b00a604 8285683: Missing @ since 11 in java.security.spec.MGF1ParameterSpec fields
Reviewed-by: hchao, valeriep, xuelei, mullan
2022-04-27 23:54:37 +00:00
Jonathan Gibbons
3312d8c620 8285756: clean up use of bad arguments for @clean in langtools tests
Reviewed-by: darcy
2022-04-27 22:22:28 +00:00
Chris Plummer
5c0934931b 8285032: vmTestbase/nsk/jdi/EventSet/suspendPolicy/suspendpolicy008/ fails with "eventSet.suspendPolicy() != policyExpected"
Reviewed-by: sspitsyn, amenkov
2022-04-27 20:38:18 +00:00
Raffaello Giulietti
1f868f1d09 8285658: Fix two typos in the spec of j.u.random.RandomGenerator
Reviewed-by: bpb, darcy
2022-04-27 19:19:29 +00:00
jeremy
8a16842b4e 8176501: Method Shape.getBounds2D() incorrectly includes Bezier control points in bounding box
Reviewed-by: prr
2022-04-27 18:37:42 +00:00
Maxim Kartashev
05dac5a23e 8280468: Crashes in getConfigColormap, getConfigVisualId, XVisualIDFromVisual on Linux
Reviewed-by: serb, prr
2022-04-27 18:19:55 +00:00
Srinivas Mandalika
6db2e16b94 8284077: Create an automated test for JDK-4170173
Reviewed-by: serb
2022-04-27 18:15:36 +00:00
Srinivas Mandalika
a0b984a778 8282933: Create a test for JDK-4529616
Reviewed-by: serb
2022-04-27 18:14:31 +00:00
Chris Plummer
716a80a838 8283179: SA tests fail with "ERROR: catch_mach_exception_raise: Message doesn't denote a Unix soft signal."
Reviewed-by: dholmes, amenkov
2022-04-27 17:57:34 +00:00
Claes Redestad
6c79671e50 8285633: Take better advantage of generic MethodType cache
Reviewed-by: jvernee
2022-04-27 17:54:21 +00:00
Daniel D. Daugherty
5b42747ba1 8285736: JDK-8236128 causes validate-source failures
Reviewed-by: mikael, asemenyuk
2022-04-27 17:16:45 +00:00
Thomas Stuefe
6ce4e755a4 8284726: Print active locale settings in hs_err reports and in VM.info
Reviewed-by: dholmes, mbaesken, kevinw
2022-04-27 16:50:22 +00:00
Alexey Semenyuk
b675c597e3 8236128: Allow jpackage create installers for services
Reviewed-by: almatvee
2022-04-27 16:32:29 +00:00
Michael McMahon
ef27081fe7 8285671: java/nio/channels/etc/PrintSupportedOptions.java and java/nio/channels/DatagramChannel/AfterDisconnect.java are failing
Reviewed-by: dfuchs
2022-04-27 16:14:57 +00:00
Johnny Lim
4919525ddb 8285440: Typo in Collections.addAll method javadoc
Reviewed-by: jpai, rriggs
2022-04-27 14:18:51 +00:00
lawrence.andrews
e7c3b9de64 8285617: Fix java/awt/print/PrinterJob/ImagePrinting/PrintARGBImage.java manual test
Reviewed-by: prr, psadhukhan
2022-04-27 12:23:20 +00:00
Thomas Stuefe
16a8ebbf05 8285675: Temporary fix for arm32 SafeFetch
Reviewed-by: mdoerr
2022-04-27 11:28:55 +00:00
Prasanta Sadhukhan
72f82dd723 8208565: [TEST_BUG] javax\swing\PopupFactory\6276087\NonOpaquePopupMenuTest.java throws NPE
8065099: [macos] javax/swing/PopupFactory/6276087/NonOpaquePopupMenuTest.java fails: no background shine through

Reviewed-by: jdv
2022-04-27 07:15:46 +00:00
Ioi Lam
4714fdcd6a 8285279: ArgumentsTest.set_numeric_flag_double_vm fails on some locales (again)
Reviewed-by: dholmes
2022-04-27 04:58:13 +00:00
Alisen Chung
cc89f1bc61 8198622: java/awt/Focus/TypeAhead/TestFocusFreeze.java fails on mac
6447537: EnqueueWithDialogTest & TestFocusFreeze fail

Reviewed-by: jdv
2022-04-27 04:34:21 +00:00
Eric Liu
d3ea4b7bb4 8283435: AArch64: [vectorapi] Optimize SVE lane/withLane operations for 64/128-bit vector sizes
Reviewed-by: njian, ngasson
2022-04-27 01:22:27 +00:00
Harshitha Onkar
16ebe40a1b 8251177: [macosx] The text "big" is truncated in JTabbedPane
Reviewed-by: psadhukhan, kizune, serb
2022-04-26 22:55:43 +00:00
Alexander Zuev
e574cc0e2b 8196367: java/awt/List/SingleModeDeselect/SingleModeDeselect.java times out
Reviewed-by: prr
2022-04-26 20:54:53 +00:00
Weijun Wang
14e7d91199 8285404: RSA signature verification should reject non-DER OCTET STRING
Reviewed-by: valeriep
2022-04-26 20:47:59 +00:00
Phil Race
110edd9999 8284965: closed test sun/java2d/OpenGL/XORPaint.java is unstable
Reviewed-by: serb
2022-04-26 20:31:44 +00:00
Alisen Chung
dbcf38932e 8198666: Many java/awt/Modal/OnTop/ test fails on mac
Reviewed-by: kizune, serb
2022-04-26 20:30:45 +00:00
Alisen Chung
102a305f73 8202790: DnD test DisposeFrameOnDragTest.java does not clean up
Reviewed-by: serb, kizune, prr
2022-04-26 20:29:48 +00:00
Daniel D. Daugherty
e3d714d37e 8285677: ProblemList two tests from JDK-8285671 on macosx-x64
Reviewed-by: dfuchs
2022-04-26 19:40:32 +00:00
Harold Seigel
975a060ade 8284642: Unexpected behavior of -XX:MaxDirectMemorySize=0
Reviewed-by: stuefe, dholmes
2022-04-26 19:01:09 +00:00
Naoto Sato
03bcf7b6d1 8283620: System.out does not use the encoding/charset specified in the Javadoc
Reviewed-by: alanb
2022-04-26 16:05:20 +00:00
Jonathan Gibbons
20a132d460 8284994: -Xdoclint:all returns warning for records, even when documented properly
Reviewed-by: vromero
2022-04-26 15:42:18 +00:00
Brian Burkhalter
a3b788144e 8284930: Re-examine FilterInputStream mark/reset
Reviewed-by: alanb, jpai, dfuchs, lancea
2022-04-26 15:35:45 +00:00
Tyler Steele
97a0a292a6 8283643: [AIX, testbug] MachCodeFramesInErrorFile test fails to find 'Native frames' text
Reviewed-by: dnsimon, dholmes
2022-04-26 15:26:21 +00:00
Michael McMahon
67755edd6f 8284890: Support for Do not fragment IP socket options
Reviewed-by: erikj, ihse, dfuchs
2022-04-26 13:49:58 +00:00
Andrew Haley
a7b5157375 8282541: AArch64: Auto-vectorize Math.round API
Reviewed-by: njian, ngasson, adinn
2022-04-26 13:43:12 +00:00
Tobias Hartmann
8de3c65545 8284951: Compile::flatten_alias_type asserts with "indeterminate pointers come only from unsafe ops"
Reviewed-by: kvn, roland
2022-04-26 12:05:24 +00:00
Daniel Fuchs
552e1b0b8a 8284779: Test java/util/logging/Logger/logrb/TestLogrbResourceBundle.java fails intermittently with vthreads wrapper
Reviewed-by: alanb
2022-04-26 11:55:20 +00:00
Pavel Rappo
e333cd33d1 8285611: Retrofit (Doc)Pretty with java.io.UncheckedIOException
Reviewed-by: jjg
2022-04-26 07:48:37 +00:00
Dean Long
947869609c 8283441: C2: segmentation fault in ciMethodBlocks::make_block_at(int)
Reviewed-by: kvn, thartmann
2022-04-26 07:25:47 +00:00
Daniel Jeliński
00e9c96d51 8285398: Cache the results of constraint checks
Reviewed-by: coffeys, xuelei
2022-04-26 05:55:52 +00:00
Xiaolin Zheng
4bf2c18d6c 8285435: Show file and line in MacroAssembler::verify_oop for AArch64 and RISC-V platforms (Port from x86)
Reviewed-by: ngasson, fyang
2022-04-25 23:57:08 +00:00
Joe Darcy
d435d692b0 8285614: Fix typo in java.lang.Float
Reviewed-by: naoto, lancea, iris
2022-04-25 23:03:11 +00:00
Smita Kamath
3416bfa256 8283022: com/sun/crypto/provider/Cipher/AEAD/GCMBufferTest.java failing with -Xcomp after 8273297
Reviewed-by: ascarpino
2022-04-25 22:45:00 +00:00
Jonathan Gibbons
80a7f7becf 8267690: Revisit (Doc)Tree search implemented by throwing an exception
Reviewed-by: vromero, prappo
2022-04-25 20:54:11 +00:00
Calvin Cheung
9b8270895e 8284319: Test runtime/cds/appcds/TestParallelGCWithCDS.java fails in repo-loom
Reviewed-by: iklam
2022-04-25 20:50:56 +00:00
Raffaello Giulietti
fb605944b5 8285477: Add a PRECISION public static field to j.l.Float and j.l.Double
Reviewed-by: darcy
2022-04-25 17:18:46 +00:00
Calvin Cheung
1e79ded98a 8284889: runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java#custom-cl-zgc timed out
Reviewed-by: iklam
2022-04-25 16:54:44 +00:00
Anthony Scarpino
414918d911 8285389: EdDSA trimming zeros
Reviewed-by: xuelei
2022-04-25 15:31:49 +00:00
Alexander Zvegintsev
293bc5e5cd 8129778: Few awt test fail for Solaris 11 with RuntimeException
Reviewed-by: serb, prr
2022-04-25 10:02:56 +00:00
Alexander Zvegintsev
36f2e5240b 8225777: java/awt/Mixing/MixingOnDialog.java fails on Ubuntu
Reviewed-by: prr, serb
2022-04-25 10:01:26 +00:00
Roland Westrelin
32593df392 8279888: Local variable independently used by multiple loops can interfere with loop optimizations
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: thartmann, kvn
2022-04-25 09:30:00 +00:00
Jan Lahoda
4c22a9bcf9 8282823: javac should constrain more uses of preview APIs
Reviewed-by: jlaskey, mcimadamore, vromero
2022-04-25 09:10:44 +00:00
Roland Westrelin
dc6358444b 8273115: CountedLoopEndNode::stride_con crash in debug build with -XX:+TraceLoopOpts
Reviewed-by: kvn, thartmann
2022-04-25 08:32:50 +00:00
Matthias Baesken
c5aa75dd81 8285439: remove unused os::fsync
Reviewed-by: hseigel, dholmes
2022-04-25 06:43:56 +00:00
Xiaolin Zheng
9d9f4e502f 8285437: riscv: Fix MachNode size mismatch for MacroAssembler::verify_oops*
Reviewed-by: shade, fyang
2022-04-24 02:17:03 +00:00
Alexander Zvegintsev
08024d9583 8193543: Regression automated test '/open/test/jdk/java/awt/TrayIcon/SystemTrayInstance/SystemTrayInstanceTest.java' fails
Reviewed-by: serb
2022-04-23 20:41:55 +00:00
Alexander Zvegintsev
a1efb95536 8129827: [TEST_BUG] Test java/awt/Robot/RobotWheelTest/RobotWheelTest.java fails
Reviewed-by: psadhukhan
2022-04-23 20:39:39 +00:00
Brian Burkhalter
03cbb48e6a 8285445: cannot open file "NUL:"
Reviewed-by: mikael
2022-04-23 15:51:04 +00:00
Xue-Lei Andrew Fan
e9d604a3e5 8285431: Assertion in NativeGSSContext constructor
Reviewed-by: djelinski, valeriep
2022-04-23 14:28:18 +00:00
Doug Simon
357b1b18c2 8242440: use separate, destroyable JavaVM instances per libgraal compiler thread
Reviewed-by: kvn, thartmann
2022-04-23 06:08:11 +00:00
Feilong Jiang
b10833bbf3 8285303: riscv: Incorrect register mask in call_native_base
Co-authored-by: Dingli Zhang <dingli@iscas.ac.cn>
Reviewed-by: fyang, yadongwang
2022-04-22 23:48:57 +00:00
Aleksey Shipilev
ce8db2c403 8285394: Compiler blackholes can be eliminated due to stale ciMethod::intrinsic_id()
Reviewed-by: kvn, dlong
2022-04-22 17:11:34 +00:00
Magnus Ihse Bursie
4e252cf3c4 8285370: Fix typo in jdk.charsets
Reviewed-by: alanb, naoto
2022-04-22 14:04:13 +00:00
Matthias Baesken
d8025c95cd 8285362: unify os::pause platform coding
Reviewed-by: dholmes, lucy
2022-04-22 13:41:08 +00:00
Thomas Schatzl
82f0ac02e0 8284995: G1: Do not mark through Closed Archive regions during concurrent mark
Reviewed-by: iwalulya, ayang
2022-04-22 09:04:42 +00:00
Tobias Holenstein
165f516101 8277056: Combining several C2 Print* flags asserts in xmlStream::pop_tag
Reviewed-by: kvn, thartmann, xliu, dlong
2022-04-22 08:40:12 +00:00
Roberto Castañeda Lozano
139615b181 8285369: C2: emit reduction flag value in node and loop dumps
Reviewed-by: kvn
2022-04-22 07:38:01 +00:00
Prasanta Sadhukhan
80219a48c3 8284993: Replace System.exit call in swing tests with RuntimeException
Reviewed-by: azvegint
2022-04-22 06:48:01 +00:00
Jie Fu
d84b9c5489 8285342: Zero build failure with clang due to values not handled in switch
Reviewed-by: shade, aph
2022-04-21 23:46:59 +00:00
Stuart Marks
58155a723e 8285386: java/util/HashMap/WhiteBoxResizeTest.java fails in tier7 after JDK-8186958
Reviewed-by: lancea
2022-04-21 22:28:14 +00:00
Naoto Sato
f6e9ca0cbe 8283324: CLDRConverter run time increased by 3x
Reviewed-by: ihse
2022-04-21 22:23:24 +00:00
Alexey Ivanov
ec4fb47b90 8284189: Replace usages of 'a the' in java.desktop
Reviewed-by: jdv, prr, dmarkov
2022-04-21 19:12:57 +00:00
Martin Doerr
e955cacb91 8285040: PPC64 intrinsics for divideUnsigned and remainderUnsigned methods in java.lang.Integer and java.lang.Long
Reviewed-by: kvn, lucy
2022-04-21 16:00:28 +00:00
Calvin Cheung
73f3e17ea7 8213445: jcmd VM.symboltable and VM.stringtable -verbose output contains no shared symbols or strings
Reviewed-by: iklam, dholmes
2022-04-21 15:40:29 +00:00
Matthias Baesken
f166b5b13b 8285307: remove unused os::available
Reviewed-by: dholmes, zgu, lucy
2022-04-21 14:02:51 +00:00
Jim Laskey
85641c651d 8283084: RandomGenerator nextDouble(double, double) is documented incorrectly
Reviewed-by: bpb, darcy
2022-04-21 13:45:50 +00:00
Jim Laskey
4732b1d038 8274683: Code example provided by RandomGeneratorFactory does not compile
Reviewed-by: darcy
2022-04-21 13:40:02 +00:00
Alexander Zvegintsev
42baaa3bb8 8023814: Test java/awt/im/memoryleak/InputContextMemoryLeakTest.java fails
Reviewed-by: psadhukhan
2022-04-21 13:03:30 +00:00
Jaikiran Pai
9a905ccc5e 8285361: ClassCastExceptionForInvalidSurface.java has an incorrect copyright header
Reviewed-by: dholmes
2022-04-21 10:38:40 +00:00
Prasanta Sadhukhan
994a439e09 8277816: Client tests fail on macos-Aarch64 host
Reviewed-by: serb, azvegint
2022-04-21 10:15:51 +00:00
Alexey Ushakov
90983431c5 8283794: CCE in XRTextRenderer.drawGlyphList and XRMaskFill.MaskFill
Reviewed-by: serb, aghaisas
2022-04-21 09:56:39 +00:00
Pavel Rappo
d6b5a63577 8284908: Refine diagnostic positions for DCErroneous
Reviewed-by: jjg
2022-04-21 08:57:16 +00:00
Feilong Jiang
fa04d1f832 8284949: riscv: Add Zero support for the 32-bit RISC-V architecture
Co-authored-by: Junfeng Xie <xiejunfeng3@huawei.com>
Reviewed-by: erikj, stuefe, ihse, yadongwang
2022-04-21 07:35:32 +00:00
Joe Wang
994f2e9271 8284548: Invalid XPath expression causes StringIndexOutOfBoundsException
Reviewed-by: naoto, lancea
2022-04-20 23:08:07 +00:00
Vladimir Kozlov
691c5da593 8285266: compiler/intrinsics/sha/cli/TestUseSHA256IntrinsicsOptionOnUnsupportedCPU.java fails after JDK-8284563
Reviewed-by: mikael
2022-04-20 22:41:17 +00:00
Magnus Ihse Bursie
94afb366b2 8285093: Introduce UTIL_ARG_WITH
Reviewed-by: erikj
2022-04-20 21:05:01 +00:00
Doug Simon
8543aaa7eb 8283839: [JVMCI] add support for querying indy bootstrap method target and arguments
Reviewed-by: psandoz, kvn
2022-04-20 20:25:00 +00:00
Joe Wang
81a8e2f8b3 8284920: Incorrect Token type causes XPath expression to return incorrect results
Reviewed-by: naoto, lancea
2022-04-20 19:22:12 +00:00
Weijun Wang
05ae7ed1aa 8284291: sun/security/krb5/auto/Renew.java fails intermittently on Windows 11
Reviewed-by: aturbanov, ascarpino
2022-04-20 18:57:55 +00:00
Stuart Marks
b2c33f0f86 8282120: optimal capacity tests and test library need to be cleaned up
Reviewed-by: naoto
2022-04-20 18:43:54 +00:00
Daniel Jeliński
d8446b4f60 8284694: Avoid evaluating SSLAlgorithmConstraints twice
Reviewed-by: redestad, xuelei, coffeys
2022-04-20 18:15:16 +00:00
Xin Liu
cb16e41089 8283541: Add Statical counters and some comments in PhaseStringOpts
Reviewed-by: thartmann, kvn
2022-04-20 17:38:24 +00:00
Valerie Peng
15ce8c6195 8284553: Deprecate the DEFAULT static field of OAEPParameterSpec
Reviewed-by: mullan
2022-04-20 17:23:06 +00:00
Tim Prinzing
e8016f7443 8281006: Module::getResourceAsStream should check if the resource is open unconditionally when caller is null
Reviewed-by: alanb, erikj, mchung
2022-04-20 17:02:31 +00:00
Alexander Zuev
018017a917 8266247: Swing test bug7154030.java sometimes fails on macOS 11 ARM
Reviewed-by: psadhukhan
2022-04-20 16:47:59 +00:00
Joe Darcy
e6c5f2886c 8280594: Refactor annotation invocation handler handling to use Objects.toIdentityString
Reviewed-by: bpb
2022-04-20 16:20:36 +00:00
Quan Anh Mai
b4a85cdae1 8284742: x86: Handle integral division overflow during parsing
Reviewed-by: kvn, mdoerr
2022-04-20 16:17:01 +00:00
Daniel Fuchs
5291ec8d56 8277969: HttpClient SelectorManager shuts down when custom Executor rejects a task
Reviewed-by: jpai, michaelm
2022-04-20 13:09:45 +00:00
Matthias Baesken
6c6d5223df 8284758: [linux] improve print_container_info
Reviewed-by: stuefe, lucy, sgehwolf
2022-04-20 11:08:43 +00:00
Tobias Holenstein
46b2e547a9 8075816: Deprecate AliasLevel flag since it is broken
Reviewed-by: thartmann, kvn
2022-04-20 09:41:53 +00:00
Prasanta Sadhukhan
1b71621008 8042381: Test javax/swing/JRootPane/4670486/bug4670486.java fails with Action has not been received
Reviewed-by: azvegint, kizune
2022-04-20 09:03:48 +00:00
Xue-Lei Andrew Fan
0f81d8fcc3 8284933: Improve debug in jdk.crypto.cryptoki
Reviewed-by: valeriep
2022-04-20 04:36:12 +00:00
Eric Liu
72726c4182 8284563: AArch64: bitperm feature detection for SVE2 on Linux
Reviewed-by: aph, njian
2022-04-20 00:55:56 +00:00
Brian Burkhalter
98d54e8eb2 8282397: createTempFile method of java.io.File is failing when called with suffix of spaces character
Reviewed-by: alanb
2022-04-19 22:18:33 +00:00
Daniel Fuchs
8d456ac0ec 8282300: Throws NamingException instead of InvalidNameException after JDK-8278972
Reviewed-by: coffeys, akolarkunnu
2022-04-19 22:18:33 +00:00
Anthony Scarpino
f61d121124 8281388: Change wrapping of EncryptedPrivateKeyInfo
Reviewed-by: jnimeh
2022-04-19 22:18:33 +00:00
Daniel Fuchs
9e051d5396 8278972: Improve URL supports
Reviewed-by: skoivu, rhalade, alanb
2022-04-19 22:18:33 +00:00
Brian Burkhalter
395bb5b7f9 8278356: Improve file creation
Reviewed-by: alanb, rhalade
2022-04-19 22:18:33 +00:00
Joe Darcy
ee0743801e 8277672: Better invocation handler handling
Reviewed-by: skoivu, mchung, rhalade
2022-04-19 22:18:33 +00:00
Weijun Wang
9ce2d75d0b 8278449: Improve keychain support
Reviewed-by: ahgross, rhalade, mullan
2022-04-19 22:18:33 +00:00
Jayathirth D V
74318dfb9d 8278805: Enhance BMP image loading
Reviewed-by: prr, azvegint, rhalade, mschoene
2022-04-19 22:18:33 +00:00
Joe Wang
616ea1692e 8270504: Better Xpath expression handling
Reviewed-by: naoto, lancea, mschoene, rhalade
2022-04-19 22:18:32 +00:00
Tobias Hartmann
3268aba925 8278798: Improve supported intrinsic
Reviewed-by: kvn, vlivanov, ahgross, rhalade
2022-04-19 22:18:32 +00:00
Valerie Peng
e6c926e028 8277227: Better identification of OIDs
Reviewed-by: ahgross, weijun, rhalade
2022-04-19 22:18:32 +00:00
Weijun Wang
e2f8ce9c3f 8277233: Improve ECDSA signature support
Reviewed-by: ascarpino, ahgross, rhalade
2022-04-19 22:18:32 +00:00
Erik Gahlin
f0f0ddbf6d 8272588: Enhanced recording parsing
Reviewed-by: mgronlun, rhalade, mschoene
2022-04-19 22:18:32 +00:00
Erik Gahlin
4d4ba814ae 8272594: Better record of recordings
Reviewed-by: mgronlun, rhalade, mschoene
2022-04-19 22:18:32 +00:00
Erik Gahlin
e7cc235df4 8272261: Improve JFR recording file processing
Reviewed-by: mgronlun, ahgross, rhalade
2022-04-19 22:18:32 +00:00
Alexander Zuev
d492b07f11 8272255: Completely handle MIDI files
Reviewed-by: jdv, rhalade, mschoene, ahgross, prr
2022-04-19 22:18:31 +00:00
Anthony Scarpino
11faf5395f 8275151: Improved Object Identification
Reviewed-by: rhalade, jnimeh
2022-04-19 22:18:31 +00:00
Weijun Wang
0592e71b72 8274221: More definite BER encodings
Reviewed-by: valeriep, rhalade
2022-04-19 22:18:31 +00:00
Joe Wang
c4cf4df4f3 8269938: Enhance XML processing passes redux
Reviewed-by: naoto, lancea, rhalade, ahgross
2022-04-19 22:18:31 +00:00
Xue-Lei Andrew Fan
60446746d4 8284855: Update needed to Cleaners added to jdk.crypto.cryptoki
Reviewed-by: valeriep
2022-04-19 21:53:08 +00:00
lawrence.andrews
ed23033dc6 8283803: Remove jtreg tag manual=yesno for java/awt/print/PrinterJob/PrintGlyphVectorTest.java and fix test
8284898: Enhance PassFailJFrame

Reviewed-by: prr, aivanov
2022-04-19 21:07:38 +00:00
Claes Redestad
5df8bd6b4e 8284880: Re-examine sun.invoke.util.Wrapper hash tables
Reviewed-by: erikj, mchung
2022-04-19 20:34:45 +00:00
Claes Redestad
e307bc8694 8285001: Simplify StringLatin1.regionMatches
Reviewed-by: rriggs, naoto
2022-04-19 20:29:16 +00:00
Claes Redestad
5d1ec54d6c 8285007: Use correct lookup mode for MethodHandleStatics.UNSAFE
Reviewed-by: psandoz, mchung
2022-04-19 20:26:02 +00:00
Magnus Ihse Bursie
fb469fb894 8284893: Fix typos in java.base
Reviewed-by: iris, wetmore, lancea, mullan, naoto
2022-04-19 20:07:57 +00:00
Magnus Ihse Bursie
4594696f54 8284903: Fix typos in hotspot
Reviewed-by: cjplummer, coleenp, kvn, lucy, stefank
2022-04-19 19:10:52 +00:00
Pavel Rappo
13fb1eed52 8284697: Avoid parsing the doc comment of an element that is not documented
Reviewed-by: jjg
2022-04-19 16:27:13 +00:00
Naoto Sato
eb9c457b41 8284856: Add a test case for checking UnicodeScript entity numbers
Reviewed-by: iris, smarks
2022-04-19 15:51:57 +00:00
Thomas Schatzl
a5bb210589 8285012: Problemlist gc/arguments/TestUseCompressedOopsFlagsWithUlimit.java
Reviewed-by: ayang, dcubed
2022-04-19 15:31:42 +00:00
Andrew Leonard
da3d8b1d1e 8284539: Configure --with-source-date=version fails on MacOS
Reviewed-by: erikj, ihse
2022-04-19 14:25:33 +00:00
Roman Kennke
ac77b63018 8284725: Fix include guard in jfrbitset.hpp
Reviewed-by: stuefe
2022-04-19 14:20:36 +00:00
Magnus Ihse Bursie
595c8b8598 8284999: Remove remaining files in src/samples
Reviewed-by: erikj
2022-04-19 14:07:18 +00:00
KIRIYAMA Takuya
8d96ab0f36 8280761: UseCompressedOops should be set after limit_heap_by_allocatable_memory
Reviewed-by: ayang, tschatzl
2022-04-19 12:54:08 +00:00
Albert Mingkun Yang
b9f513c624 8283790: G1: Remove redundant card/heap-address transition
Reviewed-by: tschatzl, iwalulya
2022-04-19 11:56:06 +00:00
Albert Mingkun Yang
647aa2aedd 8284572: Remove unneeded null check in ReferenceProcessor::discover_reference
Reviewed-by: tschatzl, kbarrett
2022-04-19 09:26:43 +00:00
Andrew Leonard
ab83bceda1 8284661: Reproducible assembly builds without relative linking
Reviewed-by: ihse
2022-04-19 08:29:38 +00:00
Prasanta Sadhukhan
c5e9719c40 8266246: Swing test PressedIconTest.java sometimes fails on macOS 11 ARM
Reviewed-by: jdv
2022-04-19 06:59:24 +00:00
Manukumar V S
447c2d13d0 8284521: Write an automated regression test for RFE 4371575
Reviewed-by: prr, serb
2022-04-19 05:50:57 +00:00
Yanhong Zhu
145dfed03c 8284937: riscv: should not allocate special register for temp
Reviewed-by: fyang, fjiang, yadongwang
2022-04-19 01:15:07 +00:00
XenoAmess
87faa85c59 8186958: Need method to create pre-sized HashMap
Reviewed-by: chegar, naoto, joehw, lancea, wetmore, smarks
2022-04-19 00:03:56 +00:00
Mark Powers
41fc078323 8284112: Minor cleanup could be done in javax.crypto
Reviewed-by: wetmore
2022-04-18 23:48:22 +00:00
Roger Riggs
897d6c0dc7 8282008: Incorrect handling of quoted arguments in ProcessBuilder
Reviewed-by: bchristi
2022-04-18 19:03:50 +00:00
Joe Darcy
ffdeb32062 8284928: Add links from SourceVersion to specific JLS versions
Reviewed-by: iris
2022-04-18 17:42:23 +00:00
Pavel Rappo
d3d71ea289 8284922: Fix some doc-comment issues on methods with package access in JDK API
Reviewed-by: darcy, iris, bpb
2022-04-18 17:35:48 +00:00
Joe Darcy
6e36c4550a 8284923: Update description of SourceVersion.RELEASE_18
Reviewed-by: jjg, iris
2022-04-18 17:17:29 +00:00
Xue-Lei Andrew Fan
c63fabe3d5 8284935: Improve debug in java.security.jgss
Reviewed-by: mullan
2022-04-18 14:07:56 +00:00
Koichi Sakata
ef25e189c7 8283870: jdeprscan --help causes an exception when the locale is ja, zh_CN or de
Reviewed-by: naoto
2022-04-18 12:51:55 +00:00
Sergey Bylokhov
21ea740e1d 8284699: Include all image types to the J2DBench.ColorConvertOpTests
Reviewed-by: prr
2022-04-18 03:34:32 +00:00
Alexander Zvegintsev
e5041ae3d4 8144030: [macosx] test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails (again)
Reviewed-by: serb
2022-04-16 10:02:25 +00:00
Alexander Zvegintsev
f5beafa53f 8159599: [TEST_BUG] java/awt/Modal/ModalInternalFrameTest/ModalInternalFrameTest.java
Reviewed-by: serb, aivanov
2022-04-16 09:52:27 +00:00
Boris Ulasevich
21de4e55b8 8284681: compiler/c2/aarch64/TestFarJump.java fails with "RuntimeException: for CodeHeap < 250MB the far jump is expected to be encoded with a single branch instruction"
Reviewed-by: kvn
2022-04-16 05:57:00 +00:00
Dongbo He
9695283458 8240903: Add test to check that jmod hashes are reproducible
Reviewed-by: alanb
2022-04-16 01:33:44 +00:00
Doug Simon
dce72402b5 8284921: tier1 test failures after JDK-8284909
Reviewed-by: kvn
2022-04-15 22:16:47 +00:00
Phil Race
9f97f5de68 8283704: Add sealed modifier to java.awt.MultipleGradientPaint
Reviewed-by: darcy, serb, aivanov
2022-04-15 18:03:41 +00:00
Doug Simon
1ebf2f0d37 8284909: [JVMCI] remove remnants of AOT support
Reviewed-by: kvn
2022-04-15 17:30:00 +00:00
Phil Race
6199008dbd 8284914: Problem list test(s) failing due to extra repaints with D3D pipeline.
Reviewed-by: dcubed
2022-04-15 17:26:47 +00:00
Tagir F. Valeev
4cc8eccfca 8280915: Better parallelization for AbstractSpliterator and IteratorSpliterator when size is unknown
Reviewed-by: psandoz
2022-04-15 15:18:38 +00:00
Alexey Ivanov
53580b336a 8284884: Replace polling with waiting in javax/swing/text/html/parser/Parser/8078268/bug8078268.java
Reviewed-by: serb, psadhukhan
2022-04-15 13:55:06 +00:00
Thomas Stuefe
bdf8a2a205 8283326: Implement SafeFetch statically
Reviewed-by: dholmes, mdoerr, akozlov, lucy
2022-04-15 10:39:19 +00:00
Thomas Stuefe
bb7c97bddf 8284874: Add comment to ProcessHandle/OnExitTest to describe zombie problem
Reviewed-by: rriggs
2022-04-15 09:08:18 +00:00
Daniel Fuchs
1e22c70ff2 8284892: java/net/httpclient/http2/TLSConnection.java fails intermittently
Reviewed-by: djelinski, jpai, michaelm
2022-04-15 09:07:09 +00:00
Prasanta Sadhukhan
510003cfe3 8042380: Test javax/swing/JFileChooser/4524490/bug4524490.java fails with InvocationTargetException
Reviewed-by: serb
2022-04-15 08:32:13 +00:00
Feilong Jiang
ea0706de82 8284863: riscv: missing side effect for result in instruct vcount_positives
Reviewed-by: fyang, shade
2022-04-15 06:12:48 +00:00
John Jiang
d970820616 8284796: sun.security.ssl.Finished::toString misses a line feed in the message format pattern
Reviewed-by: xuelei
2022-04-15 02:09:30 +00:00
Phil Race
d41331e6f2 8223543: [TESTBUG] Regression test java/awt/Graphics2D/DrawString/LCDTextSrcEa.java has issues
Reviewed-by: serb, azvegint, aivanov
2022-04-15 01:03:44 +00:00
Magnus Ihse Bursie
3084921d7a 8284894: Fix typos in langtools
Reviewed-by: jjg
2022-04-14 21:41:45 +00:00
Paul Sandoz
fbb0916090 8283892: Compress and expand bits
Reviewed-by: alanb, redestad
2022-04-14 20:27:12 +00:00
Magnus Ihse Bursie
160eb2bd39 8284891: Fix typos in build system files
Reviewed-by: erikj
2022-04-14 19:33:28 +00:00
Andrey Turbanov
48c7549806 8284853: Fix various 'expected' typo
Reviewed-by: bpb, ihse
2022-04-14 18:05:49 +00:00
vamsi-parasa
a81c5d3a23 8284635: Crashes after 8282221: assert(ctrl == kit.control()) failed: Control flow was added although the intrinsic bailed out
Reviewed-by: kvn
2022-04-14 16:24:29 +00:00
Raffaello Giulietti
3ffec3a50b 8284866: Add test to JDK-8273056
Reviewed-by: jlaskey
2022-04-14 15:36:20 +00:00
Pavel Rappo
1cc3c330e3 8283864: Clean up DocFinder and friends
Reviewed-by: jjg
2022-04-14 15:09:47 +00:00
Aleksey Shipilev
9a00b432ea 8284584: Avoid duplicate node_idx_t definitions
Reviewed-by: kvn, redestad
2022-04-14 11:11:56 +00:00
Tejesh R
f26403172f 8236987: Remove call to System.out.println from ImageIcon.loadImage
Reviewed-by: aivanov, psadhukhan, prr
2022-04-14 11:10:22 +00:00
Roman Kennke
339005dbc9 8284816: Make markWord::has_monitor() more robust
Reviewed-by: stuefe, zgu, dcubed
2022-04-14 09:33:37 +00:00
Roman Kennke
2ba5cc4163 8284760: Correct type/array element offset in LibraryCallKit::get_state_from_digest_object()
Reviewed-by: roland, kvn
2022-04-14 09:31:29 +00:00
Alexander Zvegintsev
c3938ec18b 8159694: HiDPI, Unity, java/awt/dnd/DropTargetEnterExitTest/MissedDragExitTest.java
Reviewed-by: serb
2022-04-14 07:54:35 +00:00
Alexander Zvegintsev
23c6817c1a 6626492: Event time in future part 2, now on X
Reviewed-by: serb
2022-04-14 07:53:41 +00:00
Aleksey Shipilev
2241a05705 8284578: Relax InterpreterCodelet stub alignment
Reviewed-by: kvn, dlong
2022-04-14 07:30:37 +00:00
Swati Sharma
bf85b0095f 8284564: Extend VectorAPI validation tests for SHIFTs and ROTATE operations with constant shift values.
Reviewed-by: psandoz, jbhateja
2022-04-14 04:06:15 +00:00
Andrey Turbanov
bf1c3ef02b 8284775: Simplify String.substring(_, length()) calls
Reviewed-by: bpb, serb
2022-04-13 19:08:44 +00:00
Andrey Turbanov
249d54f93d 8284673: Collapse identical catch branches in java.management
Reviewed-by: cjplummer, dholmes
2022-04-13 17:47:35 +00:00
Zhiqiang Zang
c7755b815d 8283094: Add Ideal transformation: x + (con - y) -> (x - y) + con
Reviewed-by: kvn, thartmann
2022-04-13 16:01:10 +00:00
Coleen Phillimore
e245f9d200 8284274: Error reporting crashes because missing ResourceMarks
Reviewed-by: dholmes, stuefe
2022-04-13 14:46:27 +00:00
Matthias Baesken
8ee2944cc4 8284754: print more interesting env variables in hs_err and VM.info
Reviewed-by: stuefe
2022-04-13 11:49:00 +00:00
Prasanta Sadhukhan
70251b064d 8194946: Regression automated Test 'javax/swing/JFileChooser/6738668/bug6738668.java' fails
Reviewed-by: aivanov
2022-04-13 10:58:36 +00:00
Daniel Jeliński
507dc41a53 8284720: IntelliJ: JIRA integration
Reviewed-by: mcimadamore, ihse
2022-04-13 10:33:48 +00:00
Claes Redestad
280aa42880 8284579: Improve VarHandle checks for interpreter
Reviewed-by: mcimadamore, mchung
2022-04-13 07:21:24 +00:00
Eric Liu
c35590282d 8282528: AArch64: Incorrect replicate2L_zero rule
Reviewed-by: aph
2022-04-13 04:21:43 +00:00
Glavo
5691a3b6af 8284702: Add @since for java.time.LocalDate.EPOCH
Reviewed-by: rriggs, bpb, iris, darcy, naoto
2022-04-13 02:17:45 +00:00
Jonathan Gibbons
7920e8ba42 8283714: REDO - Unexpected TypeElement in ANALYZE TaskEvent
8284030: Standard Doclet should not attempt to link to primitive types

Reviewed-by: vromero, jlahoda, prappo
2022-04-12 23:33:26 +00:00
Johannes Bechberger
bc12e8616d 8284752: Zero does not build on Mac OS X due to missing os::current_thread_enable_wx implementation
Reviewed-by: dholmes
2022-04-12 23:23:51 +00:00
Johannes Bechberger
cafde7fe00 8284732: FFI_GO_CLOSURES macro not defined but required for zero build on Mac OS X
Reviewed-by: dholmes
2022-04-12 23:20:12 +00:00
Ravi Reddy
7891085a87 8284771: java/util/zip/CloseInflaterDeflaterTest.java failed with "AssertionError: Expected IOException to be thrown, but nothing was thrown"
Reviewed-by: lancea
2022-04-12 20:39:05 +00:00
Raffaello Giulietti
19b140a7f3 8283083: java.util.random L128X256MixRandom constructor fails to use byte[] seed
Reviewed-by: jlaskey, bpb
2022-04-12 17:36:16 +00:00
lawrence.andrews
3f26d84f6a 8284535: Fix PrintLatinCJKTest.java test that is failing with Parse Exception
8283712: Create a manual test framework class

Reviewed-by: prr, aivanov
2022-04-12 13:49:43 +00:00
Eric Liu
a5378fb8c0 8284125: AArch64: Remove partial masked operations for SVE
Reviewed-by: njian, ngasson
2022-04-12 13:17:27 +00:00
Prasanta Sadhukhan
83466434fd 8196465: javax/swing/JComboBox/8182031/ComboPopupTest.java fails on Linux
Reviewed-by: azvegint
2022-04-12 13:08:35 +00:00
Christoph Langer
5851631de2 8284622: Update versions of some Github Actions used in JDK workflow
Reviewed-by: ihse
2022-04-12 12:11:18 +00:00
Albert Mingkun Yang
4cd0921cf6 8284653: Serial: Inline GenCollectedHeap::collect_locked
Reviewed-by: kbarrett, tschatzl
2022-04-12 08:00:27 +00:00
Prasanta Sadhukhan
9545ba7dd9 8282716: [macos] Enable javax/swing/JScrollPane/TestMouseWheelScroll.java on macos
Reviewed-by: serb
2022-04-12 07:30:10 +00:00
Srinivas Mandalika
4ce3cf12bf 8283245: Create a test for JDK-4670319
Reviewed-by: serb
2022-04-12 04:21:48 +00:00
Srinivas Mandalika
fad3b94786 8282640: Create a test for JDK-4740761
Reviewed-by: prr, serb
2022-04-12 01:30:47 +00:00
Vicente Romero
4e165f66a9 8284308: mismatch between key and content in compiler error message
Reviewed-by: mcimadamore
2022-04-11 20:57:24 +00:00
Zhengyu Gu
4d45c3ebc4 8284620: CodeBuffer may leak _overflow_arena
Reviewed-by: thartmann, kvn
2022-04-11 19:04:45 +00:00
Daniel D. Daugherty
73aa5551e1 8284689: ProblemList java/lang/Integer/Unsigned.java in -Xcomp mode
Reviewed-by: rriggs
2022-04-11 18:56:55 +00:00
Daniel D. Daugherty
929f58714a 8284691: ProblemList javax/swing/JTable/8236907/LastVisibleRow.java on macosx
Reviewed-by: azvegint, rriggs
2022-04-11 18:56:05 +00:00
Sean Mullan
dc6ec2a467 8284105: Update security libraries to use sealed classes
Reviewed-by: darcy, weijun, xuelei
2022-04-11 18:01:47 +00:00
Daniel D. Daugherty
470a66840c 8284687: validate-source failure after JDK-8283710
Reviewed-by: iris
2022-04-11 16:25:44 +00:00
Naoto Sato
523899e36c 8265315: Support for CLDR version 41
Reviewed-by: joehw, iris, ihse
2022-04-11 15:59:12 +00:00
Roman Kennke
abfd2f98dc 8283710: JVMTI: Use BitSet for object marking
Reviewed-by: stuefe, coleenp
2022-04-11 14:50:29 +00:00
Manukumar V S
7edd186121 8283507: Create a regression test for RFE 4287690
Reviewed-by: serb, aivanov
2022-04-11 14:00:46 +00:00
Daniel Fuchs
74835f7389 8283719: java/util/logging/CheckZombieLockTest.java failing intermittently
Reviewed-by: alanb
2022-04-11 13:43:03 +00:00
Zhengyu Gu
205cfb8496 8284093: Memory leak: X11SD_DisposeXImage should also free obdata
Reviewed-by: prr, andrew
2022-04-11 13:36:20 +00:00
Andrey Turbanov
f4edb59a6e 8284567: Collapse identical catch branches in java.base
Reviewed-by: darcy, iris, wetmore
2022-04-11 09:32:24 +00:00
John Jiang
40ddb7558c 8284641: Doc errors in sun.security.ssl.SSLSessionContextImpl
Reviewed-by: xuelei, ssahoo
2022-04-11 06:39:18 +00:00
Roberto Castañeda Lozano
8ebea443f3 8270090: C2: LCM may prioritize CheckCastPP nodes over projections
Reviewed-by: thartmann, kvn
2022-04-11 06:37:57 +00:00
Albert Mingkun Yang
755bfcb2d4 8284581: Serial: Remove unused GenCollectedHeap::collect_locked
Reviewed-by: tschatzl
2022-04-11 06:25:23 +00:00
Wu Yan
0c04bf8e59 8284198: Undo JDK-8261137: Optimization of Box nodes in uncommon_trap
Reviewed-by: kvn, thartmann
2022-04-11 06:23:09 +00:00
Jaikiran Pai
eb3ead96b3 8284036: Make ConcurrentHashMap.CollectionView a sealed hierarchy
Reviewed-by: smarks
2022-04-11 01:24:18 +00:00
Zhengyu Gu
92f5e42696 8284549: JFR: FieldTable leaks FieldInfoTable member
Reviewed-by: mgronlun, stuefe
2022-04-11 00:58:30 +00:00
Thomas Stuefe
34914f12be 8284178: os::commit_memory() should assert the given range
Reviewed-by: shade
2022-04-10 16:58:49 +00:00
vamsi-parasa
37e28aea27 8282221: x86 intrinsics for divideUnsigned and remainderUnsigned methods in java.lang.Integer and java.lang.Long
Reviewed-by: sviswanathan, kvn, jbhateja
2022-04-10 03:47:18 +00:00
Yasumasa Suenaga
0b867b5e73 8284330: jcmd may not be able to find processes in the container
Reviewed-by: kevinw, iklam, stuefe
2022-04-10 02:12:08 +00:00
Phil Race
eab4c0c499 8283706: Add final or sealed modifier to appropriate javax.swing API classes
Reviewed-by: darcy, psadhukhan, aivanov, serb
2022-04-08 21:30:12 +00:00
Magnus Ihse Bursie
3357d9a168 8284588: Remove GensrcCommonLangtools.gmk
Reviewed-by: erikj
2022-04-08 20:33:24 +00:00
Leonid Mesnik
a8c8752602 8284556: Ensure reachability of classes in runtime/whitebox/TestHiddenClassIsAlive.java and serviceability/dcmd/vm/ClassLoaderHierarchyTest.java
Reviewed-by: cjplummer
2022-04-08 19:24:55 +00:00
Ioi Lam
662320a0ec 8284336: CDS SignedJar.java test fails due to archived Reference object
Reviewed-by: alanb, ccheung
2022-04-08 17:20:10 +00:00
Vicente Romero
1bd8975caf 8284361: Updating ASM to 9.3 for JDK 19
Reviewed-by: mchung
2022-04-08 17:01:15 +00:00
Joe Wang
0a0267590f 8279876: Clean up: isAssignableFrom usages in xpath and jdk internal classes
Reviewed-by: naoto, lancea
2022-04-08 16:34:09 +00:00
Naoto Sato
d6b4693c05 8283698: Refactor Locale constructors used in src/test
Reviewed-by: iris, joehw
2022-04-08 15:23:25 +00:00
Aleksey Shipilev
61698bd137 8284533: Improve InterpreterCodelet data footprint
Reviewed-by: redestad, coleenp
2022-04-08 15:18:59 +00:00
Ajit Ghaisas
3a0ddeba52 8284378: Make Metal the default Java 2D rendering pipeline for macOS
Reviewed-by: kcr, avu, prr, jdv
2022-04-08 15:11:29 +00:00
Zhengyu Gu
b55c32f5fe 8284532: Memory leak in BitSet::BitMapFragmentTable in JFR leak profiler
Reviewed-by: stuefe, mgronlun, shade
2022-04-08 14:58:05 +00:00
Christoph Langer
8eac3427b1 8284507: GHA: Only check test results if testing was not skipped
Reviewed-by: shade, ihse
2022-04-08 13:29:40 +00:00
Roberto Castañeda Lozano
6028181071 8283930: IGV: add toggle button to show/hide empty blocks in CFG view
Reviewed-by: kvn, chagedorn
2022-04-08 08:41:30 +00:00
Stefan Karlsson
a445ecd1e9 8284297: Move FILE_AND_LINE to a platform independent header
Reviewed-by: tschatzl
2022-04-08 07:53:32 +00:00
Roberto Castañeda Lozano
003aa2ee76 8282043: IGV: speed up schedule approximation
Reviewed-by: chagedorn, kvn
2022-04-08 07:16:40 +00:00
Xiaolin Zheng
8c18705218 8284433: Cleanup Disassembler::find_prev_instr() on all platforms
Reviewed-by: lucy, kvn
2022-04-08 03:23:04 +00:00
Fei Gao
e572a525f5 8280511: AArch64: Combine shift and negate to a single instruction
Reviewed-by: njian, ngasson
2022-04-08 01:25:13 +00:00
Feilong Jiang
de9596c290 8284495: [testbug] Adapt nsk tests to the RISC-V platform
Reviewed-by: lmesnik, cjplummer
2022-04-08 00:58:53 +00:00
Zhengyu Gu
d4a4884385 8284458: CodeHeapState::aggregate() leaks blob_name
Reviewed-by: lucy, lmesnik
2022-04-07 20:36:46 +00:00
Chris Plummer
e98c32d6b6 8284043: com/sun/jdi/MethodInvokeWithTraceOnTest.java failing with com.sun.jdi.ObjectCollectedException
Reviewed-by: sspitsyn, amenkov
2022-04-07 19:01:42 +00:00
Calvin Cheung
343e5f09d4 8282040: Remove unnecessary check made obsolete by JDK-8261941
Reviewed-by: iklam
2022-04-07 16:41:32 +00:00
Mark Powers
d6f01e9d6f 8234128: jarsigner will not show not-signed-by-alias warning if an intermediate cert is in this keystore
Reviewed-by: jnimeh
2022-04-07 15:52:43 +00:00
Daniel Jeliński
5bafcfdc17 8284444: Sting typo
Reviewed-by: kcr, aivanov, mgronlun
2022-04-07 14:55:05 +00:00
Mahendra Chhipa
ec73c61d8f 8284353: Update java/net and sun/net/www tests to eliminate dependency on sun.net.www.MessageHeader
Reviewed-by: dfuchs
2022-04-07 10:19:12 +00:00
Andrey Turbanov
8e58d4a589 8284415: Collapse identical catch branches in security libs
Reviewed-by: coffeys, xuelei, wetmore
2022-04-07 10:00:08 +00:00
Pavel Rappo
4f36229c96 8284446: Miscellaneous doc-comment fixes in jdk.javadoc
Reviewed-by: jjg
2022-04-07 09:38:42 +00:00
Prasanta Sadhukhan
192886546b 8284166: [macos] Replace deprecated alternateSelectedControlColor with selectedContentBackgroundColor
Reviewed-by: prr
2022-04-07 09:11:56 +00:00
Conor Cleary
4d2cd26ab5 8263031: HttpClient throws Exception if it receives a Push Promise that is too large
Reviewed-by: dfuchs
2022-04-07 08:42:38 +00:00
Christoph Langer
61fcf2f67f 8284389: Improve stability of GHA Pre-submit testing by caching cygwin installer
Reviewed-by: shade
2022-04-07 06:02:59 +00:00
Alexander Zuev
d5cd4a3a28 8283387: [macos] a11y : Screen magnifier does not show selected Tab
Reviewed-by: prr, aivanov
2022-04-07 04:00:56 +00:00
Pavel Rappo
5a21397f70 8284387: Fix formatting of doc comments in jdk.javadoc
Reviewed-by: jjg
2022-04-06 22:14:21 +00:00
Andrew Leonard
4451257b14 8284437: Building from different users/workspace is not always deterministic
Reviewed-by: erikj
2022-04-06 19:11:49 +00:00
Pavel Rappo
dd4a1bba91 8284299: Handle inheritDoc misuse more gracefully
Reviewed-by: jjg
2022-04-06 18:56:06 +00:00
Mikael Vidstedt
46ce2ef1d2 8277517: Bump minimum boot jdk to JDK 18
Reviewed-by: darcy, erikj, iris
2022-04-06 18:49:29 +00:00
Xue-Lei Andrew Fan
77388eaf25 8284368: Remove finalizer method in jdk.crypto.cryptoki
Reviewed-by: valeriep
2022-04-06 17:07:35 +00:00
Patricio Chilano Mateo
8e4fab0c89 8284303: runtime/Thread/AsyncExceptionTest.java timed out
Reviewed-by: dcubed, kvn
2022-04-06 16:47:55 +00:00
Aleksey Shipilev
3cd3a83647 8284167: Make internal javac exceptions stackless
Reviewed-by: mcimadamore
2022-04-06 15:47:35 +00:00
Claes Redestad
a385142398 8177107: Reduce memory footprint of java.lang.reflect.Constructor/Method
Reviewed-by: darcy, shade, coleenp
2022-04-06 14:26:58 +00:00
Zhengyu Gu
ec205f68a8 8284023: java.sun.awt.X11GraphicsDevice.getDoubleBufferVisuals() leaks XdbeScreenVisualInfo
Reviewed-by: prr, serb
2022-04-06 12:50:43 +00:00
Alexey Semenyuk
b9cc3bc1bf 8284067: jpackage'd launcher reports non-zero exit codes with error prompt
Reviewed-by: almatvee
2022-04-06 11:49:36 +00:00
Alexey Ivanov
bbe894fc81 8284288: Use SVG images for FocusSpec.html and Modality.html
Reviewed-by: prr, serb
2022-04-06 10:26:52 +00:00
Boris Ulasevich
e524107a74 8280872: Reorder code cache segments to improve code density
Reviewed-by: simonis, kvn
2022-04-06 09:32:12 +00:00
Artem Semenov
e18414a322 8284014: Menu items with submenus in JPopupMEnu are not spoken on macOS
Reviewed-by: prr, serb, ant
2022-04-06 09:29:36 +00:00
Thomas Schatzl
b56df2808d 8283935: Parallel: Crash during pretouch after large pages allocation failure
Reviewed-by: kbarrett, ayang
2022-04-06 08:01:47 +00:00
Manukumar V S
0a67d68670 8284294: Create an automated regression test for RFE 4138746
Reviewed-by: serb
2022-04-06 07:21:33 +00:00
Tobias Hartmann
955d61df30 8284369: TestFailedAllocationBadGraph fails with -XX:TieredStopAtLevel < 4
Reviewed-by: chagedorn
2022-04-06 06:51:02 +00:00
Daniel Jeliński
4ffe96a857 8282506: Clean up remaining references to TwoStacksPlain*SocketImpl
Reviewed-by: dfuchs
2022-04-06 06:43:18 +00:00
Pengfei Li
741be46138 8183390: Fix and re-enable post loop vectorization
Reviewed-by: roland, thartmann, kvn
2022-04-05 23:50:13 +00:00
Dean Long
500f9a577b 8283396: Null pointer dereference in loopnode.cpp:2851
Reviewed-by: chagedorn, kvn
2022-04-05 21:07:29 +00:00
Joe Darcy
e9e3aa7b82 8283730: Improve discussion of modeling of packages and modules
Reviewed-by: jjg, jlahoda
2022-04-05 18:21:54 +00:00
Pavel Rappo
20acea41cc 8284362: Remove the "unsupported API" warning from jdk.javadoc
Reviewed-by: jjg
2022-04-05 17:45:39 +00:00
Daniel D. Daugherty
ff1daa85b0 8284380: ProblemList jdk/jshell/HighlightUITest.java on more platforms
Reviewed-by: bpb
2022-04-05 17:44:43 +00:00
Naoto Sato
526e73498e 8282819: Deprecate Locale class constructors
Reviewed-by: lancea, rriggs
2022-04-05 15:38:36 +00:00
Andrey Turbanov
648efd7abc 8284275: Remove unused sun.nio.fs.Reflect
Reviewed-by: alanb, bpb
2022-04-05 13:08:54 +00:00
Tejesh R
f20ed33618 8284278: Diagnostic Fix Updated.
Reviewed-by: prr, psadhukhan
2022-04-05 11:09:11 +00:00
Manukumar V S
632825c6d2 8283621: Write a regression test for CCC4400728
Reviewed-by: aivanov, serb
2022-04-05 04:42:32 +00:00
Thomas Stuefe
9561b5e041 8284165: Add pid to process reaper thread name
Reviewed-by: rriggs
2022-04-05 03:39:39 +00:00
Zhengyu Gu
36b3bbc53d 8284033: Leak XVisualInfo in getAllConfigs in awt_GraphicsEnv.c
Reviewed-by: serb, prr
2022-04-05 00:39:02 +00:00
Magnus Ihse Bursie
59fe31a090 8284170: Add "make doctor" to the make help
Reviewed-by: erikj
2022-04-04 21:43:34 +00:00
Alexander Zuev
9440b39193 8283215: [macos] Screen Magnifier: Getting java.awt.IllegalComponentStateException when menu item is selected
Reviewed-by: serb, prr
2022-04-04 21:22:44 +00:00
Phil Race
86caf606ff 8283703: Add sealed modifier to java.awt.geom.Path2D
Reviewed-by: bpb, kizune, aivanov
2022-04-04 21:20:12 +00:00
Alex Menkov
0cd46f655a 8283597: [REDO] Invalid generic signature for redefined classes
Reviewed-by: sspitsyn, coleenp
2022-04-04 20:39:44 +00:00
Ioi Lam
e29707493e 8284181: ArgumentsTest.set_numeric_flag_double_vm fails on some locales
Reviewed-by: stuefe
2022-04-04 20:08:07 +00:00
Andrey Turbanov
732f7ae0aa 8284071: Collapse identical catch branches in jdk.console
Reviewed-by: cjplummer
2022-04-04 20:05:22 +00:00
Joe Wang
61d06c2d28 8276050: XMLInputFactoryImpl.getProperty() returns null
Reviewed-by: rriggs
2022-04-04 20:00:36 +00:00
Manukumar V S
7381868afe 8283623: Create an automated regression test for JDK-4525475
Reviewed-by: aivanov, serb
2022-04-04 18:58:05 +00:00
Brian Burkhalter
f76f5da016 5087440: java.io bulk read(...) end-of-stream return value descriptions ambiguous
Reviewed-by: rriggs, lancea
2022-04-04 18:54:36 +00:00
Vicente Romero
36b9baa70d 8282508: Updating ASM to 9.2 for JDK 19
Reviewed-by: lancea, egahlin, mchung
2022-04-04 15:05:00 +00:00
Patricio Chilano Mateo
4e20a03786 8283044: Use asynchronous handshakes to deliver asynchronous exceptions
Reviewed-by: dcubed, dholmes, rehn
2022-04-04 14:00:26 +00:00
Pavel Rappo
9d200d6e7a 8282756: Make ElementKind checks more specific
Reviewed-by: jjg
2022-04-04 09:28:04 +00:00
Lutz Schmidt
1012d59e64 8281079: [s390] Unify Address Operand Encoding in Instruction Emitters
Reviewed-by: mdoerr, mbaesken
2022-04-04 07:51:50 +00:00
Jatin Bhateja
003ec21f3c 8279508: Auto-vectorize Math.round API
Reviewed-by: sviswanathan, aph
2022-04-02 18:00:33 +00:00
Ioi Lam
c1e67b6603 8283474: Include detailed heap object info in CDS map file
Reviewed-by: ccheung, stuefe
2022-04-02 03:23:49 +00:00
Feilong Jiang
060a188733 8283865: riscv: Break down -XX:+UseRVB into seperate options for each bitmanip extension
Reviewed-by: fyang, shade
2022-04-02 02:55:50 +00:00
Fei Yang
e5e1aab459 8284068: riscv: should call Atomic::release_store in JavaThread::set_thread_state
Reviewed-by: shade
2022-04-02 02:46:26 +00:00
Bradford Wetmore
0b09f70a73 8273553: sun.security.ssl.SSLEngineImpl.closeInbound also has similar error of JDK-8253368
Reviewed-by: xuelei, rhalade, coffeys
2022-04-02 00:30:48 +00:00
Daniel D. Daugherty
afd0f5a904 8284190: disable G1RegionToSpaceMapper.largeStressAdjacent_vm on windows
Reviewed-by: tschatzl
2022-04-01 20:26:34 +00:00
Valerie Peng
028fbf474b 8254935: Deprecate the PSSParameterSpec(int) constructor
Reviewed-by: mullan
2022-04-01 18:37:39 +00:00
Roman Kennke
1dfa1eaea0 8284094: Memory leak in invoker_completeInvokeRequest()
Reviewed-by: cjplummer, shade
2022-04-01 16:28:26 +00:00
Coleen Phillimore
943d4ee18f 8284180: Some files missing newlines
Reviewed-by: alanb, pchilanomate, stefank
2022-04-01 16:14:53 +00:00
Jan Lahoda
96179c8975 8284146: Disable jdk/jshell/HighlightUITest.java on macosx-aarch64
Reviewed-by: dcubed
2022-04-01 14:36:52 +00:00
Luis Pinto
63fec5da27 8283525: http://tools.ietf.org/html/* URLs return 404
Reviewed-by: coffeys
2022-04-01 13:26:20 +00:00
Pavel Rappo
dbfac3c99c 8283269: Improve definition and use of jdk.javadoc.internal.doclets.toolkit.Content
Reviewed-by: jjg
2022-04-01 13:05:48 +00:00
Dan Heidinga
fc7a17c79b 8284103: AsVarargsCollector::asCollectorCache incorrectly marked @stable
Reviewed-by: jvernee, shade
2022-04-01 12:50:21 +00:00
Xiaohong Gong
05ea7a51e1 8282431: AArch64: Add optimized rules for masked vector multiply-add/sub for SVE
Reviewed-by: njian, ngasson
2022-04-01 09:33:46 +00:00
Jan Lahoda
9156c0b213 8274148: can jshell show deprecated classes, methods and fields as strikethrough text?
Reviewed-by: vromero
2022-04-01 06:37:46 +00:00
Xin Liu
bab431cc12 8282429: StringBuilder/StringBuffer.toString() skip compressing for UTF16 strings
Reviewed-by: djelinski, redestad
2022-04-01 04:42:03 +00:00
Coleen Phillimore
8eff80682a 8284116: Rename serializePropertiesToByteArray_signature
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: sspitsyn
2022-04-01 01:01:04 +00:00
Alisen Chung
38df5701ff 8283805: [REDO] JDK 19 L10n resource files update - msgdrop 10
Reviewed-by: naoto
2022-03-31 22:59:21 +00:00
Sergey Bylokhov
ad83ec7e28 8283422: Create a new test for JDK-8254790
Reviewed-by: kvn, thartmann
2022-03-31 18:17:38 +00:00
Aleksey Shipilev
6ebf845ff7 8283566: G1: Improve G1BarrierSet::enqueue performance
Reviewed-by: tschatzl, ayang
2022-03-31 17:49:14 +00:00
Aleksey Shipilev
d276da5a38 8281469: aarch64: Improve interpreter stack banging
Reviewed-by: aph, xliu
2022-03-31 17:48:17 +00:00
Naoto Sato
a41550b9e3 8283842: TestZoneTextPrinterParser.test_roundTripAtOverlap fails: DateTimeParseException
Reviewed-by: iris, rriggs, scolebourne
2022-03-31 16:05:16 +00:00
Frederic Parain
207b099858 8283890: Changes in CFG file format break C1Visualizer
Reviewed-by: chagedorn, thartmann
2022-03-31 15:54:51 +00:00
Ioi Lam
49fcc7a5c3 8283013: Simplify Arguments::parse_argument()
Reviewed-by: dholmes, ccheung
2022-03-31 15:46:34 +00:00
Pavel Rappo
73cb922bfc 8284026: Use unmodifiable collections where practical
Reviewed-by: jjg
2022-03-31 15:23:40 +00:00
Jie Fu
77a205aa4c 8284090: com/sun/security/auth/module/AllPlatforms.java fails to compile
Reviewed-by: mullan
2022-03-31 13:51:12 +00:00
Magnus Ihse Bursie
64025b0e47 8283901: Introduce "make doctor" to diagnose build environment problems
Reviewed-by: erikj
2022-03-31 13:30:16 +00:00
James Nord
5740a3b6e6 8280193: summary javadoc for java.awt.GraphicsEnvironment#preferProportionalFonts broken
Reviewed-by: prr, aivanov
2022-03-31 11:45:56 +00:00
Tobias Hartmann
a11cc97439 8283997: Unused argument in GraphKit::builtin_throw
Reviewed-by: roland, redestad, chagedorn
2022-03-31 10:52:50 +00:00
Prasanta Sadhukhan
067b2581d9 8224977: [macos] On AquaLookAndFeel, Iconified JInternalFrame does not restore when Control + F5 is used.
Reviewed-by: serb
2022-03-31 09:06:13 +00:00
Prasanta Sadhukhan
0a9a7b6abc 8283642: JavaDoc of JFileChooser() need to be updated for default directory in Windows
Reviewed-by: aivanov
2022-03-31 09:01:52 +00:00
Claes Redestad
1a5f5da050 8283996: Reduce cost of year and month calculations
Reviewed-by: bpb, scolebourne, naoto, rriggs
2022-03-31 08:45:06 +00:00
Kevin Walls
45d4d7da23 8283337: Posix signal handler modification warning triggering incorrectly
Reviewed-by: stuefe, dholmes
2022-03-31 08:37:50 +00:00
Alexander Scherbatiy
3d4be14eba 8181571: printing to CUPS fails on mac sandbox app
Reviewed-by: prr
2022-03-31 08:32:22 +00:00
Albert Mingkun Yang
ef51dfd153 8283791: Parallel: Remove unnecessary condition in PSKeepAliveClosure
Reviewed-by: tschatzl, iwalulya
2022-03-31 08:24:41 +00:00
Andrey Turbanov
3e643f4599 8283799: Collapse identical catch branches in jdk.hotspot.agent
Reviewed-by: lmesnik, amenkov
2022-03-31 07:56:44 +00:00
David Holmes
1ca0ede60d 8283725: Launching java with "-Xlog:gc*=trace,safepoint*=trace,class*=trace" crashes the JVM
Reviewed-by: iklam, rehn
2022-03-31 06:55:45 +00:00
David Holmes
c9a469a459 8283784: java_lang_String::as_platform_dependent_str stores to oop in native state
Reviewed-by: kbarrett, shade, stefank
2022-03-31 06:53:26 +00:00
Sibabrata Sahoo
fbb8ca55a8 8281717: Cover logout method for several LoginModule
Reviewed-by: rhalade
2022-03-31 06:17:00 +00:00
Conor Cleary
e0a86699b3 8281223: Improve the API documentation of HttpRequest.Builder::build to state that the default implementation provided by the JDK returns immutable objects.
Reviewed-by: dfuchs, jpai, chegar
2022-03-31 04:28:22 +00:00
Joe Wang
eeca3a3155 8253569: javax.xml.catalog.Catalog.matchURI() implementation should reset state variables
Reviewed-by: lancea, naoto
2022-03-31 01:50:41 +00:00
Jaikiran Pai
ec0897ab80 8281705: SourceLauncherTest.testSystemProperty isn't being run
Reviewed-by: jjg
2022-03-31 01:09:39 +00:00
Mandy Chung
1ddab6fe4e 8283060: RawNativeLibraries should allow multiple clients to load/unload the same library
Reviewed-by: sundar, jvernee, jpai
2022-03-31 00:51:11 +00:00
Fei Yang
835c7e8d6d 8283907: Fix Huawei copyright in various files
Reviewed-by: mli
2022-03-31 00:46:44 +00:00
Andrey Turbanov
b8dd21b790 8283801: Cleanup confusing String.toString calls
Reviewed-by: bpb
2022-03-30 21:09:55 +00:00
Thomas Schatzl
ce27d9dd5e 8283494: Factor out calculation of actual number of XMM registers
Reviewed-by: dlong, kvn
2022-03-30 18:13:54 +00:00
Mandy Chung
e61ccfba7f 8283470: Update java.lang.invoke.VarHandle to use sealed classes
Reviewed-by: darcy, psandoz
2022-03-30 17:37:42 +00:00
Phil Race
e85fa2f04b 8283700: Add final or sealed modifier to appropriate java.awt API classes
Reviewed-by: darcy, aivanov, serb, psadhukhan
2022-03-30 17:26:03 +00:00
Alexander Zvegintsev
ec9ab558a3 8282374: Java_sun_awt_X11_XlibWrapper_XSynchronize is wrong and unused
Reviewed-by: serb, prr
2022-03-30 17:09:17 +00:00
bobpengxie
a625bfdba4 8283903: GetContainerCpuLoad does not return the correct result in share mode
Reviewed-by: jiefu, sgehwolf, kevinw, dholmes
2022-03-30 17:06:38 +00:00
Srinivas Mandalika
97c7298a39 8282046: Create a regression test for JDK-8000326
Reviewed-by: aivanov
2022-03-30 16:05:31 +00:00
Stuart Marks
ae57258b46 8283715: Update ObjectStreamClass to be final
Reviewed-by: darcy, jpai, mchung, dfuchs
2022-03-30 15:50:31 +00:00
Daniel D. Daugherty
d9d19e96b1 8284015: ProblemList containers/docker/TestJcmd.java on linux-x64
Reviewed-by: bpb, hseigel
2022-03-30 15:17:33 +00:00
Aleksey Shipilev
a3223cb683 8283999: Update JMH devkit to 1.35
Reviewed-by: erikj, redestad
2022-03-30 15:15:13 +00:00
Eric Liu
e8e9b8dc89 8282926: AArch64: Optimize out WHILELO with PTRUE
Reviewed-by: njian, ngasson
2022-03-30 14:57:50 +00:00
Xiaolin Zheng
720e751f35 8283937: riscv: RVC: Fix c_beqz to c_bnez
Reviewed-by: shade
2022-03-30 10:01:39 +00:00
Ningsheng Jian
51c05e8219 8282764: AArch64: compiler/vectorapi/reshape/TestVectorCastNeon.java failed with incorrect result
Reviewed-by: psandoz, ngasson, eliu
2022-03-30 09:47:20 +00:00
Xiaolin Zheng
b82b009047 8283737: riscv: MacroAssembler::stop() should emit fixed-length instruction sequence
Reviewed-by: fyang, shade
2022-03-30 09:04:55 +00:00
Roberto Castañeda Lozano
edb42d7b0a 8282547: IGV: add control-flow graph view
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: chagedorn, xliu, thartmann
2022-03-30 07:14:39 +00:00
Aleksey Shipilev
7418373674 8283788: Remove unused VM_DeoptimizeAll::_dependee
Reviewed-by: dholmes
2022-03-30 07:13:40 +00:00
Aleksey Shipilev
aa3352588b 8283787: C1: Remove unused ArrayStoreExceptionStub::_info
Reviewed-by: thartmann, chagedorn
2022-03-30 07:12:54 +00:00
Aleksey Shipilev
8b656117dd 8283789: CompilerPhaseTypeHelper::to_bitmask should operate on uint64_t
Reviewed-by: chagedorn, thartmann
2022-03-30 07:11:59 +00:00
Andrey Turbanov
9bb916db0a 8283800: Simplify String.indexOf/lastIndexOf calls
Reviewed-by: xuelei, bpb, lmesnik
2022-03-30 07:07:56 +00:00
Andrey Turbanov
b323f54fee 8283846: Remove unused jdk.internal.reflect.SignatureIterator
Reviewed-by: bpb, mchung, iris
2022-03-30 06:56:08 +00:00
Phil Race
eb5b7128a0 8283701: Add final or sealed modifier to appropriate java.awt.color ICC_Profile API classes
Reviewed-by: bpb, aivanov, serb
2022-03-30 03:00:19 +00:00
Xiaohong Gong
d06685680c 8282162: [vector] Optimize integral vector negation API
Reviewed-by: jiefu, psandoz, njian
2022-03-30 01:36:51 +00:00
Srinivas Mandalika
bfd9c2b30f 8283015: Create a test for JDK-4715496
Reviewed-by: serb
2022-03-29 22:26:01 +00:00
Ioi Lam
8cdabea0ab 8207025: JvmtiEnv::SetSystemProperty() does not handle OOM
Reviewed-by: dholmes, sspitsyn
2022-03-29 21:18:31 +00:00
Lance Andersen
272d6531ef 8283889: Fix Typo in open/src/java.sql/share/classes/java/sql/package-info.java
Reviewed-by: joehw, iris
2022-03-29 20:39:24 +00:00
Mikael Vidstedt
a9a9b901b4 8283723: Update Visual Studio 2022 to version 17.1.0 for Oracle builds on Windows
Reviewed-by: erikj, ihse
2022-03-29 19:58:53 +00:00
Mandy Chung
489b27d2c0 8282776: Bad NullPointerException message when invoking an interface MethodHandle on a null receiver
Reviewed-by: psandoz
2022-03-29 19:57:53 +00:00
Claes Redestad
072f2c461e 8283782: Redundant verification of year in LocalDate::ofEpochDay
Reviewed-by: rriggs, naoto
2022-03-29 19:48:43 +00:00
Chris Plummer
2fef5d4a33 8281853: serviceability/sa/ClhsdbThreadContext.java failed with NullPointerException: Cannot invoke "sun.jvm.hotspot.gc.shared.GenCollectedHeap.getGen(int)" because "this.heap" is null
Reviewed-by: kevinw, sspitsyn
2022-03-29 18:38:42 +00:00
Chris Plummer
f9f439a19d 8283717: vmTestbase/nsk/jdi/ThreadStartEvent/thread/thread001 failed due to SocketTimeoutException
Reviewed-by: lmesnik, amenkov, sspitsyn
2022-03-29 18:37:27 +00:00
Aleksei Efimov
9591306760 8283772: Make sun.net.dns.ResolverConfiguration sealed
Reviewed-by: jpai, dfuchs
2022-03-29 17:06:20 +00:00
Damon Nguyen
5359387220 8024624: [TEST_BUG] [macosx] CTRL+RIGHT(LEFT) doesn't move selection on next cell in JTable on Aqua L&F
Reviewed-by: kizune, prr, serb
2022-03-29 16:52:37 +00:00
lawrence.andrews
f074775f6c 8281284: Write JSlider accessibility test
Reviewed-by: prr, kizune
2022-03-29 16:48:45 +00:00
Nils Eliasson
fe670ff403 8283692: Add PrintIdealPhase that includes block scheduling
Reviewed-by: kvn, chagedorn
2022-03-29 15:32:52 +00:00
Evgeny Astigeevich
ab17f88f6c 8283626: AArch64: Set relocInfo::offset_unit to 4
Reviewed-by: simonis, aph
2022-03-29 13:48:18 +00:00
Manukumar V S
c3d903a55a 8282936: Write a regression test for JDK-4615365
Reviewed-by: serb
2022-03-29 11:13:26 +00:00
Claes Redestad
cc598e03de 8283774: TestZoneOffset::test_immutable should ignore ZoneOffset::rules
Reviewed-by: rriggs, naoto
2022-03-29 09:38:58 +00:00
Claes Redestad
0e788e0ecb 8283781: Avoid allocating unused lastRulesCaches
Reviewed-by: rriggs, naoto
2022-03-29 09:33:07 +00:00
Alexey Ushakov
043b0a7ffe 8273355: Flickering on tooltip appearance IntelliJ IDEA 2021.2.1
Reviewed-by: serb, aghaisas
2022-03-29 07:57:35 +00:00
Tobias Hartmann
2367228835 8283834: Unmappable character for US-ASCII encoding in TestPredicateInputBelowLoopPredicate
Reviewed-by: chagedorn
2022-03-29 07:21:23 +00:00
Thomas Stuefe
2e9fd56524 8283670: gtest os.release_multi_mappings_vm is still racy
Reviewed-by: mdoerr, dholmes
2022-03-29 07:09:27 +00:00
Ian Graves
f01cce235b 8264160: Regex \b is not consistent with \w without UNICODE_CHARACTER_CLASS
Reviewed-by: lancea, bpb, naoto
2022-03-29 00:01:57 +00:00
Alisen Chung
634800a536 8283806: [BACKOUT] JDK 19 L10n resource files update - msgdrop 10
Reviewed-by: kcr, naoto
2022-03-28 23:37:35 +00:00
Julian Waters
9b49900b58 8283603: Remove redundant qualifier in Windows specific Attach Operation
Reviewed-by: dholmes
2022-03-28 23:30:24 +00:00
Olga Mikhaltsova
d8fd22239b 8282538: PKCS11 tests fail on CentOS Stream 9
Reviewed-by: mullan, xuelei
2022-03-28 19:27:26 +00:00
Andrey Turbanov
d472c01934 8283711: Remove redundant 'new String' calls after concatenation
Reviewed-by: wetmore, vromero, xuelei
2022-03-28 19:13:07 +00:00
Alisen Chung
c0aecd15ae 8280400: JDK 19 L10n resource files update - msgdrop 10
Reviewed-by: naoto, kizune
2022-03-28 18:31:17 +00:00
Roger Riggs
f0282d7def 8279488: ProcessBuilder inherits contextClassLoader when spawning a process reaper thread
Reviewed-by: alanb
2022-03-28 15:44:54 +00:00
Jan Lahoda
a577656772 8282943: Unused weird key in compiler.properties
Reviewed-by: vromero
2022-03-28 14:53:14 +00:00
Michael McMahon
7f2a3ca289 8281561: Disable http DIGEST mechanism with MD5 and SHA-1 by default
Reviewed-by: weijun, dfuchs
2022-03-28 13:51:55 +00:00
Volker Simonis
0c472c8a4f 8283756: (zipfs) ZipFSOutputStreamTest.testOutputStream should only check inflated bytes
Reviewed-by: jpai, alanb, lancea
2022-03-28 13:41:18 +00:00
Zhengyu Gu
d6fa8b004b 8283469: Don't use memset to initialize members in FileMapInfo and fix memory leak
Reviewed-by: iklam, kbarrett
2022-03-28 12:28:18 +00:00
Jaikiran Pai
8567266795 8283683: Make ThreadLocalRandom a final class
Reviewed-by: smarks, chegar
2022-03-28 11:07:14 +00:00
Christoph Langer
f4eaa16c0f 8283728: jdk.hotspot.agent: Wrong location for RISCV64ThreadContext.java
Reviewed-by: fyang, jiefu, dholmes
2022-03-28 09:59:40 +00:00
Christoph Langer
cdef087aae 8283727: P11KeyGenerator has import statement with two semicolons after JDK-8267319
Reviewed-by: mullan
2022-03-28 09:49:05 +00:00
Albert Mingkun Yang
7f125373a7 8283558: Parallel: Pass PSIsAliveClosure to ReferenceProcessor constructor
Reviewed-by: tschatzl, kbarrett
2022-03-28 07:59:52 +00:00
Rickard Bäckman
66f1da1885 8281222: ciTypeFlow::profiled_count fails "assert(0 <= i && i < _len) failed: illegal index"
Reviewed-by: roland, chagedorn, thartmann
2022-03-28 07:34:11 +00:00
Kim Barrett
c2c0cb2a43 8282668: HotSpot Style Guide should permit unrestricted unions
Reviewed-by: dholmes, dcubed, tschatzl, kvn
2022-03-26 21:55:33 +00:00
Kim Barrett
b0daf70a25 8263134: HotSpot Style Guide should disallow inheriting constructors
Reviewed-by: dholmes, dcubed, kvn
2022-03-26 21:46:22 +00:00
Daniel D. Daugherty
c587b29bc9 8283720: ProblemList java/time/test/java/time/TestZoneOffset.java
Reviewed-by: alanb
2022-03-26 13:32:10 +00:00
Tyler Steele
d5f9059032 8283695: [AIX] Build failure due to name conflict in test_arguments.cpp
Reviewed-by: iklam, stuefe
2022-03-26 07:37:42 +00:00
Joe Darcy
f520b4f891 8283668: Update IllegalFormatException to use sealed classes
Reviewed-by: iris, jpai
2022-03-25 23:29:56 +00:00
Jonathan Gibbons
5ca8b91898 8283713: [BACKOUT] Unexpected TypeElement in ANALYZE TaskEvent
Reviewed-by: prr
2022-03-25 23:21:08 +00:00
Claes Redestad
7bac0a878d 8283681: Improve ZonedDateTime offset handling
Reviewed-by: scolebourne, naoto, rriggs
2022-03-25 22:37:55 +00:00
Calvin Cheung
2600f99fec 8282685: fileToEncodedURL_[name|signature] symbols are unused
Reviewed-by: hseigel
2022-03-25 21:31:21 +00:00
Weijun Wang
e97cf157cf 8283691: Classes in java.security still reference deprecated classes in spec
Reviewed-by: hchao, mullan, wetmore
2022-03-25 21:21:05 +00:00
Jonathan Gibbons
cb012a5b62 8283648: Improve the snippet "file not found" message.
Reviewed-by: prappo
2022-03-25 21:20:02 +00:00
Jonathan Gibbons
36b36efa12 8283661: Unexpected TypeElement in ANALYZE TaskEvent
Reviewed-by: vromero, jlahoda
2022-03-25 21:16:51 +00:00
Joe Wang
f4fd53d0ae 8273370: Preferences.exportSubtree() generates invalid XML if value contains control char
Reviewed-by: lancea, naoto
2022-03-25 18:10:45 +00:00
Valerie Peng
3b5dfee939 8283665: Two Jarsigner tests needs to be updated with JDK-8267319
Reviewed-by: xuelei, ascarpino, hchao, weijun
2022-03-25 17:10:59 +00:00
Brent Christian
656cba7af3 8283349: Robustness improvements to java/util/prefs/AddNodeChangeListener.jar
Reviewed-by: dfuchs, naoto, lancea
2022-03-25 17:08:25 +00:00
Phil Race
f8a164915f 8274735: javax.imageio.IIOException: Unsupported Image Type while processing a valid JPEG image
Reviewed-by: kizune, serb
2022-03-25 15:07:44 +00:00
Ivan Walulya
70648a6a15 8283368: G1: Remove G1SegmentedArraySegment MEMFLAGS template parameter
Reviewed-by: tschatzl, ayang
2022-03-25 09:41:20 +00:00
Stefan Karlsson
636225b815 8283607: Rename KlassID to KlassKind
Reviewed-by: dholmes, tschatzl
2022-03-25 08:17:45 +00:00
Prasanta Sadhukhan
6b59760da6 8283608: Refactor 2d, beans classes javadoc to use @throws instead of @exception
Reviewed-by: iris, prr
2022-03-25 05:18:26 +00:00
Valerie Peng
313bc7f64f 8267319: Use larger default key sizes and algorithms based on CNSA
Reviewed-by: weijun, xuelei
2022-03-24 22:50:26 +00:00
Ioi Lam
c1048021fe 8283641: Large value for CompileThresholdScaling causes assert
Reviewed-by: kvn
2022-03-24 21:42:35 +00:00
Andrey Turbanov
dc5a65ab37 8283426: Fix 'exeption' typo
Reviewed-by: xuelei, iris, dholmes, wetmore, aivanov
2022-03-24 19:52:16 +00:00
Joe Darcy
f16244509d 8283416: Update java.lang.invoke.MethodHandle to use sealed classes
Reviewed-by: sundar, mchung
2022-03-24 19:08:23 +00:00
Lance Andersen
90750decb4 8272477: Additional cleanup of test/jdk/java/nio/file/spi/SetDefaultProvider.java
Reviewed-by: bpb
2022-03-24 18:35:13 +00:00
Daniel D. Daugherty
a7e988343c 8283467: runtime/Thread/StopAtExit.java needs updating
Reviewed-by: dholmes, pchilanomate
2022-03-24 17:06:35 +00:00
Brian Burkhalter
b36cf35ad9 8283417: Update java.nio buffers to use sealed classes
Reviewed-by: rriggs, darcy, iris, alanb
2022-03-24 16:11:57 +00:00
Thomas Schatzl
19f01ab701 8283555: G1: Concurrent mark accesses uninitialized BOT of closed archive regions
Reviewed-by: ayang, iwalulya
2022-03-24 14:35:39 +00:00
Aleksei Efimov
929b6a3556 8282917: Remove InetAddressImplFactory from InetAddress
Reviewed-by: dfuchs, jpai
2022-03-24 13:50:50 +00:00
Roland Westrelin
14c20bc0e0 8283187: C2: loop candidate for superword not always unrolled fully if superword fails
Reviewed-by: thartmann, chagedorn
2022-03-24 12:53:44 +00:00
Erik Joelsson
1c4f5fcb88 8283575: Check for GNU time fails for version >1.7
Reviewed-by: shade, ihse
2022-03-24 12:48:12 +00:00
Magnus Ihse Bursie
2c43ecb43f 8283323: libharfbuzz optimization level results in extreme build times
Reviewed-by: erikj, prr
2022-03-24 09:49:33 +00:00
Fei Yang
5905b02c0e 8276799: Implementation of JEP 422: Linux/RISC-V Port
Co-authored-by: Yadong Wang <yadonn.wang@huawei.com>
Co-authored-by: Yanhong Zhu <zhuyanhong2@huawei.com>
Co-authored-by: Feilong Jiang <jiangfeilong@huawei.com>
Co-authored-by: Kun Wang <wangkun49@huawei.com>
Co-authored-by: Zhuxuan Ni <nizhuxuan@huawei.com>
Co-authored-by: Taiping Guo <guotaiping1@huawei.com>
Co-authored-by: Kang He <hekang6@huawei.com>
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Co-authored-by: Xiaolin Zheng <yunyao.zxl@alibaba-inc.com>
Co-authored-by: Kuai Wei <kuaiwei.kw@alibaba-inc.com>
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: ihse, dholmes, rriggs, kvn, shade
2022-03-24 09:22:46 +00:00
Yoshiki Sato
b05d4ccf8e 8283350: (tz) Update Timezone Data to 2022a
Reviewed-by: coffeys
2022-03-24 09:13:25 +00:00
Daniel Jeliński
a35afe84c3 8283519: Hsdis with capstone should annotate output
Reviewed-by: jvernee
2022-03-24 07:53:14 +00:00
Prasanta Sadhukhan
e6f707aa76 8283437: Refactor imageio classes javadoc to use @throws instead of @exception
Reviewed-by: serb
2022-03-24 06:31:12 +00:00
Stefan Karlsson
af18b1111a 8283574: Use Klass::_id for type checks in the C++ code
Reviewed-by: tschatzl, kbarrett
2022-03-24 06:02:09 +00:00
Alex Menkov
5cf580e0fb 8283587: [BACKOUT] Invalid generic signature for redefined classes
Reviewed-by: lmesnik, dcubed, sspitsyn
2022-03-24 04:41:38 +00:00
lawrence.andrews
2ef9767aae 8270331: [TESTBUG] Error: Not a test or directory containing tests: java/awt/print/PrinterJob/InitToBlack.java
Reviewed-by: prr
2022-03-24 02:55:21 +00:00
Pengfei Li
a6740c010b 8283408: Fix a C2 crash when filling arrays with unsafe
Reviewed-by: roland, thartmann
2022-03-24 01:50:04 +00:00
Joe Darcy
1a84d7590a 8283594: Improve docs of ElementScanner classes
Reviewed-by: jjg
2022-03-24 00:57:54 +00:00
Manukumar V S
8a044649bd 8282860: Write a regression test for JDK-4164779
Reviewed-by: serb
2022-03-23 23:46:58 +00:00
Manukumar V S
6917c39e45 8283493: Create an automated regression test for RFE 4231298
Reviewed-by: serb
2022-03-23 23:42:39 +00:00
Naoto Sato
0ee65e1ff3 8283465: Character.UnicodeBlock.NUM_ENTITIES is out of date
Reviewed-by: bpb, iris, smarks
2022-03-23 19:44:04 +00:00
Andrey Turbanov
f9137cb7b7 8280896: java/nio/file/Files/probeContentType/Basic.java fails on Windows 11
Reviewed-by: jpai, bpb
2022-03-23 19:27:56 +00:00
Daniel D. Daugherty
0b11b576a2 8283222: improve diagnosability of runtime/8176717/TestInheritFD.java timeouts
Reviewed-by: dholmes, hseigel
2022-03-23 19:18:57 +00:00
Sean Mullan
138460c004 8163327: Remove 3DES from the default enabled cipher suites list
Reviewed-by: xuelei
2022-03-23 18:32:55 +00:00
Alex Menkov
f01773956f 8282241: Invalid generic signature for redefined classes
Reviewed-by: coleenp, sspitsyn
2022-03-23 18:31:34 +00:00
liach
3e73a0b726 8283237: CallSite should be a sealed class
Reviewed-by: jkuhn, mchung
2022-03-23 16:43:06 +00:00
Severin Gehwolf
a77160065b 8283279: [Testbug] Improve TestGetSwapSpaceSize
Reviewed-by: jiefu
2022-03-23 15:00:05 +00:00
Aleksei Efimov
2b291d837e 8282536: java.net.InetAddress should be a sealed class
Reviewed-by: dfuchs, jpai, rriggs, michaelm
2022-03-23 14:57:36 +00:00
Albert Mingkun Yang
dc45b0ac58 8283513: Parallel: Skip the card marking in PSRootsClosure
Reviewed-by: tschatzl, iwalulya
2022-03-23 14:09:01 +00:00
Thomas Stuefe
78ef2fdef6 8283562: JDK-8282306 breaks gtests on zero
Reviewed-by: shade
2022-03-23 12:55:28 +00:00
Kevin Walls
61d7d868db 8283254: Remove redundant class jdk/internal/agent/spi/AgentProvider
Reviewed-by: mchung, redestad, dfuchs
2022-03-23 11:03:25 +00:00
Vicente Romero
6ed0ba2f8a 8283543: indentation error at com.sun.tools.javac.comp.Enter::visitTopLevel
Reviewed-by: darcy, iris
2022-03-23 10:34:09 +00:00
Jaikiran Pai
91fab6ad59 8283411: InflaterInputStream holds on to a temporary byte array of 512 bytes
Reviewed-by: lancea, vtewari, alanb
2022-03-23 09:47:44 +00:00
Quan Anh Mai
d8c55725e0 8282204: Use lea instructions for arithmetic operations on x86_64
Reviewed-by: jiefu, sviswanathan, thartmann
2022-03-23 09:45:23 +00:00
Jie Fu
026b85303c 8283298: Make CodeCacheSegmentSize a product flag
Reviewed-by: dlong, kvn
2022-03-23 08:48:17 +00:00
Thomas Stuefe
58487ddc17 8283249: CompressedClassPointers.java fails on ppc with 'Narrow klass shift: 0' missing
Reviewed-by: iklam
2022-03-23 06:46:55 +00:00
Sibabrata Sahoo
86015e15a5 8282293: Domain value for system property jdk.https.negotiate.cbt should be case-insensitive
Reviewed-by: weijun, rhalade
2022-03-23 06:45:37 +00:00
Aleksey Shipilev
1443f6b919 8283199: Linux os::cpu_microcode_revision() stalls cold startup
Reviewed-by: dholmes, redestad, stuefe
2022-03-23 06:31:36 +00:00
Aleksey Shipilev
82e1a1cf8b 8283257: x86: Clean up invocation/branch counter updates code
Reviewed-by: redestad, kvn
2022-03-23 06:30:19 +00:00
Thomas Stuefe
b035fda459 8283497: [windows] print TMP and TEMP in hs_err and VM.info
Reviewed-by: ysuenaga, dholmes
2022-03-23 06:06:51 +00:00
Ichiroh Takiguchi
6ea996c205 8282422: JTable.print() failed with UnsupportedCharsetException on AIX ko_KR locale
Reviewed-by: prr, serb
2022-03-23 01:39:20 +00:00
David Holmes
8cc1235029 8282952: Thread::exit should be immune to Thread.stop
Reviewed-by: dcubed, pchilanomate, alanb
2022-03-23 00:06:53 +00:00
Phil Race
33eb89dfeb 8283457: [macos] libpng build failures with Xcode13.3
Reviewed-by: erikj
2022-03-22 21:48:42 +00:00
Joe Darcy
f7d21c3523 8283480: Make AbstractStringBuilder sealed
Reviewed-by: jjg, rriggs, jlaskey, dfuchs
2022-03-22 16:26:23 +00:00
Emanuel Peter
d29c7e740d 8282590: C2: assert(addp->is_AddP() && addp->outcnt() > 0) failed: Don't process dead nodes
Reviewed-by: thartmann, chagedorn
2022-03-22 16:23:23 +00:00
Jim Laskey
557ff4b355 8282625: Formatter caches Locale/DecimalFormatSymbols poorly
Reviewed-by: naoto, rriggs, jpai
2022-03-22 15:32:46 +00:00
Roland Westrelin
fabde3b7b8 8283451: C2: assert(_base == Long) failed: Not a Long
Reviewed-by: thartmann, chagedorn
2022-03-22 14:06:49 +00:00
Zhengyu Gu
c0f984e5fb 8283456: Make CompiledICHolder::live_count/live_not_claimed_count debug only
Reviewed-by: dholmes
2022-03-22 13:30:26 +00:00
Roland Westrelin
85628a871d 8282592: C2: assert(false) failed: graph should be schedulable
Reviewed-by: chagedorn, thartmann
2022-03-22 10:34:33 +00:00
Srinivas Mandalika
a6fd0b21dd 8283087: Create a test or JDK-4715503
Reviewed-by: serb
2022-03-22 09:20:12 +00:00
Kevin Walls
37fc77ef60 8283092: JMX subclass permission check redundant with strong encapsulation
Reviewed-by: dfuchs, mchung
2022-03-22 07:54:41 +00:00
Manukumar V S
849b19523a 8282937: Write a regression test for JDK-4820080
Reviewed-by: serb
2022-03-22 01:28:06 +00:00
David Holmes
81d63734bc 8282469: Allow considered use of C++ thread_local in Hotspot
Reviewed-by: kbarrett, dcubed
2022-03-22 01:20:31 +00:00
David Holmes
f3dc0c88ea 8282721: HotSpot Style Guide should allow considered use of C++ thread_local
Reviewed-by: kbarrett, jrose, dcubed, stuefe, mdoerr, kvn
2022-03-22 01:12:29 +00:00
Magnus Ihse Bursie
f8878cb0cc 8257733: Move module-specific data from make to respective module
Reviewed-by: jjg, weijun, naoto, erikj, prr, alanb, mchung
2022-03-21 21:34:09 +00:00
Joe Darcy
14b9e80b8a 8283415: Update java.lang.ref to use sealed classes
Reviewed-by: kbarrett, alanb
2022-03-21 16:57:17 +00:00
Albert Mingkun Yang
f4f87284cb 8283097: Parallel: Move filler object logic inside PSPromotionLAB::unallocate_object
Reviewed-by: tschatzl, iwalulya
2022-03-21 16:21:30 +00:00
Albert Mingkun Yang
19d34bdf99 8281879: Serial: Merge CardGeneration into TenuredGeneration
Reviewed-by: tschatzl, iwalulya
2022-03-21 16:20:20 +00:00
Johannes Bechberger
999da9bfc5 8282306: os::is_first_C_frame(frame*) crashes on invalid link access
Reviewed-by: stuefe, mdoerr
2022-03-21 15:49:59 +00:00
Naoto Sato
c4dc58e12e 8283277: ISO 4217 Amendment 171 Update
Reviewed-by: iris, joehw
2022-03-21 15:33:09 +00:00
Zhengyu Gu
cb576da575 8283379: Memory leak in FileHeaderHelper
Reviewed-by: dholmes, iklam, stuefe
2022-03-21 12:28:17 +00:00
Zhengyu Gu
909986c7e1 8283217: Leak FcObjectSet in getFontConfigLocations() in fontpath.c
Reviewed-by: prr, aivanov
2022-03-21 12:26:58 +00:00
Thomas Schatzl
b617f1db4e 8283447: Remove unused LIR_Assembler::_bs
Reviewed-by: redestad
2022-03-21 11:30:26 +00:00
Thomas Schatzl
eb4849e561 8283327: Add methods to save/restore registers when calling into the VM from C1/interpreter barrier code
Reviewed-by: eosterlund, dlong
2022-03-21 10:42:38 +00:00
Albert Mingkun Yang
fd9301514e 8283332: G1: Stricter assertion in G1BlockOffsetTablePart::forward_to_block_containing_addr
Reviewed-by: kbarrett, iwalulya
2022-03-21 08:40:14 +00:00
Albert Mingkun Yang
ec62d90db2 8283365: G1: Remove duplicate assertions in HeapRegion::oops_on_memregion_seq_iterate_careful
Reviewed-by: kbarrett, tschatzl
2022-03-21 08:39:17 +00:00
Thomas Schatzl
e709cb05dc 8283186: Explicitly pass a third temp register to MacroAssembler::store_heap_oop
Reviewed-by: eosterlund
2022-03-21 08:25:33 +00:00
Manukumar V S
83a1c90433 8282789: Create a regression test for the JTree usecase of JDK-4618767
Reviewed-by: aivanov
2022-03-21 07:36:21 +00:00
Manukumar V S
b451273d20 8282548: Create a regression test for JDK-4330998
Reviewed-by: aivanov
2022-03-21 07:33:20 +00:00
Maxim Kartashev
8a2d5ab07e 8282270: java/awt/Robot Screen Capture tests fail after 8280861
Reviewed-by: aivanov
2022-03-21 07:21:00 +00:00
Xue-Lei Andrew Fan
4df67426ed 8282723: Add constructors taking a cause to JSSE exceptions
Reviewed-by: wetmore, iris
2022-03-20 06:46:13 +00:00
Daniel D. Daugherty
3f923b82c3 8282704: runtime/Thread/StopAtExit.java may leak memory
Reviewed-by: dholmes, alanb
2022-03-19 13:43:06 +00:00
Andrey Turbanov
80415e04c5 8282534: Remove redundant null check in ChaCha20Cipher.engineInit
Reviewed-by: xuelei
2022-03-19 13:31:50 +00:00
Andrey Turbanov
e8caf84fb9 8282574: Cleanup unnecessary calls to Throwable.initCause() in jdk.compiler
Reviewed-by: darcy
2022-03-19 13:29:49 +00:00
Jie Fu
10ccfffae1 8283352: [CDS] SharedBaseAddress.java fails on x86_32
Reviewed-by: dholmes, iklam, stuefe
2022-03-19 07:08:47 +00:00
Tyler Steele
3e58a438e9 8283287: ClassLoader.c cleanups
Reviewed-by: stuefe, alanb, rriggs
2022-03-19 07:06:47 +00:00
Ichiroh Takiguchi
0c3094c818 8204541: Correctly support AIX xlC 16.1 symbol visibility flags
Reviewed-by: ihse, stuefe
2022-03-19 04:43:20 +00:00
Mikael Vidstedt
8384ac4ed3 8283057: Update GCC to version 11.2 for Oracle builds on Linux
Reviewed-by: erikj
2022-03-18 22:01:27 +00:00
Mikael Vidstedt
d8893fad23 8283059: Uninitialized warning in check_code.c with GCC 11.2
Reviewed-by: dholmes
2022-03-18 20:28:39 +00:00
Ravi Reddy
ff0b0927a2 8278794: Infinite loop in DeflaterOutputStream.finish()
Reviewed-by: coffeys, lancea
2022-03-18 15:31:30 +00:00
Erik Gahlin
b2aa085e67 8283378: JFR: Checkpoint classes not renamed properly
Reviewed-by: dcubed
2022-03-18 14:54:56 +00:00
Andrew Leonard
85cc6f1440 8283315: jrt-fs.jar not always deterministically built
Reviewed-by: ihse
2022-03-18 13:40:35 +00:00
Erik Gahlin
c72bcfc1b2 8283289: JFR: Rename CheckPoint
Reviewed-by: mgronlun
2022-03-18 13:27:49 +00:00
Erik Gahlin
4b5079b983 8283202: Potential off-read when checking JFR's status in awaitFinished
Reviewed-by: mgronlun
2022-03-18 13:18:38 +00:00
Jie Fu
b96cb048f1 8283353: compiler/c2/cr6865031/Test.java and compiler/runtime/Test6826736.java fails on x86_32
Reviewed-by: chagedorn
2022-03-18 07:58:58 +00:00
Tyler Steele
cab4ff6454 8283225: ClassLoader.c produces incorrect OutOfMemory Exception when length is 0 (aix)
Reviewed-by: stuefe, rriggs, dholmes
2022-03-18 07:02:26 +00:00
Alexander Matveev
d83cee98b5 8282407: Missing ')' in MacResources.properties
Reviewed-by: naoto
2022-03-18 03:14:32 +00:00
Claes Redestad
002e366744 8283325: US_ASCII decoder relies on String.decodeASCII being exhaustive
Reviewed-by: rriggs, dcubed
2022-03-17 21:15:36 +00:00
Ioi Lam
b004fb0550 8282773: Refactor parsing of integer VM options
Reviewed-by: dholmes, kbarrett
2022-03-17 17:50:20 +00:00
Joe Darcy
5ef1990d6c 8283274: Improve @jvms usage in java.base
Reviewed-by: iris
2022-03-17 16:37:20 +00:00
Albert Mingkun Yang
31df6a60a8 8283188: Build time regression caused by JDK-8278917
Reviewed-by: kbarrett, tschatzl
2022-03-17 16:17:18 +00:00
Julian Waters
0f1766dff6 8283320: Error message for Windows libraries always points to --with-msvcr-dll no matter the actual file name
Reviewed-by: erikj, ihse
2022-03-17 15:30:17 +00:00
Doug Simon
69e4e338b1 8283056: show abstract machine code in hs-err for all VM crashes
Reviewed-by: thartmann, dholmes
2022-03-17 12:51:10 +00:00
Albert Mingkun Yang
bad658e8e9 8282727: Parallel: Remove PSPromotionManager::_totally_drain
Reviewed-by: tschatzl, kbarrett
2022-03-17 09:47:51 +00:00
Claes Redestad
beedae1141 8281146: Replace StringCoding.hasNegatives with countPositives
Co-authored-by: Lutz Schmidt <lucy@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: kvn, lucy, rriggs
2022-03-17 09:20:24 +00:00
Prasanta Sadhukhan
249d553659 8282602: Refactor awt classes javadoc to use @throws instead of @exception
Reviewed-by: aivanov, prr
2022-03-17 09:15:54 +00:00
Prasanta Sadhukhan
096bca4a9c 8282473: Refactor swing classes javadoc to use @throws instead of @exception
Reviewed-by: aivanov, dmarkov, prr
2022-03-17 09:10:08 +00:00
Ivan Walulya
a5ebcc0c04 8282072: G1: Rename CardSetPtr to CardSetContainerPtr
Reviewed-by: ayang, tschatzl
2022-03-17 08:54:29 +00:00
Jie Fu
3da5204b3c 8283229: compiler/arguments/TestCodeEntryAlignment.java fails with release VMs
Reviewed-by: dlong
2022-03-17 00:05:57 +00:00
XenoAmess
3e393047e1 8281631: HashMap copy constructor and putAll can over-allocate table
Reviewed-by: smarks
2022-03-16 16:48:49 +00:00
Joe Darcy
0cf291bc31 8283234: Improve @jls usage in java.base
Reviewed-by: iris
2022-03-16 16:17:50 +00:00
Magnus Ihse Bursie
9b8afce379 8283260: gcc is not supported on mac
Reviewed-by: erikj
2022-03-16 16:07:32 +00:00
Swati Sharma
08cadb4754 8271195: Use largest available large page size smaller than LargePageSizeInBytes when available
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: ayang, tschatzl
2022-03-16 09:48:09 +00:00
Ioi Lam
de4f04cb71 8253495: CDS generates non-deterministic output
Reviewed-by: erikj, kbarrett, ccheung, ihse
2022-03-16 03:12:48 +00:00
Joe Darcy
4df24c5df3 8283230: Improve @jls usage in ElementType
Reviewed-by: jjg, iris
2022-03-16 02:02:10 +00:00
Toshio Nakamura
27fe3d7f8d 8240756: [macos] SwingSet2:TableDemo:Printed Japanese characters were garbled
Reviewed-by: prr, serb
2022-03-16 01:11:40 +00:00
Quan Anh Mai
bacfaa3ee1 8282414: x86: Enhance the assembler to generate more compact instructions
Reviewed-by: thartmann, sviswanathan
2022-03-16 01:10:22 +00:00
Dean Long
1465ea98b7 8282355: compiler/arguments/TestCodeEntryAlignment.java failed "guarantee(sect->end() <= tend) failed: sanity"
Reviewed-by: jiefu, thartmann, shade
2022-03-15 20:17:36 +00:00
Man Cao
ac06bdb123 8282507: Add a separate license file for hsdis
Reviewed-by: ihse
2022-03-15 20:05:33 +00:00
Joe Darcy
32f8437d85 8283075: Bad IllegalArgumentException message for out of range rank from ClassDesc.arrayType(int)
Reviewed-by: vromero, alanb
2022-03-15 17:33:45 +00:00
Tobias Hartmann
12dca36c73 8283189: Bad copyright header in UnsafeCopyMemory.java
Reviewed-by: chagedorn, dcubed
2022-03-15 16:28:54 +00:00
Joe Darcy
05a83e03ca 8283124: Add constant for tau to Math and StrictMath
Reviewed-by: bpb, iris
2022-03-15 16:22:11 +00:00
Joe Darcy
671b6efd61 8283143: Use minimal-length literals to initialize PI and E constants
Reviewed-by: smarks
2022-03-15 16:05:37 +00:00
Hai-May Chao
f43ffe211f 8282633: jarsigner output does not explain why an EC key is disabled if its curve has been disabled
Reviewed-by: weijun
2022-03-15 15:54:47 +00:00
Tyler Steele
4de72014d3 8283122: [AIX, s390] UnsafeCopyMemory 'Mismatched' Tests Fail on Big Endian Systems
Reviewed-by: thartmann, stuefe
2022-03-15 14:52:27 +00:00
Zhengyu Gu
2cddf3f539 8282887: Potential memory leak in sun.util.locale.provider.HostLocaleProviderAdapterImpl.getNumberPattern() on Windows
Reviewed-by: naoto, alanb
2022-03-15 14:16:35 +00:00
Daniel Fuchs
710653ce18 8254786: java/net/httpclient/CancelRequestTest.java failing intermittently
Reviewed-by: jpai, michaelm
2022-03-15 12:59:54 +00:00
Dean Long
34d4ffcea5 8279317: compiler/jvmci/compilerToVM/DisassembleCodeBlobTest.java assumes immutable code
Reviewed-by: dnsimon, iveresov
2022-03-15 07:24:50 +00:00
Hannes Wallnöfer
6013d09e82 8268866: Javascript when used in an iframe cannot display search results
Reviewed-by: jjg
2022-03-14 20:29:15 +00:00
Hannes Wallnöfer
5ba5e21fd2 8282214: Upgrade JQuery to version 3.6.0
Reviewed-by: jjg
2022-03-14 20:28:07 +00:00
Mikael Vidstedt
a244051a8c 8283062: Uninitialized warnings in libgtest with GCC 11.2
Reviewed-by: jiefu, erikj
2022-03-14 18:37:41 +00:00
Chris Plummer
5bf6a7f7d7 8282691: add jdb "-R" option for passing any argument to the launched debuggee process
Reviewed-by: alanb, kevinw
2022-03-14 18:15:40 +00:00
Phil Race
f66070b00d 8282577: ICC_Profile.setData(int, byte[]) invalidates the profile
Reviewed-by: serb
2022-03-14 18:05:38 +00:00
Carter Kozak
70bd57ed35 8283049: Fix non-singleton LoggerFinder error message: s/on/one
Reviewed-by: dfuchs
2022-03-14 17:54:19 +00:00
Emanuel Peter
7833667f0e 8282881: Print exception message in VM crash with -XX:AbortVMOnException
Reviewed-by: dholmes, hseigel
2022-03-14 17:35:09 +00:00
Naoto Sato
c96085eaab 8282929: Localized monetary symbols are not reflected in toLocalizedPattern return value
Reviewed-by: joehw, lancea
2022-03-14 16:28:15 +00:00
Brian Burkhalter
13cebffe61 8058924: FileReader(String) documentation is insufficient
Reviewed-by: naoto, lancea
2022-03-14 16:10:15 +00:00
Zdenek Zambersky
08573cc3b2 8282529: Fix API Note in javadoc for javax.net.ssl.SSLSocket
Reviewed-by: wetmore, xuelei
2022-03-14 14:21:58 +00:00
Roland Westrelin
ea9eeea8ff 8281322: C2: always construct strip mined loop initially (even if strip mining is disabled)
Reviewed-by: chagedorn, thartmann
2022-03-14 13:59:13 +00:00
Ahmed Muhsin
5f3d4032f3 8272735: Add missing SubL node transformations
Reviewed-by: thartmann, chagedorn
2022-03-14 09:05:53 +00:00
Aleksey Shipilev
01570ca92d 8283017: GHA: Workflows break with update release versions
Reviewed-by: erikj, ihse
2022-03-14 09:03:05 +00:00
Thomas Schatzl
c0e3d107f6 8283008: KRegister documentation out of date
Reviewed-by: dlong, sviswanathan, jiefu, jbhateja
2022-03-14 09:02:12 +00:00
Jatin Bhateja
fde3149896 8281375: Accelerate bitCount operation for AVX2 and AVX512 target.
Reviewed-by: sviswanathan, thartmann
2022-03-14 07:11:23 +00:00
Jaikiran Pai
3cf83a671e 8282572: EnumSet should be a sealed class
Reviewed-by: sundar
2022-03-14 03:17:57 +00:00
Joshua Zhu
5c408c1410 8282874: Bad performance on gather/scatter API caused by different IntSpecies of indexMap
Reviewed-by: psandoz
2022-03-12 04:04:28 +00:00
Pavel Rappo
374193b6d2 8283041: [javadoc] Crashes using {@return} with @param
Reviewed-by: jjg
2022-03-11 22:41:47 +00:00
Zhengyu Gu
0fd09d383b 8282978: Wrong parameter passed to GetStringXXXChars in various places
Reviewed-by: alanb, dfuchs
2022-03-11 13:25:09 +00:00
Mahendra Chhipa
95ca94436d 8282354: Remove dependancy of TestHttpServer, HttpTransaction, HttpCallback from open/test/jdk/ tests
Reviewed-by: dfuchs
2022-03-11 10:48:57 +00:00
Christian Stein
f99193ae3f 8282811: Typo in IAE details message of RecordedObject.getValueDescriptor
Reviewed-by: egahlin
2022-03-11 09:58:22 +00:00
Julian Waters
cab9def1c1 8282700: Properly handle several --without options during configure
Reviewed-by: ihse
2022-03-11 09:12:19 +00:00
Ivan Walulya
1a5a496aee 8282763: G1: G1CardSetContainer remove intrusive-list details.
Reviewed-by: tschatzl, kbarrett, ayang
2022-03-11 08:43:04 +00:00
Yi Yang
88f0938c94 8272493: Suboptimal code generation around Preconditions.checkIndex intrinsic with AVX2
Reviewed-by: redestad, thartmann
2022-03-11 02:28:07 +00:00
Yi Yang
a5a1a32db6 8282883: Use JVM_LEAF to avoid ThreadStateTransition for some simple JVM entries
Reviewed-by: dholmes, shade
2022-03-11 02:27:01 +00:00
Daniel D. Daugherty
bb7ee5a04a 8282314: nsk/jvmti/SuspendThread/suspendthrd003 may leak memory
Reviewed-by: dholmes, cjplummer, amenkov, lmesnik, mseledtsov
2022-03-10 19:13:55 +00:00
Chris Plummer
f5217b475e 8282852: Debug agent asserts in classTrack_addPreparedClass()
Reviewed-by: amenkov, lmesnik
2022-03-10 19:08:10 +00:00
Aleksey Shipilev
7b91bbba82 8282170: JVMTI SetBreakpoint metaspace allocation test
Reviewed-by: cjplummer, lmesnik
2022-03-10 18:53:59 +00:00
Brian Burkhalter
b13cacc575 8254574: PrintWriter handling of InterruptedIOException should be removed
Reviewed-by: alanb
2022-03-10 18:25:53 +00:00
John Jiang
1f295239b9 8282932: a space is needed for the unsupported protocol exception message in ProtocolVersion
Reviewed-by: xuelei, mullan
2022-03-10 18:25:06 +00:00
Zhengyu Gu
879b6445e3 8282897: Fix call parameter to GetStringChars() in HostLocaleProviderAdapter_md.c
Reviewed-by: shade, naoto
2022-03-10 18:23:41 +00:00
Brian Burkhalter
fdce97df5f 8267820: (fs) Files.copy should attempt to copy POSIX attributes when target file in custom file system
Reviewed-by: lancea, alanb
2022-03-10 17:36:51 +00:00
Brian Burkhalter
e8a1ce00b2 8280881: (fs) UnixNativeDispatcher.close0 may throw UnixException
Reviewed-by: alanb
2022-03-10 16:38:44 +00:00
Anton Litvinov
1668c02ee8 8277922: Unable to click JCheckBox in JTable through Java Access Bridge
Reviewed-by: aivanov, serb
2022-03-10 16:37:55 +00:00
Alex Blewitt
2674799005 8282878: Removed _JavaThread from PhaseTraceTime
Reviewed-by: shade, thartmann
2022-03-10 15:27:29 +00:00
Tyler Steele
7c8ea9f05b 8282509: [exploded image] ResolvedClassTest fails with similar output
Reviewed-by: mdoerr, dlong
2022-03-10 15:09:19 +00:00
Magnus Ihse Bursie
9c88c5bb63 8282948: JDK-8274980 missed correct handling of MACOSX_BUNDLE_BUILD_VERSION
Reviewed-by: erikj
2022-03-10 13:50:05 +00:00
Thomas Schatzl
83d7718690 8282893: Remove MacroAssembler::push/pop_callee_saved_registers
Reviewed-by: redestad
2022-03-10 11:28:29 +00:00
Prasanta Sadhukhan
6a3a7b94a4 6218162: DefaultTableColumnModel.getColumn() method should mention ArrayIndexOutOfBoundsException
Reviewed-by: aivanov, prr
2022-03-10 09:26:36 +00:00
Prasanta Sadhukhan
5b78a82e9d 7017094: ParsedSynthStyle: parameter name "direction" should be changed to "tabIndex"
Reviewed-by: jdv, aivanov, prr
2022-03-10 09:22:21 +00:00
Rajat Mahajan
8aba4de984 8249592: Robot.mouseMove moves cursor to incorrect location when display scale varies and Java runs in DPI Unaware mode
Reviewed-by: serb, aivanov
2022-03-10 05:09:29 +00:00
Chris Plummer
ff76620487 8282641: Make jdb "threadgroup" command with no args reset the current threadgroup back to the default
Reviewed-by: kevinw, amenkov
2022-03-09 19:42:47 +00:00
Weijun Wang
70318e1d17 8282884: Provide OID aliases for MD2, MD5, and OAEP
Reviewed-by: xuelei
2022-03-09 16:47:03 +00:00
Xue-Lei Andrew Fan
6d8d156c97 8280494: (D)TLS signature schemes
Reviewed-by: mullan
2022-03-09 16:11:07 +00:00
Zhengyu Gu
5df2a05770 8282628: Potential memory leak in sun.font.FontConfigManager.getFontConfig()
Reviewed-by: stuefe, dholmes, aivanov
2022-03-09 13:27:11 +00:00
Emanuel Peter
d07f7c76c5 8282665: [REDO] ByteBufferTest.java: replace endless recursion with RuntimeException in void ck(double x, double y)
Reviewed-by: psandoz, thartmann
2022-03-09 08:59:37 +00:00
Tim Prinzing
31ad80a229 8280902: ResourceBundle::getBundle may throw NPE when invoked by JNI code with no caller frame
Reviewed-by: naoto, mchung, ihse
2022-03-09 04:02:17 +00:00
Xiaohong Gong
12693a6cf3 8282432: Optimize masked "test" Vector API with predicate feature
Reviewed-by: psandoz
2022-03-09 01:02:25 +00:00
Hao Sun
49245131e9 8265263: AArch64: Combine vneg with right shift count
Reviewed-by: adinn, dlong
2022-03-09 00:52:01 +00:00
Rajan Halade
ea19114e66 8282832: Update file path for HostnameMatcher/cert5.crt in test sun/security/util/Pem/encoding.sh
Reviewed-by: mullan
2022-03-08 20:34:02 +00:00
Sean Mullan
72e987e3b4 7192189: Support endpoint identification algorithm in RFC 6125
Reviewed-by: xuelei, rhalade
2022-03-08 18:18:57 +00:00
Xin Liu
288d1afc5a 8282715: typo compileony in test Test8005033.java
Reviewed-by: jiefu, dholmes, thartmann
2022-03-08 17:33:15 +00:00
Manukumar V S
6b34884b34 8282234: Create a regression test for JDK-4532513
Reviewed-by: aivanov
2022-03-08 17:01:03 +00:00
Ian Graves
3fc009be8a 8281560: Matcher.hitEnd returns unexpected results in presence of CANON_EQ flag.
Reviewed-by: rriggs, lancea
2022-03-08 16:32:18 +00:00
Daniel Jeliński
2549e55038 8275640: (win) java.net.NetworkInterface issues with IPv6-only environments
Reviewed-by: msheppar, dfuchs
2022-03-08 16:15:24 +00:00
Coleen Phillimore
3e4dfc63e7 8282295: SymbolPropertyEntry::set_method_type fails with assert
Reviewed-by: hseigel
2022-03-08 16:10:26 +00:00
Foivos Zakkak
0cbc4b85bf 8281266: [JVMCI] MetaUtil.toInternalName() doesn't handle hidden classes correctly
Reviewed-by: sgehwolf, dnsimon
2022-03-08 15:35:55 +00:00
Magnus Ihse Bursie
0f88fc180c 8282769: BSD date cannot handle all ISO 8601 formats
Reviewed-by: erikj
2022-03-08 14:04:59 +00:00
Magnus Ihse Bursie
c6d743fb92 8282770: Set source date in jib profiles from buildId
Reviewed-by: erikj
2022-03-08 13:57:59 +00:00
Jim Laskey
5fab27e1b8 8282144: RandomSupport.convertSeedBytesToLongs sign extension overwrites previous bytes
Reviewed-by: bpb
2022-03-08 13:25:34 +00:00
Markus Grönlund
65ca0a5776 8276333: jdk/jfr/event/oldobject/TestLargeRootSet.java failed "assert(!contains(edge->reference())) failed: invariant"
Reviewed-by: egahlin
2022-03-08 09:28:46 +00:00
Albert Mingkun Yang
e607287204 8282728: Serial: Remove unused BlockOffsetArray::Action
Reviewed-by: tschatzl
2022-03-08 08:24:10 +00:00
Jamil Nimeh
8b45dbdae6 8282312: Minor corrections to evbroadcasti32x4 intrinsic on x86
Reviewed-by: dlong
2022-03-08 05:50:41 +00:00
Yi Yang
3f0684d0b8 8275775: Add jcmd VM.classes to print details of all classes
Reviewed-by: dholmes, iklam, stuefe
2022-03-08 03:14:21 +00:00
Ioi Lam
cde923dd47 8282690: runtime/CommandLine/VMDeprecatedOptions.java fails after JDK-8281181
Reviewed-by: dholmes, dcubed
2022-03-08 00:19:07 +00:00
Andrey Turbanov
50eb915a74 8282632: Cleanup unnecessary calls to Throwable.initCause() in java.security.jgss
Reviewed-by: mullan, rhalade
2022-03-07 22:00:11 +00:00
Matteo Baccan
ccad39237a 8282657: Code cleanup: removing double semicolons at the end of lines
Reviewed-by: lancea, rriggs, ihse, prr, iris, wetmore, darcy, dholmes
2022-03-07 21:33:40 +00:00
Magnus Ihse Bursie
5d5bf16b0a 8282567: Improve source-date handling in build system
Reviewed-by: erikj, sgehwolf
2022-03-07 19:40:34 +00:00
Ravi Reddy
3996782c5a 8281093: Violating Attribute-Value Normalization in the XML specification 1.0
Reviewed-by: joehw
2022-03-07 19:36:54 +00:00
Kim Barrett
2e298b8bf4 8272691: Fix HotSpot style guide terminology for "non-local variables"
Reviewed-by: dcubed, dholmes
2022-03-07 18:20:01 +00:00
Kim Barrett
5953b229bf 8257589: HotSpot Style Guide should link to rfc7282
Reviewed-by: dcubed, dholmes
2022-03-07 18:12:14 +00:00
Joe Darcy
1faa5c8092 8282686: Add constructors taking a cause to SocketException
Reviewed-by: alanb, xuelei, lancea, dfuchs
2022-03-07 17:52:04 +00:00
Kim Barrett
7194097bca 8252577: HotSpot Style Guide should link to One-True-Brace-Style description
Reviewed-by: stuefe, dcubed, dholmes
2022-03-07 17:35:21 +00:00
Roland Westrelin
ef266d77b6 8278296: Generalize long range check transformation
Reviewed-by: jrose, thartmann
2022-03-07 16:26:19 +00:00
Lance Andersen
f0995abe62 8280404: Unexpected exception thrown when CEN file entry comment length is not valid
Reviewed-by: alanb
2022-03-07 16:10:31 +00:00
Aleksey Shipilev
8e70f4c3dc 8282224: Correct TIG::bang_stack_shadow_pages comments
Reviewed-by: coleenp
2022-03-07 15:23:10 +00:00
Ivan Walulya
e544e354a4 8282621: G1: G1SegmentedArray remove unnecessary template parameter
Reviewed-by: kbarrett, tschatzl
2022-03-07 15:05:42 +00:00
Joe Darcy
104e3cb24b 8282696: Add constructors taking a cause to InvalidObjectException and InvalidClassException
Reviewed-by: lancea
2022-03-07 14:47:52 +00:00
Thomas Schatzl
6fc73f709b 8282620: G1/Parallel: Constify is_in_young() predicates
Reviewed-by: iwalulya, ayang
2022-03-07 13:52:19 +00:00
Masanori Yano
894ffb098c 8282713: Invalid copyright notice in new test added by JDK-8275715
Reviewed-by: dholmes
2022-03-07 01:33:41 +00:00
Masanori Yano
415bf44191 8275715: D3D pipeline processes multiple PaintEvent at initial drawing
Reviewed-by: prr
2022-03-06 23:53:50 +00:00
Jaikiran Pai
974ef5542f 8282617: sun.net.www.protocol.https.HttpsClient#putInKeepAliveCache() doesn't use a lock while dealing with "inCache" field
Reviewed-by: dfuchs, michaelm
2022-03-06 08:16:39 +00:00
Thomas Stuefe
bc42e7cbbf 8282382: Report glibc malloc tunables in error reports
Reviewed-by: zgu, dholmes
2022-03-05 06:37:39 +00:00
Mikael Vidstedt
52278b80c4 8282694: ProblemList runtime/CommandLine/VMDeprecatedOptions.java
Reviewed-by: jjg
2022-03-05 01:36:02 +00:00
wanghaomin
c459f8f406 8282142: [TestCase] compiler/inlining/ResolvedClassTest.java will fail when --with-jvm-features=-compiler1
Reviewed-by: jiefu, kvn
2022-03-05 00:01:49 +00:00
TejeshR13
bae0d5e717 8236907: JTable added to nested panels does not paint last visible row
Reviewed-by: psadhukhan, prr
2022-03-04 22:50:32 +00:00
Jonathan Gibbons
b0028a459c 8272853: improve JavadocTester.runTests
Reviewed-by: hannesw
2022-03-04 21:01:52 +00:00
Ioi Lam
e07fd395bd 8281181: Do not use CPU Shares to compute active processor count
Reviewed-by: dholmes, sgehwolf
2022-03-04 20:14:11 +00:00
Damon Nguyen
9c817d3880 8015854: [macosx] JButton's HTML ImageView adding unwanted padding
Reviewed-by: psadhukhan, aivanov
2022-03-04 19:26:12 +00:00
Naoto Sato
733c7907b0 8282081: java.time.DateTimeFormatter: wrong definition of symbol F
Reviewed-by: joehw, scolebourne, lancea, rriggs
2022-03-04 16:57:54 +00:00
Magnus Ihse Bursie
f9f9c0a855 8252769: Warn in configure if git config autocrlf has invalid value
Reviewed-by: erikj
2022-03-04 16:32:58 +00:00
Emanuel Peter
603050bfe0 8282661: [BACKOUT] ByteBufferTest.java: replace endless recursion with RuntimeException in void ck(double x, double y)
Reviewed-by: chagedorn, psandoz
2022-03-04 16:26:14 +00:00
Thomas Schatzl
52471539c0 8282615: G1: Fix some includes
Reviewed-by: ayang, iwalulya
2022-03-04 13:40:57 +00:00
Emanuel Peter
a584c904a9 8282573: ByteBufferTest.java: replace endless recursion with RuntimeException in void ck(double x, double y)
Reviewed-by: psandoz, thartmann
2022-03-04 12:55:57 +00:00
Julian Waters
d5e8e52f02 8282532: Allow explicitly setting build platform alongside --openjdk-target
Reviewed-by: ihse
2022-03-04 12:42:07 +00:00
Manukumar V S
b3837808bf 8282343: Create a regression test for JDK-4518432
Reviewed-by: aivanov
2022-03-04 10:56:11 +00:00
Igor Veresov
b629782b8d 8279886: C1: Turn off SelectivePhiFunctions in presence of irreducible loops
Reviewed-by: kvn, dlong
2022-03-04 03:49:37 +00:00
Mandy Chung
7e1c67d4af 8282608: RawNativeLibraryImpl can't be passed to NativeLibraries::findEntry0
Reviewed-by: mcimadamore, dholmes
2022-03-04 03:41:41 +00:00
Joe Wang
8478173d83 8282583: Update BCEL md to include the copyright notice
Reviewed-by: lancea, iris, naoto
2022-03-04 03:15:35 +00:00
Hai-May Chao
fb6b929e6e 8277474: jarsigner does not check if algorithm parameters are disabled
Reviewed-by: mullan, weijun
2022-03-03 23:01:26 +00:00
Manukumar V S
1581e3faa0 8282402: Create a regression test for JDK-4666101
Reviewed-by: aivanov
2022-03-03 19:30:07 +00:00
Xue-Lei Andrew Fan
268fa69318 8282511: Use fixed certificate validation date in SSLExampleCert template
Reviewed-by: rhalade
2022-03-03 19:20:16 +00:00
Thomas Schatzl
c777bb3df3 8282619: G1: Fix indentation in G1CollectedHeap::mark_evac_failure_object
Reviewed-by: ayang, iwalulya
2022-03-03 16:16:44 +00:00
Pavel Rappo
080baffa6e 8282483: Ensure that Utils.getAllInterfaces returns unique instances
Reviewed-by: jjg
2022-03-03 16:10:18 +00:00
Jonathan Gibbons
57020fd582 8282582: Unused methods in Utils
Reviewed-by: prappo
2022-03-03 14:54:02 +00:00
Thomas Stuefe
5c187e34a5 8282593: JDK-8281472 breaks 32-bit builds and gtests
Reviewed-by: jiefu, dholmes
2022-03-03 13:25:10 +00:00
Coleen Phillimore
7822cbce10 8276711: compiler/codecache/cli tests failing when SegmentedCodeCache used with -Xint
Reviewed-by: kvn, dholmes
2022-03-03 13:20:58 +00:00
Prasanta Sadhukhan
832729b41e 6911375: mouseWheel has no effect without vertical scrollbar
Reviewed-by: aivanov
2022-03-03 09:53:14 +00:00
Prasanta Sadhukhan
0402a288f3 8037965: NullPointerException in TextLayout.getBaselineFromGraphic() for JTextComponents
Reviewed-by: prr, aivanov
2022-03-03 09:51:08 +00:00
Thomas Schatzl
d4d1fbc27a 8282484: G1: Predicted old time in log always zero
Reviewed-by: ayang, iwalulya
2022-03-03 09:26:41 +00:00
Tobias Holenstein
b1f935c1d0 8277055: Assert "missing inlining msg" with -XX:+PrintIntrinsics
Reviewed-by: roland, thartmann
2022-03-03 07:59:45 +00:00
Christian Hagedorn
2da677793f 8281122: [IR Framework] Cleanup IR matching code in preparation for JDK-8280378
Reviewed-by: thartmann, kvn
2022-03-03 07:17:56 +00:00
Srinivas Mandalika
d0eb6fa220 8281569: Create tests for Frame.setMinimumSize() method
Reviewed-by: aivanov
2022-03-03 03:26:10 +00:00
Mandy Chung
02aa7cef0a 8282515: More clean up on NativeLibraries just for JNI library use
Reviewed-by: mcimadamore
2022-03-03 01:50:02 +00:00
Weijun Wang
1485883c9e 8281628: KeyAgreement : generateSecret intermittently not resetting
Reviewed-by: valeriep
2022-03-03 00:39:39 +00:00
Magnus Ihse Bursie
b6c35ae44a 8209784: Include hsdis in the JDK
Reviewed-by: erikj
2022-03-02 18:17:47 +00:00
Devin Smith
ce18ff8527 8282551: Properly initialize L32X64MixRandom state
Reviewed-by: jlaskey
2022-03-02 16:41:13 +00:00
Calvin Cheung
234c17e8ff 8274788: Support archived heap objects in ParallelGC
Reviewed-by: iklam, ayang, tschatzl
2022-03-02 16:17:21 +00:00
Weijun Wang
fc918a73d0 8281234: The -protected option is not always checked in keytool and jarsigner
Reviewed-by: hchao, mullan
2022-03-02 14:07:26 +00:00
Andrey Turbanov
d80f697182 8282523: Fix 'hierachy' typo
Reviewed-by: jiefu, kbarrett, dholmes
2022-03-02 13:05:12 +00:00
Alex Menkov
f12200cd11 8267796: vmTestbase/nsk/jvmti/scenarios/hotswap/HS201/hs201t002/TestDescription.java fails with NoClassDefFoundError
Reviewed-by: kevinw, cjplummer
2022-03-02 10:54:25 +00:00
Albert Mingkun Yang
12a822a287 8282381: Parallel: Remove unnecessary PCReferenceProcessor
Reviewed-by: kbarrett, tschatzl
2022-03-02 09:12:20 +00:00
Christian Hagedorn
ed3496e6c0 8282480: IGV: Use description instead of enum name for phases
Reviewed-by: redestad, thartmann
2022-03-02 08:57:55 +00:00
Quan Anh Mai
fc52a2182a 8282143: Objects.requireNonNull should be ForceInline
Reviewed-by: psandoz
2022-03-02 00:46:35 +00:00
Joe Darcy
732d891f9f 8282411: Add useful predicates to ElementKind
Reviewed-by: prappo
2022-03-01 18:48:43 +00:00
Xue-Lei Andrew Fan
eac80214ae 8282320: Remove case conversion for debugging log in SSLCipher
Reviewed-by: weijun
2022-03-01 18:10:39 +00:00
Alexey Ivanov
b86a8c004f 8282150: Drop redundant <br> elements from tables in java.desktop HTML files
Reviewed-by: jdv, dmarkov
2022-03-01 17:01:06 +00:00
Manukumar V S
941e97c4eb 8281738: Create a regression test for checking the 'Space' key activation of focused Button
Reviewed-by: aivanov
2022-03-01 16:55:22 +00:00
Jorn Vernee
8fec7b87c1 8281548: Add escape analysis tracing flag
Reviewed-by: kvn, thartmann, xliu
2022-03-01 16:26:19 +00:00
Jan Lahoda
b03d66c501 8282452: Use of Preview API in preview methods should not trigger preview warning for the enclosing class
Reviewed-by: jlaskey
2022-03-01 15:54:10 +00:00
Coleen Phillimore
76398c8400 8279573: compiler/codecache/CodeCacheFullCountTest.java fails with "RuntimeException: the value of full_count is wrong."
Reviewed-by: thartmann, eosterlund
2022-03-01 15:28:21 +00:00
Pavel Rappo
31b61f982c 8282311: Fix a typo in javax.lang.model.type.NullType
Reviewed-by: jjg
2022-03-01 15:21:19 +00:00
Roland Westrelin
2c5d266f9f 8282045: When loop strip mining fails, safepoints are removed from loop anyway
Reviewed-by: thartmann, chagedorn
2022-03-01 14:43:05 +00:00
Ivan Walulya
341c8bd7f2 8267834: Refactor G1CardSetAllocator and BufferNode::Allocator to use a common base class
Reviewed-by: kbarrett, tschatzl
2022-03-01 14:14:47 +00:00
Roland Westrelin
fcce24c5b3 8281811: assert(_base == Tuple) failed: Not a Tuple after JDK-8280799
Reviewed-by: kvn, thartmann
2022-03-01 14:09:15 +00:00
Harold Seigel
a95edee634 8281472: JVM options processing silently truncates large illegal options values
Reviewed-by: dholmes, iklam
2022-03-01 13:21:57 +00:00
David Holmes
44d599aad3 8227369: pd_disjoint_words_atomic() needs to be atomic
Reviewed-by: eosterlund, mikael, shade, kbarrett, mdoerr
2022-03-01 12:07:21 +00:00
Pavel Rappo
eff396f397 8280713: Related to comment inheritance jdk.javadoc cleanup and refactoring
Reviewed-by: jjg
2022-03-01 12:06:11 +00:00
Chris Hegarty
369291b265 8282444: Module finder incorrectly assumes default file system path-separator character
Reviewed-by: alanb
2022-03-01 10:37:35 +00:00
Claes Redestad
d4d12ad1d9 8282047: Enhance StringDecode/Encode microbenchmarks
Reviewed-by: bchristi
2022-03-01 10:20:22 +00:00
Albert Mingkun Yang
22b93a31c9 8282094: [REDO] Parallel: Refactor PSCardTable::scavenge_contents_parallel
Reviewed-by: iwalulya, tschatzl
2022-03-01 09:32:01 +00:00
Dean Long
d3022f87b5 8282467: add extra diagnostics for JDK-8268184
Reviewed-by: stuefe
2022-03-01 08:25:31 +00:00
Jaikiran Pai
e4d9fc811e 8282023: PropertiesStoreTest and StoreReproducibilityTest jtreg failures due to en_CA locale
Reviewed-by: naoto, rriggs
2022-03-01 03:49:18 +00:00
Alan Hayward
c1a28aa04a 8282392: [zero] Build broken on AArch64
Reviewed-by: aph, shade
2022-03-01 02:23:29 +00:00
David Holmes
77432663be 8281210: Add manpage changes for PAC-RET protection on Linux/AArch64
Reviewed-by: iklam
2022-03-01 01:17:50 +00:00
Joe Darcy
1f89acd849 8282464: Remove author tags from java.compiler
Reviewed-by: jjg
2022-02-28 23:28:21 +00:00
Joe Darcy
9d9618a3dd 8282462: Remove unnecessary use of @SuppressWarnings("preview")
Reviewed-by: vromero
2022-02-28 22:14:14 +00:00
Ioi Lam
d983d108c5 8275731: CDS archived enums objects are recreated at runtime
Reviewed-by: coleenp, ccheung
2022-02-28 20:33:18 +00:00
Coleen Phillimore
c7cd1487fe 8282240: Add _name field to Method for NOT_PRODUCT only
Reviewed-by: pchilanomate, hseigel
2022-02-28 20:31:41 +00:00
Weijun Wang
59b3ecc591 8277976: Break up SEQUENCE in X509Certificate::getSubjectAlternativeNames and X509Certificate::getIssuerAlternativeNames in otherName
6776681: Invalid encoding of an OtherName in X509Certificate.getAlternativeNames()

Reviewed-by: mullan
2022-02-28 17:00:47 +00:00
Aleksey Shipilev
4e7fb41daf 8282172: CompileBroker::log_metaspace_failure is called from non-Java/compiler threads
Reviewed-by: kvn, thartmann
2022-02-28 13:29:23 +00:00
Naoto Sato
0ae3d1d59c 8282131: java.time.ZoneId should be a sealed abstract class
Reviewed-by: iris, rriggs, bpb, lancea, mchung, scolebourne
2022-02-28 13:22:15 +00:00
Harold Seigel
c58f5c67d1 8282360: Merge POSIX implementations of ThreadCritical
Reviewed-by: stuefe, coleenp, dholmes
2022-02-28 13:18:45 +00:00
Emanuel Peter
06cadb36e0 8230382: Clean up ConvI2L, CastII and CastLL::Ideal methods
Reviewed-by: thartmann, roland
2022-02-28 12:13:35 +00:00
John Tortugo
efd3967b54 8267265: Use new IR Test Framework to create tests for C2 Ideal transformations
Reviewed-by: chagedorn
2022-02-28 10:01:24 +00:00
Aleksey Shipilev
86723d4892 8281507: Two javac tests have bad jtreg @clean tags
Reviewed-by: darcy
2022-02-28 07:35:19 +00:00
Daniel D. Daugherty
630ad1acb2 8282428: ProblemList jdk/jfr/jvm/TestWaste.java
Reviewed-by: mikael
2022-02-27 03:45:49 +00:00
Rajan Halade
afd4bcbc1d 8282398: EndingDotHostname.java test fails because SSL cert expired
Reviewed-by: xuelei
2022-02-26 17:10:08 +00:00
Erik Gahlin
cf6d2565e9 8282153: JFR: Check for recording waste
Reviewed-by: mgronlun
2022-02-26 08:57:23 +00:00
Ichiroh Takiguchi
c5c6058fd5 8282219: jdk/java/lang/ProcessBuilder/Basic.java fails on AIX
Reviewed-by: rriggs
2022-02-26 03:33:29 +00:00
Alexander Matveev
fb8bf81842 8279995: jpackage --add-launcher option should allow overriding description
Reviewed-by: asemenyuk
2022-02-25 20:49:59 +00:00
Erik Gahlin
441e48509c 8281739: JFR: Use message with Objects.requireNonNull
Reviewed-by: mgronlun
2022-02-25 18:36:11 +00:00
Erik Gahlin
e96c599ed2 8271232: JFR: Scrub recording data
Reviewed-by: mgronlun
2022-02-25 12:56:09 +00:00
Matthias Baesken
735e86b0f7 8282345: handle latest VS2022 in abstract_vm_version
Reviewed-by: dholmes, mdoerr
2022-02-25 12:26:44 +00:00
Thomas Stuefe
b96b743727 8281015: Further simplify NMT backend
Reviewed-by: zgu, mbaesken
2022-02-25 12:25:46 +00:00
KIRIYAMA Takuya
9471f24ca1 8280684: JfrRecorderService failes with guarantee(num_written > 0) when no space left on device.
Reviewed-by: mgronlun
2022-02-25 11:39:11 +00:00
Claes Redestad
3efd6aa4c9 8282347: AARCH64: Untaken branch in has_negatives stub
Reviewed-by: aph, haosun, thartmann
2022-02-25 08:55:46 +00:00
Kevin Walls
cd36be42c2 8206187: javax/management/remote/mandatory/connection/DefaultAgentFilterTest.java fails with Port already in use
Reviewed-by: msheppar, amenkov
2022-02-25 07:56:56 +00:00
Roger Riggs
bf19fc65c7 8280357: user.home = "?" when running with systemd DynamicUser=true
Reviewed-by: naoto, alanb
2022-02-24 20:12:48 +00:00
Yi-Fan Tsai
b6843a1624 8005885: enhance PrintCodeCache to print more data
Reviewed-by: xliu, phh
2022-02-24 19:42:16 +00:00
Daniel Jeliński
23995f822e 8281525: Enable Zc:strictStrings flag in Visual Studio build
Reviewed-by: dholmes, ihse
2022-02-24 18:18:52 +00:00
Albert Mingkun Yang
20e78f7a8e 8282307: Parallel: Incorrect discovery mode in PCReferenceProcessor
Reviewed-by: tschatzl, kbarrett
2022-02-24 17:48:20 +00:00
Albert Mingkun Yang
0b6862e803 8282348: Remove unused CardTable::dirty_card_iterate
Reviewed-by: kbarrett
2022-02-24 17:47:30 +00:00
Alan Hayward
6fab8a2d6a 8277204: Implement PAC-RET branch protection on Linux/AArch64
Reviewed-by: erikj, ihse, adinn, ngasson
2022-02-24 16:38:56 +00:00
Xue-Lei Andrew Fan
abc0ce11df 8282316: Operation before String case conversion
Reviewed-by: valeriep
2022-02-24 16:25:47 +00:00
Jonathan Gibbons
0796620b07 8281944: JavaDoc throws java.lang.IllegalStateException: ERRONEOUS
Reviewed-by: hannesw
2022-02-24 14:50:06 +00:00
Johannes Bechberger
231e48fa63 8282200: ShouldNotReachHere() reached by AsyncGetCallTrace after JDK-8280422
Reviewed-by: dholmes, mdoerr, kevinw
2022-02-24 14:32:22 +00:00
Coleen Phillimore
f4486a190e 8262400: runtime/exceptionMsgs/AbstractMethodError/AbstractMethodErrorTest.java fails in test_ame5_compiled_vtable_stub with wrapper
Reviewed-by: dholmes, lmesnik
2022-02-24 12:59:15 +00:00
Andrey Turbanov
3cfffa4f8e 8282188: Unused static field MathContext.DEFAULT_DIGITS
Reviewed-by: darcy, bpb
2022-02-24 11:03:29 +00:00
Prasanta Sadhukhan
379fd85932 8277369: Strange behavior of JMenuBar with RIGHT_TO_LEFT orientation, arrow keys behaves opposite traversing through keyboard
Reviewed-by: prr, naoto, serb
2022-02-24 09:52:17 +00:00
Albert Mingkun Yang
cd3e59ef88 8282299: Remove unused PartialArrayScanTask default constructor
Reviewed-by: tschatzl
2022-02-24 09:16:04 +00:00
Chris Plummer
a6610031e2 8281614: serviceability/sa/ClhsdbFindPC.java fails with java.lang.RuntimeException: 'In code in NMethod for jdk/test/lib/apps/LingeredApp.steadyState' missing from stdout/stderr
Reviewed-by: dcubed, dholmes
2022-02-23 22:55:39 +00:00
Manukumar V S
43dc9ef619 8281988: Create a regression test for JDK-4618767
Reviewed-by: aivanov
2022-02-23 21:13:23 +00:00
Chris Plummer
253cf7852f 8282076: Merge some debug agent changes from the loom repo
Reviewed-by: amenkov, lmesnik
2022-02-23 21:09:41 +00:00
Vladimir Ivanov
f86f38a8af 8280901: MethodHandle::linkToNative stub is missing w/ -Xint
Reviewed-by: shade, kvn
2022-02-23 20:29:23 +00:00
Michael McMahon
e540e0a81b 8282296: (se) Pipe.open() creates a Pipe implementation that uses Unix domain sockets (win)
Reviewed-by: dfuchs, lancea, bpb
2022-02-23 20:02:11 +00:00
Xue-Lei Andrew Fan
7dc7184c10 8282309: Operation before upper case conversion
Reviewed-by: valeriep, wetmore
2022-02-23 18:32:29 +00:00
Lance Andersen
a020b6ba8f 8280409: JarFile::getInputStream can fail with NPE accessing ze.getName()
Reviewed-by: mullan, alanb
2022-02-23 16:56:50 +00:00
Jonathan Gibbons
99b8ed9dbf 8281217: Source file launch with security manager enabled fails
Reviewed-by: sundar
2022-02-23 16:49:28 +00:00
Pavel Rappo
35076af13a 8281376: Consider polymorphic methods when looking for overrides
Reviewed-by: hannesw
2022-02-23 16:17:23 +00:00
Xue-Lei Andrew Fan
340a35d835 8282279: Interpret case-insensitive string locale independently
Reviewed-by: weijun
2022-02-23 15:43:06 +00:00
Nils Eliasson
5035bf5e6c 8282208: Reduce MachNode size
Reviewed-by: kvn, thartmann, jiefu
2022-02-23 12:48:22 +00:00
Aleksey Shipilev
aaab2cb416 8282225: GHA: Allow one concurrent run per PR only
Reviewed-by: ihse
2022-02-23 12:34:12 +00:00
David Holmes
d017e98856 8255577: Possible issues with SR_initialize
Reviewed-by: shade, stuefe
2022-02-23 11:30:43 +00:00
Vladimir Ivanov
9332071784 8282194: C1: Missing side effects of dynamic constant linkage
Reviewed-by: kvn, thartmann
2022-02-23 10:17:01 +00:00
Andrew Haley
ecd85e6f0f 8282231: x86-32: runtime call to SharedRuntime::ldiv corrupts registers
Reviewed-by: shade, jiefu
2022-02-23 10:15:25 +00:00
Volker Simonis
378fa507a2 8281962: Avoid unnecessary native calls in InflaterInputStream
Reviewed-by: clanger, redestad, alanb, lancea
2022-02-23 08:36:13 +00:00
Zhengyu Gu
e1060bee2a 8281615: Deadlock caused by jdwp agent
Reviewed-by: dholmes, cjplummer
2022-02-23 03:04:34 +00:00
Phil Race
6f882deddc 8280964: [Linux aarch64] : drawImage dithers TYPE_BYTE_INDEXED images incorrectly
Reviewed-by: serb, dmarkov
2022-02-23 01:03:09 +00:00
Phil Race
2557ef8a02 8282276: Problem list failing two Robot Screen Capture tests
Reviewed-by: dcubed
2022-02-22 20:27:00 +00:00
Brian Burkhalter
6445ee46b5 5041655: (ch) FileLock: negative param and overflow issues
Reviewed-by: alanb
2022-02-22 17:24:15 +00:00
liach
7feabee426 8261407: ReflectionFactory.checkInitted() is not thread-safe
Co-authored-by: Peter Levart <plevart@openjdk.org>
Reviewed-by: dholmes, mchung, plevart
2022-02-22 16:57:23 +00:00
Tyler Steele
58e1882f3c 8282042: [testbug] FileEncodingTest.java depends on default encoding
Adds expected encoding "ISO-8859-1" for AIX in FileEncodingTest.java

Reviewed-by: naoto
2022-02-22 16:50:48 +00:00
Ian Graves
3cb38678aa 8281315: Unicode, (?i) flag and backreference throwing IndexOutOfBounds Exception
Reviewed-by: naoto
2022-02-22 16:31:57 +00:00
Thomas Schatzl
957dae02b1 8280958: G1/Parallel: Unify marking code structure
Reviewed-by: ayang, kbarrett
2022-02-22 16:25:12 +00:00
Magnus Ihse Bursie
e44d0670a6 8244593: Clean up GNM/NM after JEP 381
Reviewed-by: erikj
2022-02-22 16:06:52 +00:00
Ian Graves
41355e2daa 8276686: Malformed Javadoc inline tags in JDK source in /java/util/regex/Pattern.java
Reviewed-by: iris, bpb, lancea
2022-02-22 15:38:52 +00:00
Coleen Phillimore
022d80707c 8271008: appcds/*/MethodHandlesAsCollectorTest.java tests time out because of excessive GC (CodeCache GC Threshold) in loom
Reviewed-by: thartmann, eosterlund
2022-02-22 13:42:56 +00:00
Alexey Ivanov
ab6d8e6424 8260328: Drop redundant CSS properties from java.desktop HTML files
Reviewed-by: serb, dmarkov
2022-02-22 13:19:43 +00:00
John Jiang
b95310b090 8282220: contentType should not be a PKCS7's member
Reviewed-by: xuelei
2022-02-22 09:35:48 +00:00
Emanuel Peter
bc43320fd3 8281543: Remove unused code/headerfile dtraceAttacher.hpp
Reviewed-by: thartmann
2022-02-22 07:55:04 +00:00
Manukumar V S
f9539521ae 8281745: Create a regression test for JDK-4514331
Reviewed-by: serb
2022-02-22 07:31:55 +00:00
Jaikiran Pai
e0b49629e9 8282190: Typo in javadoc of java.time.format.DateTimeFormatter#getDecimalStyle
Reviewed-by: dfuchs, rriggs, lancea, iris
2022-02-22 01:39:28 +00:00
Daniel Jeliński
e1c98bd1f2 8281523: Accessibility: Conversion from string literal loses const qualifier
Reviewed-by: prr, aivanov, kizune
2022-02-21 17:40:27 +00:00
Maxim Kartashev
cc7cf81256 8280861: Robot color picker broken on Linux with scaling above 100%
Reviewed-by: serb
2022-02-21 11:39:29 +00:00
Magnus Ihse Bursie
d7a706a540 8253757: Add LLVM-based backend for hsdis
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Nick Gasson <ngasson@openjdk.org>
Reviewed-by: erikj, luhenry
2022-02-21 10:37:44 +00:00
Manukumar V S
bdae1d87c1 8282147: [TESTBUG] waitForIdle after creating frame in JSpinnerMouseAndKeyPressTest.java
Reviewed-by: aivanov
2022-02-21 10:08:50 +00:00
Andrey Turbanov
51f4420711 8282130: (bf) Remove unused ARRAY_BASE_OFFSET, ARRAY_INDEX_SCALE from read-only Heap Buffers
Reviewed-by: bpb, alanb
2022-02-21 09:03:16 +00:00
John Jiang
34aae32de6 8282166: JDK-8282158 changed ECParameters' package by accident
Reviewed-by: xuelei
2022-02-21 08:27:03 +00:00
Albert Mingkun Yang
c5d9142a84 8282096: G1: Remove redundant checks in G1CardSet::free_mem_object
Reviewed-by: tschatzl, iwalulya
2022-02-21 08:14:59 +00:00
John Jiang
52a85d8048 8282158: ECParameters InvalidParameterSpecException messages missed ECKeySizeParameterSpec
Reviewed-by: xuelei
2022-02-21 07:55:39 +00:00
Emanuel Peter
4e0b81c596 8281544: assert(VM_Version::supports_avx512bw()) failed for Tests jdk/incubator/vector/
Reviewed-by: kvn, neliasso, thartmann
2022-02-21 07:05:04 +00:00
Tobias Hartmann
8563d86f2c 8282085: The REGISTER_DEFINITION macro is useless after JDK-8269122
Reviewed-by: jiefu, chagedorn, kvn
2022-02-21 07:02:44 +00:00
Aleksey Shipilev
d28b048f35 8281815: x86: Use short jumps in TIG::generate_slow_signature_handler
Reviewed-by: rrich, dholmes, jiefu
2022-02-21 06:14:43 +00:00
Valerie Peng
d7f31d0d53 8282077: PKCS11 provider C_sign() impl should handle CKR_BUFFER_TOO_SMALL error
Reviewed-by: mikael
2022-02-19 06:40:30 +00:00
Rajan Halade
d3749de478 8277488: Add expiry exception for Digicert (geotrustglobalca) expiring in May 2022
Reviewed-by: weijun
2022-02-18 20:17:37 +00:00
Yudi Zheng
3943c89b9b 8282044: [JVMCI] Export _sha3_implCompress, _md5_implCompress and aarch64::_has_negatives stubs to JVMCI compiler.
Reviewed-by: kvn
2022-02-18 18:00:40 +00:00
Weijun Wang
7ce75afbbc 8255266: Update Public Suffix List to 3c213aa
Reviewed-by: xuelei
2022-02-18 16:34:59 +00:00
Daniel D. Daugherty
cfbfd9bf41 8282103: fix macosx-generic typo in ProblemList
Reviewed-by: rriggs
2022-02-18 16:25:24 +00:00
Dmitry Chuyko
413bef6890 8282049: AArch64: Use ZR for integer zero immediate volatile stores
Reviewed-by: adinn, phh
2022-02-18 16:02:46 +00:00
Magnus Ihse Bursie
cf6984ddaa 8282086: Update jib profile to not set build to 0
Reviewed-by: erikj
2022-02-18 14:49:34 +00:00
Pavel Rappo
f5120b764c 8282056: Clean up com.sun.tools.javac.util.GraphUtils
Reviewed-by: jjg, mcimadamore, vromero
2022-02-18 13:09:44 +00:00
Jan Lahoda
e3365041bd 8280866: SuppressWarnings does not work properly in package-info and module-info
Reviewed-by: darcy, vromero
2022-02-18 11:04:11 +00:00
Albert Mingkun Yang
e8224f7de9 8282089: [BACKOUT] Parallel: Refactor PSCardTable::scavenge_contents_parallel
Reviewed-by: tschatzl
2022-02-18 09:54:28 +00:00
Jan Lahoda
834d55c59f 8277300: Issues with javadoc support for preview features
Reviewed-by: prappo, jjg
2022-02-18 09:41:12 +00:00
Alex Menkov
138a17195d 8281267: VM HeapDumper dumps array classes several times
Reviewed-by: cjplummer, coleenp
2022-02-18 09:21:48 +00:00
Roberto Castañeda Lozano
7bcca7692b 8279068: IGV: Update to work with JDK 16 and 17
Reviewed-by: kvn, neliasso, chagedorn
2022-02-18 08:35:52 +00:00
Jie Fu
c9289583eb 8281936: compiler/arguments/TestCodeEntryAlignment.java fails on AVX512 machines
Reviewed-by: shade, kvn
2022-02-18 05:02:19 +00:00
Prasanta Sadhukhan
a22f422b7f 8037573: Typo in DefaultTreeModel docs: askAllowsChildren instead of asksAllowsChildren
Reviewed-by: prr, jdv, azvegint
2022-02-18 04:56:05 +00:00
Jie Fu
fdce35f3a1 8282025: assert(ctrl != __null) failed: control out is assumed to be unique after JDK-8281732
Reviewed-by: kvn, thartmann, chagedorn
2022-02-17 22:53:53 +00:00
Magnus Ihse Bursie
f830cbec90 8188073: Add Capstone as backend for hsdis
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Reviewed-by: erikj
2022-02-17 21:18:15 +00:00
Daniel D. Daugherty
69fc273f20 8282075: ProblemList 3 compiler/whitebox tests on macosx-x64
Reviewed-by: mikael, bpb
2022-02-17 20:56:46 +00:00
Naoto Sato
129277653e 8281317: CompactNumberFormat displays 4-digit values when rounding to a new range
Reviewed-by: joehw
2022-02-17 19:03:08 +00:00
Mahendra Chhipa
cd9a3cf05b 8282017: sun/net/www/protocol/https/HttpsURLConnection/B6216082.java fails with "SocketException: Unexpected end of file from server"
Reviewed-by: dfuchs
2022-02-17 17:45:06 +00:00
Tim Prinzing
a6f8a386ef 8281000: ClassLoader::registerAsParallelCapable throws NPE if caller is null
Reviewed-by: erikj, ihse, mchung, bchristi
2022-02-17 17:34:39 +00:00
Joe Darcy
4c7f8b49a4 8268250: Class.arrayType() for a 255-d array throws undocumented IllegalArgumentException
Reviewed-by: sundar, alanb
2022-02-17 17:12:40 +00:00
Andrey Turbanov
d0e11808fd 8282019: Unused static fields DEGREES_TO_RADIANS, RADIANS_TO_DEGREES in StrictMath
Reviewed-by: bpb, darcy
2022-02-17 12:31:37 +00:00
Albert Mingkun Yang
3b7a3cfce3 8281971: Remove unimplemented InstanceRefKlass::do_next
Reviewed-by: dholmes
2022-02-17 11:40:43 +00:00
Julia Boes
9ca435b4c0 8281305: Test com/sun/net/httpserver/simpleserver/MapToPathTest.java fails on Windows 11
Reviewed-by: dfuchs
2022-02-17 10:35:05 +00:00
Prasanta Sadhukhan
b4900b1298 8264743: Add forRemoval for deprecated classes and method in javax/swing/plaf/basic
Reviewed-by: trebari, prr
2022-02-17 09:36:05 +00:00
Tyler Steele
c0275e18b7 8203290: [AIX] Check functionality of JDK-8199712 (Flight Recorder)
Implements JFR for AIX

Reviewed-by: erikj, mdoerr, mgronlun, stuefe, ihse
2022-02-17 08:49:22 +00:00
Ioi Lam
1864481df1 8279969: NULL return from map_bitmap_region() needs to be checked
Reviewed-by: ccheung, coleenp
2022-02-17 06:40:46 +00:00
Xiaohong Gong
1eec16b47b 8281803: AArch64: Optimize masked vector NOT/AND_NOT for SVE
Reviewed-by: aph, njian
2022-02-17 05:44:12 +00:00
Alexey Semenyuk
cd234f5dbe 8282007: Assorted enhancements to jpackage testing framework
Reviewed-by: almatvee
2022-02-17 05:27:41 +00:00
Jesper Wilhelmsson
b6e48e6782 Merge 2022-02-17 01:12:57 +00:00
Alexey Semenyuk
0b00ce17cd 8282011: test/jdk/tools/jpackage/windows/WinL10nTest.java test fails if light.exe is not in %PATH%
Reviewed-by: almatvee
2022-02-16 23:23:57 +00:00
Joe Darcy
5ec7898dbf 8281671: Class.getCanonicalName spec should explicitly cover array classes
Reviewed-by: mchung
2022-02-16 22:02:55 +00:00
Martin Desruisseaux
9ba0760cf8 8275345: RasterFormatException when drawing a tiled image made of non-writable rasters
Reviewed-by: prr, aivanov
2022-02-16 22:01:01 +00:00
Daniel Fuchs
48f6e93079 8282020: ProblemList sun/net/www/protocol/https/HttpsURLConnection/B6216082.java until JDK-8282017 is fixed
Reviewed-by: michaelm, naoto
2022-02-16 21:38:48 +00:00
Tim Prinzing
67763df4dc 8281003: MethodHandles::lookup throws NPE if caller is null
Reviewed-by: ihse, mchung, jrose, alanb
2022-02-16 20:09:46 +00:00
Aleksey Shipilev
847a99b53d 8281822: Test failures on non-DTrace builds due to incomplete DTrace* flags handling
Reviewed-by: dholmes, kvn
2022-02-16 20:08:27 +00:00
Mandy Chung
980d187891 8281335: Allow a library already loaded via System::loadLibrary to be loaded as a raw library
Reviewed-by: sundar, mcimadamore
2022-02-16 18:31:32 +00:00
Alexey Semenyuk
81645521c8 8281874: Can't unpack msi installers from test/jdk/tools/jpackage/windows/test/jdk/tools/jpackage/windows/WinShortcutPromptTest.java test
Reviewed-by: almatvee
2022-02-16 17:31:23 +00:00
Alexey Semenyuk
bb4dece246 8281170: Test jdk/tools/jpackage/windows/WinInstallerIconTest always fails on Windows 11
Reviewed-by: almatvee
2022-02-16 17:30:24 +00:00
Naoto Sato
9b74c3f2e7 8176706: Additional Date-Time Formats
Reviewed-by: joehw, rriggs
2022-02-16 16:54:53 +00:00
Mahendra Chhipa
0f3d3ac32c 8061729: Update java/net tests to eliminate dependency on sun.net.www.MessageHeader and some other internal APIs
Reviewed-by: dfuchs
2022-02-16 16:43:15 +00:00
Emanuel Peter
395bc141f2 8281732: add assert for non-NULL assumption for return of unique_ctrl_out
Reviewed-by: kvn, chagedorn, thartmann
2022-02-16 16:19:44 +00:00
Michael McMahon
d8f44aa39e 8278067: Make HttpURLConnection default keep alive timeout configurable
Reviewed-by: dfuchs
2022-02-16 16:01:01 +00:00
Erik Gahlin
7428b37696 8281948: JFR: Parser skips too many bytes for fractional types
Reviewed-by: mgronlun
2022-02-16 15:35:27 +00:00
Jie Fu
d5b466657e 8281829: runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java fails after JDK-8281467
Reviewed-by: kvn, thartmann
2022-02-16 13:46:43 +00:00
Aleksey Shipilev
fef5d74d0e 8281812: x86: Use short jumps in TemplateTable::condy_helper
Reviewed-by: redestad, neliasso
2022-02-16 09:42:56 +00:00
TheShermanTanker
a86cab8d42 8236136: tests which use CompilationMode shouldn't be run w/ TieredStopAtLevel
Reviewed-by: neliasso, kvn, thartmann
2022-02-16 07:50:07 +00:00
Quan Anh Mai
0af356bb4b 8278173: [vectorapi] Add x64 intrinsics for unsigned (zero extended) casts
Reviewed-by: psandoz, sviswanathan
2022-02-15 18:57:53 +00:00
Leonid Mesnik
a24498b777 8281771: Crash in java_lang_invoke_MethodType::print_signature
Reviewed-by: dholmes, shade
2022-02-15 18:01:15 +00:00
Leonid Mesnik
1aff44b2cf 8279949: JavaThread::_free_handle_block leaks native memory
Reviewed-by: dholmes, coleenp
2022-02-15 17:59:51 +00:00
Christian Stein
394ce5f948 8280825: Modules that "provide" ToolProvider should document the name that can be used
Reviewed-by: jjg, lancea, alanb
2022-02-15 17:55:50 +00:00
Calvin Cheung
745f7e7d92 8281186: runtime/cds/appcds/DumpingWithNoCoops.java fails
Reviewed-by: minqi, iklam, stuefe
2022-02-15 17:18:34 +00:00
Aleksey Shipilev
18704653dc 8281744: x86: Use short jumps in TIG::set_vtos_entry_points
Reviewed-by: rehn, coleenp
2022-02-15 16:42:37 +00:00
Stefan Johansson
2fe0bf66b7 8281748: runtime/logging/RedefineClasses.java failed "assert(addr != __null) failed: invariant"
Reviewed-by: ayang, kbarrett
2022-02-15 16:22:37 +00:00
Albert Mingkun Yang
bc6148407e 8280136: Serial: Remove unnecessary use of ExpandHeap_lock
Reviewed-by: iwalulya, kbarrett, sjohanss
2022-02-15 12:23:58 +00:00
Magnus Ihse Bursie
2112a9dc49 8246033: bin/print_config.js script uses nashorn jjs tool
Reviewed-by: erikj
2022-02-15 11:11:10 +00:00
Nils Eliasson
1c12b159ff 8281741: [testbug] PrintIdealPhaseTest fails with -Xcomp
Reviewed-by: kvn, chagedorn, thartmann
2022-02-15 09:49:47 +00:00
Dmitry Markov
f82866bc79 8281555: [macos] Get rid of deprecated Style Masks constants
Reviewed-by: serb, aivanov
2022-02-15 09:26:47 +00:00
Pavel Kharskii
0f2113cee7 8280415: Remove EA from JDK 18 version string starting with Initial RC promotion B35 on February 10, 2022
Reviewed-by: erikj, iris
2022-02-15 09:24:52 +00:00
Nils Eliasson
8819f45357 8281722: Removal of PrintIdealLevel
Reviewed-by: chagedorn, thartmann
2022-02-15 08:20:16 +00:00
Andrey Turbanov
622970e47c 8281728: Redundant null check in LineNumberInputStream.read
Reviewed-by: redestad
2022-02-15 07:10:10 +00:00
Tobias Hartmann
2be2a298f1 8281713: [BACKOUT] AArch64: Implement string_compare intrinsic in SVE
Reviewed-by: kvn, dlong
2022-02-15 07:07:00 +00:00
Kim Barrett
11f943d148 8280916: Simplify HotSpot Style Guide editorial changes
Reviewed-by: dcubed, dholmes, stuefe, stefank, kvn, tschatzl
2022-02-15 06:51:29 +00:00
Aleksey Shipilev
b1564624ce 8281467: Allow larger OptoLoopAlignment and CodeEntryAlignment
Reviewed-by: kvn, dlong
2022-02-15 06:19:37 +00:00
Harshitha Onkar
f33329eb7f 8016524: [macosx] Bottom line is not visible for JTableHeader
Reviewed-by: psadhukhan, prr
2022-02-15 05:03:34 +00:00
Jaikiran Pai
d4cd8dfedb 8281634: jdeps: java.lang.InternalError: Missing message: err.invalid.filters
Reviewed-by: dfuchs, naoto, mchung
2022-02-15 03:53:47 +00:00
Phil Race
1a7b70a8be 8269091: javax/sound/sampled/Clip/SetPositionHang.java failed with ArrayIndexOutOfBoundsException: Array index out of range: -4
Reviewed-by: serb
2022-02-14 23:31:13 +00:00
Ioi Lam
16f649b9c5 8281678: appcds/dynamicArchive/ArchiveConsistency.java fails after JDK-8279997
Reviewed-by: shade, dcubed
2022-02-14 18:53:50 +00:00
Vladimir Ivanov
88fc3bfdff 8280473: CI: Support unresolved JVM_CONSTANT_Dynamic constant pool entries
Reviewed-by: dlong, redestad, neliasso
2022-02-14 18:46:46 +00:00
Thomas Stuefe
f07b816523 8280940: gtest os.release_multi_mappings_vm is racy
Reviewed-by: dcubed, sjohanss
2022-02-14 16:41:47 +00:00
Brian J. Stafford
9d0a4c3f2e 8274238: Inconsistent type for young_list_target_length()
Reviewed-by: kbarrett, tschatzl
2022-02-14 12:20:46 +00:00
Leo Korinth
2604a88fbb 8281585: Remove unused imports under test/lib and jtreg/gc
Reviewed-by: dholmes, sspitsyn
2022-02-14 12:05:16 +00:00
Vladimir Ivanov
534e557874 8256368: Avoid repeated upcalls into Java to re-resolve MH/VH linkers/invokers
Reviewed-by: dlong, kvn
2022-02-14 11:57:46 +00:00
Magnus Ihse Bursie
95f198b2b1 8274980: Improve adhoc build version strings
Reviewed-by: shade, erikj
2022-02-14 10:31:42 +00:00
Emanuel Peter
c61d629add 8281553: Ensure we only require liveness from mach-nodes with barriers
Reviewed-by: neliasso, chagedorn
2022-02-14 09:52:50 +00:00
Albert Mingkun Yang
2597206242 8280783: Parallel: Refactor PSCardTable::scavenge_contents_parallel
Reviewed-by: tschatzl, iwalulya
2022-02-14 09:15:58 +00:00
Stefan Johansson
2632d40dfc 8281637: Remove unused VerifyOption_G1UseNextMarking
Reviewed-by: tschatzl, iwalulya
2022-02-14 09:03:45 +00:00
Roberto Castañeda Lozano
46f522962f 8281539: IGV: schedule approximation computes immediate dominators wrongly
Replace custom dominator computation with one from the WALA libraries.

Reviewed-by: neliasso, chagedorn
2022-02-14 08:37:31 +00:00
Roland Westrelin
1ef45c5bbd 8280799: С2: assert(false) failed: cyclic dependency prevents range check elimination
Reviewed-by: thartmann, kvn
2022-02-14 08:35:53 +00:00
Nils Eliasson
483d4b97e0 8281505: Add CompileCommand PrintIdealPhase
Reviewed-by: kvn, thartmann, chagedorn
2022-02-14 08:27:21 +00:00
Bhavana Kilambi
adbe066102 8239927: Product variable PrefetchFieldsAhead is unused and should be removed
Reviewed-by: njian, dholmes
2022-02-14 01:33:20 +00:00
Sergey Bylokhov
eff5dafba9 8274939: Incorrect size of the pixel storage is used by the robot on macOS
Reviewed-by: aivanov, prr
2022-02-12 22:10:11 +00:00
David Holmes
8acfbc2e21 8281675: VMDeprecatedOptions test fails after JDK-8278423
Reviewed-by: dcubed
2022-02-12 14:12:42 +00:00
Emanuel Peter
67077a0430 8278423: ExtendedDTraceProbes should be deprecated
Reviewed-by: dholmes, hseigel, kvn, thartmann
2022-02-12 13:08:39 +00:00
Alexey Bakhtin
58dae60da0 8274524: SSLSocket.close() hangs if it is called during the ssl handshake
Reviewed-by: xuelei
2022-02-12 11:54:22 +00:00
Alexander Zuev
aa918a6ec4 8281033: Improve ImageCheckboxTest to test all available LaF
Reviewed-by: serb
2022-02-12 09:26:47 +00:00
Joe Darcy
6fdfe0458d 8281674: tools/javac/annotations/typeAnnotations/classfile/AnonymousExtendsTest.java fails with AssertionError
Reviewed-by: vromero
2022-02-12 01:33:41 +00:00
Joe Darcy
c3179a8760 8281462: Annotation toString output for enum not reusable for source input
Reviewed-by: mchung
2022-02-11 23:24:08 +00:00
Joe Darcy
4032fe76dc 8281238: TYPE_USE annotations not printed in correct position in toString output
Reviewed-by: vromero
2022-02-11 21:52:16 +00:00
Dr Heinz M. Kabutz
83ffbd2e7a 8277175: Add a parallel multiply method to BigInteger
Reviewed-by: psandoz
2022-02-11 18:49:04 +00:00
Manukumar V S
0786ddb471 8281535: Create a regression test for JDK-4670051
Reviewed-by: aivanov
2022-02-11 17:40:25 +00:00
Calvin Cheung
c5ff6e45de 8223077: module path support for dynamic CDS archive
Reviewed-by: iklam, minqi
2022-02-11 17:39:20 +00:00
Erik Gahlin
8886839779 8281622: JFR: Improve documentation of jdk.jfr.Relational
Reviewed-by: jbachorik
2022-02-11 17:15:04 +00:00
Yumin Qi
e75e8cd708 8279997: check_for_dynamic_dump should not exit vm
Reviewed-by: ccheung, iklam
2022-02-11 16:42:07 +00:00
Daniel Jeliński
e73ee0ca10 8281259: MutableBigInteger subtraction could be simplified
Reviewed-by: bpb
2022-02-11 16:24:43 +00:00
lawrence.andrews
f399ae558e 8202836: [macosx] test java/awt/Graphics/TextAAHintsTest.java fails
Reviewed-by: prr, aivanov
2022-02-11 15:33:17 +00:00
Jan Lahoda
4ff5824f5b 8281100: Spurious "variable might not have been initialized" with sealed class switch
Reviewed-by: vromero
2022-02-11 12:11:29 +00:00
Jie Fu
d254cf28c5 8281638: jfr/event/allocation tests fail with release VMs after JDK-8281318 due to lack of -XX:+UnlockDiagnosticVMOptions
Reviewed-by: shade
2022-02-11 11:39:54 +00:00
Prasanta Sadhukhan
4d64076058 8047749: javadoc for getPathBounds() in TreeUI and BasicTreeUI is incorrect
Reviewed-by: aivanov
2022-02-11 09:39:10 +00:00
Kim Barrett
90939cb801 8281626: NonblockingQueue should use nullptr
Reviewed-by: shade, dholmes
2022-02-11 09:05:50 +00:00
Aleksey Shipilev
3a13425bc9 8072070: Improve interpreter stack banging
Reviewed-by: xliu, coleenp, mdoerr
2022-02-11 08:46:55 +00:00
Sergey Bylokhov
8441d51e71 8281419: The source data for the color conversion can be discarded
Reviewed-by: prr, aivanov
2022-02-11 07:41:18 +00:00
Thomas Stuefe
a037b3c358 8281460: Let ObjectMonitor have its own NMT category
Reviewed-by: dholmes, dcubed, shade
2022-02-11 07:21:04 +00:00
Aleksey Shipilev
65831eb294 8281318: Improve jfr/event/allocation tests reliability
Reviewed-by: mgronlun
2022-02-11 06:45:13 +00:00
Thomas Stuefe
eee6a5622d 8281522: Rename ADLC classes which have the same name as hotspot variants
Reviewed-by: neliasso, kvn
2022-02-11 05:34:27 +00:00
David Holmes
84868e39be 8281275: Upgrading from 8 to 11 no longer accepts '/' as filepath separator in gc paths
Reviewed-by: shade, dcubed
2022-02-10 23:23:48 +00:00
Erik Gahlin
58c2bd3158 8281536: JFR: Improve jdk.jfr.ContentType documentation
Reviewed-by: mgronlun
2022-02-10 22:51:39 +00:00
Paul Sandoz
83b6e4bc04 8281294: [vectorapi] FIRST_NONZERO reduction operation throws IllegalArgumentExcept on zero vectors
Reviewed-by: jrose
2022-02-10 18:37:21 +00:00
Prasanta Sadhukhan
039313d65d 8054449: Incompatible type in example code in TreePath
Reviewed-by: aivanov, dmarkov
2022-02-10 12:02:05 +00:00
Kim Barrett
3ce1c5b6ce 8280832: Update usage docs for NonblockingQueue
Reviewed-by: iwalulya, dholmes
2022-02-10 11:28:04 +00:00
Maxim Kartashev
d442328bc2 8281262: Windows builds in different directories are not fully reproducible
Co-authored-by: Erik Joelsson <erikj@openjdk.org>
Reviewed-by: erikj, ihse
2022-02-10 10:46:35 +00:00
Leo Korinth
c820d1acb7 8281379: Assign package declarations to all jtreg test cases under gc
Reviewed-by: kbarrett, tschatzl
2022-02-10 10:34:16 +00:00
Emanuel Peter
fa0a72c030 8252496: C2: Useless code in MergeMemNode::Ideal
Reviewed-by: thartmann, chagedorn, vlivanov
2022-02-10 09:29:53 +00:00
John Jiang
7218d8449b 8281567: Remove @throws IOException from X509CRLImpl::getExtension docs
Reviewed-by: xuelei, jiefu
2022-02-10 08:11:08 +00:00
Alexey Ivanov
fd8a3dcc52 8280820: Clean up bug8033699 and bug8075609.java tests: regtesthelpers aren't used
Reviewed-by: prr
2022-02-09 19:12:20 +00:00
Hai-May Chao
178b962e01 8265765: DomainKeyStore may stop enumerating aliases if a constituting KeyStore is empty
Reviewed-by: weijun
2022-02-09 16:53:48 +00:00
Vladimir Ivanov
c5c8c0644d 8279822: CI: Constant pool entries in error state are not supported
Reviewed-by: kvn, thartmann
2022-02-09 13:56:23 +00:00
Bhavana Kilambi
f823bed043 8280007: Enable Neoverse N1 optimizations for Arm Neoverse V1 & N2
Reviewed-by: phh
2022-02-09 13:18:29 +00:00
Christian Stein
8b384b986a 8281470: tools/jar/CreateMissingParentDirectories.java fails with "Should have failed creating jar file"
Reviewed-by: lancea
2022-02-09 11:34:22 +00:00
Matthias Baesken
bb2e10ccea 8281274: deal with ActiveProcessorCount in os::Linux::print_container_info
Reviewed-by: stuefe, sgehwolf, dholmes, iklam
2022-02-09 11:33:16 +00:00
Roland Westrelin
69e390a0e8 8262721: Add Tests to verify single iteration loops are properly optimized
Reviewed-by: neliasso, chagedorn, kvn
2022-02-09 10:18:27 +00:00
Alexey Pavlyutkin
f092babafb 8281195: Mistakenly used logging causes significant overhead in interpreter
Reviewed-by: shade, dholmes
2022-02-09 09:33:35 +00:00
Daniel Jeliński
f924e50c42 8281440: AWT: Conversion from string literal loses const qualifier
Reviewed-by: prr, aivanov
2022-02-09 08:34:47 +00:00
Kim Barrett
072e7b4da0 8272807: Permit use of memory concurrent with pretouch
Reviewed-by: shade, stuefe
2022-02-09 06:53:09 +00:00
Artem Semenov
cb2f8caed2 8281338: NSAccessibilityPressAction action for tree node and NSAccessibilityShowMenuAcgtion action not working
Reviewed-by: ant, kizune
2022-02-09 06:50:35 +00:00
Aleksey Shipilev
fc77217814 8281168: Micro-optimize VarForm.getMemberName for interpreter
Reviewed-by: redestad, vlivanov, mchung
2022-02-09 06:28:00 +00:00
Kim Barrett
bce5dd1766 8280438: Improve BufferNode::Allocator::release to avoid walking pending list
Reviewed-by: iwalulya, tschatzl
2022-02-09 04:38:11 +00:00
Kim Barrett
13f739d330 8280830: Change NonblockingQueue::try_pop variable named "result"
Reviewed-by: dholmes
2022-02-09 04:10:37 +00:00
Sergey Bylokhov
2f46af05ce 8280132: Incorrect comparator com.sun.beans.introspect.MethodInfo.MethodOrder
Reviewed-by: prr
2022-02-09 01:26:42 +00:00
Quan Anh Mai
fb17a8ece0 8278947: Support for array constants in constant table
Reviewed-by: kvn, vlivanov
2022-02-08 23:38:09 +00:00
Kim Barrett
d658d945cf 8280828: Improve invariants in NonblockingQueue::append
Reviewed-by: iwalulya, tschatzl
2022-02-08 20:29:04 +00:00
Daniel D. Daugherty
5fb56dbb0b 8281476: ProblemList tools/jar/CreateMissingParentDirectories.java
Reviewed-by: azvegint, bpb, lancea
2022-02-08 20:16:34 +00:00
Christian Stein
92f4f40da6 8281104: jar --create should create missing parent directories
Reviewed-by: lancea
2022-02-08 17:53:42 +00:00
Martin Doerr
7f19c70070 8281061: [s390] JFR runs into assertions while validating interpreter frames
Reviewed-by: lucy, rrich
2022-02-08 17:48:48 +00:00
Harold Seigel
380378c551 8281400: Remove unused wcslen() function
Reviewed-by: dcubed, coleenp, lfoltan
2022-02-08 16:00:58 +00:00
Thomas Stuefe
83d67452da 8281450: Remove unnecessary operator new and delete from ObjectMonitor
Reviewed-by: dholmes
2022-02-08 14:43:45 +00:00
Manukumar V S
f5d8cebbb6 8281296: Create a regression test for JDK-4515999
Reviewed-by: aivanov
2022-02-08 12:39:43 +00:00
Kim Barrett
861f2797f7 8280917: Simplify G1ConcurrentRefineThread activation
Reviewed-by: iwalulya, sjohanss
2022-02-08 09:02:53 +00:00
Masanori Yano
f2a9627c05 8279329: Remove hardcoded IPv4 available policy on Windows
Reviewed-by: djelinski, alanb, dfuchs, aefimov
2022-02-08 08:31:10 +00:00
Aleksey Shipilev
4eacacb5ad 8281314: Rename Stack{Red,Yellow,Reserved,Shadow}Pages multipliers
Reviewed-by: stuefe, coleenp, xliu
2022-02-08 07:19:57 +00:00
Erik Gahlin
2f71a6b39e 8279613: JFR: Snippify Javadoc
Reviewed-by: mgronlun
2022-02-07 19:54:05 +00:00
Kevin Walls
8a662105c2 6779701: Wrong defect ID in the code of test LocalRMIServerSocketFactoryTest.java
Reviewed-by: cjplummer, dfuchs
2022-02-07 18:16:23 +00:00
Kevin Walls
1dfc94dd56 8281377: Remove vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/Deadlock/JavaDeadlock001/TestDescription.java from problemlist.
Reviewed-by: sspitsyn
2022-02-07 17:36:40 +00:00
Weijun Wang
2ed1f4cf32 8281175: Add a -providerPath option to jarsigner
Reviewed-by: xuelei, hchao
2022-02-07 15:05:30 +00:00
Sean Mullan
a0f6f2409e 8280890: Cannot use '-Djava.system.class.loader' with class loader in signed JAR
Reviewed-by: weijun, hchao
2022-02-07 14:06:08 +00:00
Stephanie Crater
22a1a32c7e 8268387: Rename maximum compaction to maximal compaction in G1
Reviewed-by: ayang, tschatzl
2022-02-07 12:43:28 +00:00
Albert Mingkun Yang
76677716ab 8281114: G1: Remove PreservedMarks::init_forwarded_mark
Reviewed-by: tschatzl, sjohanss
2022-02-07 12:26:47 +00:00
Aleksei Efimov
4c169495a2 8272996: JNDI DNS provider fails to resolve SRV entries when IPV6 stack is enabled
Reviewed-by: dfuchs
2022-02-07 12:10:14 +00:00
Julia Boes
f3e8242683 8280965: Tests com/sun/net/httpserver/simpleserver fail with FileSystemException on Windows 11
Reviewed-by: dfuchs
2022-02-07 09:28:05 +00:00
Alex Menkov
95fd9d20f3 8281243: Test java/lang/instrument/RetransformWithMethodParametersTest.java is failing
Reviewed-by: sspitsyn, dcubed, lmesnik
2022-02-07 09:08:34 +00:00
Emanuel Peter
f5e0870091 8281117: Add regression test for JDK-8280587
Reviewed-by: chagedorn, thartmann, xliu
2022-02-07 08:18:07 +00:00
Xue-Lei Andrew Fan
f2302822c0 8281298: Revise the creation of unmodifiable list
Reviewed-by: redestad
2022-02-07 06:30:10 +00:00
Prasanta Sadhukhan
5dfff7406e 8166050: partialArray is not created in javax.swing.text.html.parser.NPrintWriter.println(...) method
Reviewed-by: prr
2022-02-07 04:48:02 +00:00
Phil Race
2f48a3f032 8279878: java/awt/font/JNICheck/JNICheck.sh test fails on Ubuntu 21.10
Reviewed-by: serb
2022-02-06 21:13:17 +00:00
Toshio Nakamura
f7814c120b 8139173: [macosx] JInternalFrame shadow is not properly drawn
Reviewed-by: prr, serb
2022-02-06 18:39:44 +00:00
Joe Darcy
77b0240d44 8281183: RandomGenerator:NextDouble() default behavior partially fixed by JDK-8280950
Reviewed-by: jlaskey
2022-02-06 02:19:32 +00:00
Xue-Lei Andrew Fan
42e272e181 8281289: Improve with List.copyOf
Reviewed-by: jnimeh, hchao
2022-02-05 07:44:57 +00:00
Kevin Walls
48523b0908 8281049: man page update for jstatd Security Manager dependency removal
Reviewed-by: cjplummer
2022-02-04 21:23:58 +00:00
Yumin Qi
8e4ef818a9 8280767: -XX:ArchiveClassesAtExit does not archive BoundMethodHandle$Species classes
Reviewed-by: iklam, ccheung
2022-02-04 19:20:22 +00:00
Daniel D. Daugherty
f5d6fddc6d 8280476: [macOS] : hotspot arm64 bug exposed by latest clang
Reviewed-by: kbarrett, adinn
2022-02-04 17:37:01 +00:00
Albert Mingkun Yang
d4b99bc029 8281120: G1: Rename G1BlockOffsetTablePart::alloc_block to update_for_block
Reviewed-by: tschatzl, iwalulya, sjohanss
2022-02-04 16:03:50 +00:00
Manukumar V S
66b2c3b66e 8280948: [TESTBUG] Write a regression test for JDK-4659800
Reviewed-by: aivanov
2022-02-04 15:25:13 +00:00
Jesper Wilhelmsson
7207f2a3b5 Merge 2022-02-04 14:47:06 +00:00
Rob McKenna
3d926dd66e 8277795: ldap connection timeout not honoured under contention
Reviewed-by: dfuchs, aefimov
2022-02-04 13:07:03 +00:00
Manukumar V S
51b53a821b 8280913: Create a regression test for JRootPane.setDefaultButton() method
Reviewed-by: aivanov
2022-02-04 10:51:30 +00:00
Martin Doerr
46c6c6f308 8281043: Intrinsify recursive ObjectMonitor locking for PPC64
Reviewed-by: rrich, lucy
2022-02-04 09:13:41 +00:00
Richard Reingruber
c936e7059b 8280593: [PPC64, S390] redundant allocation of MacroAssembler in StubGenerator ctor
Reviewed-by: mdoerr, lucy
2022-02-04 07:57:55 +00:00
Matthias Baesken
01f93ddf18 8279385: [test] Adjust sun/security/pkcs12/KeytoolOpensslInteropTest.java after 8278344
Reviewed-by: mullan, xuelei
Backport-of: 9bdf6eb7b2
2022-02-04 07:47:42 +00:00
Andrey Turbanov
63e11cfa3f 8280970: Cleanup dead code in java.security.Provider
Reviewed-by: valeriep
2022-02-04 07:08:07 +00:00
Dean Long
e44dc638b8 8271055: Crash during deoptimization with "assert(bb->is_reachable()) failed: getting result from unreachable basicblock" with -XX:+VerifyStack
Co-authored-by: Yi Yang <yyang@openjdk.org>
Co-authored-by: Yi Yang <qingfeng.yy@alibaba-inc.com>
Reviewed-by: vlivanov, thartmann
2022-02-03 22:10:44 +00:00
Yi-Fan Tsai
b6935dfb86 8251505: Use of types in compiler shared code should be consistent.
Reviewed-by: phh
2022-02-03 19:34:28 +00:00
Brian Burkhalter
130cf46dcb 4750574: (se spec) Selector spec should clarify calculation of select return value
Reviewed-by: alanb
2022-02-03 19:12:27 +00:00
Yumin Qi
cda9c3011b 8278753: Runtime crashes with access violation during JNI_CreateJavaVM call
Reviewed-by: dholmes, stuefe
2022-02-03 18:02:40 +00:00
Alex Menkov
86c24b319e 8240908: RetransformClass does not know about MethodParameters attribute
Reviewed-by: cjplummer, sspitsyn
2022-02-03 15:51:16 +00:00
Pavel Rappo
1f92660937 8281057: Fix doc references to overriding in JLS
Reviewed-by: darcy, iris, dholmes, cjplummer
2022-02-03 14:55:08 +00:00
Thomas Stuefe
010965c86a 8281023: NMT integration into pp debug command does not work
Reviewed-by: zgu, iklam
2022-02-03 14:12:29 +00:00
Kevin Walls
63a00a0df2 8272777: Clean up remaining AccessController warnings in test library
Reviewed-by: rriggs, sspitsyn
2022-02-03 10:10:45 +00:00
Roman Kennke
5ab22e88da 8276990: Memory leak in invoker.c fillInvokeRequest() during JDI operations
Reviewed-by: sspitsyn, cjplummer
2022-02-03 07:24:59 +00:00
Artem Semenov
fe547eacd7 8280956: Re-examine copyright headers on files in src/java.desktop/macosx/native/libawt_lwawt/awt/a11y
Reviewed-by: kizune, prr
2022-02-03 07:22:30 +00:00
Xue-Lei Andrew Fan
a95ee5ada2 8065422: Trailing dot in hostname causes TLS handshake to fail with SNI disabled
Reviewed-by: weijun
2022-02-03 06:28:19 +00:00
Jesper Wilhelmsson
a46307a79d Merge 2022-02-03 01:11:16 +00:00
Chris Plummer
fe0118f804 8279662: serviceability/sa/ClhsdbScanOops.java can fail do to unexpected GC
Reviewed-by: sspitsyn, kevinw
2022-02-02 21:51:39 +00:00
Masanori Yano
e3d5c9e7c4 8266974: duplicate property key in java.sql.rowset resource bundle
Reviewed-by: lancea
2022-02-02 21:02:19 +00:00
Daniel Fuchs
47800bf3da 8280868: LineBodyHandlerTest.java creates and discards too many clients
Reviewed-by: michaelm
2022-02-02 17:11:22 +00:00
Albert Mingkun Yang
9d578537ce 8281042: G1: Remove unused init_threshold in G1FullGCCompactionPoint
Reviewed-by: tschatzl, kbarrett
2022-02-02 15:17:50 +00:00
Michael McMahon
87ab0994de 8280944: Enable Unix domain sockets in Windows Selector notification mechanism
Reviewed-by: dfuchs, alanb
2022-02-02 15:04:59 +00:00
Roman Kennke
ce71e8b281 8279917: Refactor subclassAudits in Thread to use ClassValue
Reviewed-by: alanb, rriggs
2022-02-02 14:56:52 +00:00
Albert Mingkun Yang
4ea6037ea5 8281035: Serial: Move RemoveForwardedPointerClosure to local scope
Reviewed-by: kbarrett, tschatzl
2022-02-02 10:43:02 +00:00
Prasanta Sadhukhan
ae2504b469 8278254: Cleanup doclint warnings in java.desktop module
Reviewed-by: aivanov, serb
2022-02-02 10:04:50 +00:00
Roland Westrelin
de826ba18a 8280600: C2: assert(!had_error) failed: bad dominance
Reviewed-by: kvn, thartmann
2022-02-02 08:01:00 +00:00
Roland Westrelin
4304a7728e 8279535: C2: Dead code in PhaseIdealLoop::create_loop_nest after JDK-8276116
Reviewed-by: thartmann
2022-02-02 07:38:36 +00:00
Roland Westrelin
ab638341de 8280885: Shenandoah: Some tests failed with "EA: missing allocation reference path"
Reviewed-by: rkennke
2022-02-02 07:37:44 +00:00
Jatin Bhateja
48a32b5f3a 8280976: Incorrect encoding of avx512 vpsraq instruction with mask and constant shift.
Reviewed-by: neliasso, thartmann
2022-02-02 07:36:47 +00:00
Roland Westrelin
97af323041 8280842: Access violation in ciTypeFlow::profiled_count
Reviewed-by: neliasso, vlivanov, kvn
2022-02-02 07:35:34 +00:00
Roland Westrelin
d32f99ee65 8279219: [REDO] C2 crash when allocating array of size too large
Reviewed-by: thartmann, neliasso
2022-02-02 07:34:22 +00:00
Chris Plummer
85d839fb4f 8280601: ClhsdbThreadContext.java test is triggering codecache related asserts
Reviewed-by: kevinw, sspitsyn
2022-02-01 23:02:06 +00:00
Joe Darcy
9ca7ff3e4f 8281082: Improve javadoc references to JOSS
Reviewed-by: iris, rriggs, naoto, lancea
2022-02-01 22:30:08 +00:00
Boris Ulasevich
c74b8f48fa 8275914: SHA3: changing java implementation to help C2 create high-performance code
Reviewed-by: ascarpino, phh
2022-02-01 20:56:57 +00:00
Aleksey Shipilev
a18beb4797 8280867: Cpuid1Ecx feature parsing is incorrect for AMD CPUs
Reviewed-by: kvn, dlong
2022-02-01 20:55:39 +00:00
Roger Riggs
fdd9ca74bd 8280642: ObjectInputStream.readObject should throw InvalidClassException instead of IllegalAccessError
Reviewed-by: naoto, mchung
2022-02-01 20:13:14 +00:00
Calvin Cheung
d95de5c7fe 8255495: Support CDS Archived Heap for uncompressed oops
Reviewed-by: iklam, tschatzl
2022-02-01 19:33:36 +00:00
Jim Laskey
bde2b3783e 8279954: java/lang/StringBuffer(StringBuilder)/HugeCapacity.java intermittently fails
Reviewed-by: shade, dholmes
2022-02-01 18:45:31 +00:00
Tobias Hartmann
2531c332f8 8278871: [JVMCI] assert((uint)reason < 2* _trap_hist_limit) failed: oob
Backport-of: 6f0e8da6d3
2022-02-01 17:41:15 +00:00
Thomas Stuefe
d1cc5fda8f 8280941: os::print_memory_mappings() prints segment preceeding the inclusion range
Reviewed-by: stefank, minqi
2022-02-01 17:19:26 +00:00
Chris Plummer
4532c3a163 8280554: resourcehogs/serviceability/sa/ClhsdbRegionDetailsScanOopsForG1.java can fail if GC is triggered
Reviewed-by: alanb, amenkov, lmesnik
2022-02-01 16:02:10 +00:00
Chris Plummer
5080e815b4 8280770: serviceability/sa/ClhsdbThreadContext.java sometimes fails with 'Thread "SteadyStateThread"' missing from stdout/stderr
Reviewed-by: sspitsyn, dholmes
2022-02-01 15:59:35 +00:00
Kim Barrett
1f6fcbe2f3 8278475: G1 dirty card refinement by Java threads may get unnecessarily paused
Reviewed-by: tschatzl, iwalulya
2022-02-01 15:44:26 +00:00
Albert Mingkun Yang
c5a86120df 8280458: G1: Remove G1BlockOffsetTablePart::_next_offset_threshold
Reviewed-by: tschatzl, iwalulya, sjohanss
2022-02-01 12:23:44 +00:00
Albert Mingkun Yang
86debf42f5 8280932: G1: Rename HeapRegionRemSet::_code_roots accessors
Reviewed-by: iwalulya
2022-02-01 11:03:31 +00:00
Albert Mingkun Yang
d37fb1df46 8280870: Parallel: Simplify CLD roots claim in Full GC cycle
Reviewed-by: stefank, sjohanss
2022-02-01 10:56:07 +00:00
Alexander Zuev
18a7dc8c08 8279586: [macos] custom JCheckBox and JRadioBox with custom icon set: focus is still displayed after unchecking
Reviewed-by: serb, azvegint
2022-02-01 10:20:38 +00:00
Albert Mingkun Yang
16ec47d5e5 8279856: Parallel: Use PreservedMarks to record promotion-failed objects
Reviewed-by: sjohanss, tschatzl
2022-02-01 08:47:10 +00:00
Michael McMahon
de3113b998 8279842: HTTPS Channel Binding support for Java GSS/Kerberos
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Reviewed-by: dfuchs, weijun, darcy
2022-02-01 07:26:59 +00:00
Joe Darcy
0e70d4504c 8280950: RandomGenerator:NextDouble() default behavior non conformant after JDK-8280550 fix
Reviewed-by: bpb, jlaskey
2022-02-01 01:27:18 +00:00
Jonathan Gibbons
1ea01465ab 8281007: Test jdk/javadoc/doclet/checkStylesheetClasses/CheckStylesheetClasses.java fails after JDK-8280738
Reviewed-by: darcy
2022-02-01 00:31:19 +00:00
Mandy Chung
9c0104b9c9 8221642: AccessibleObject::setAccessible throws NPE when invoked by JNI code with no java frame on stack
Reviewed-by: alanb
2022-02-01 00:09:35 +00:00
Joe Darcy
4dbebb62aa 8280534: Enable compile-time doclint reference checking
Reviewed-by: serb, naoto, mchung, lancea, iris
2022-01-31 23:22:38 +00:00
Igor Veresov
4191b2b9b9 8275337: C1: assert(false) failed: live_in set of first block must be empty
Reviewed-by: kvn
2022-01-31 23:02:34 +00:00
Jonathan Gibbons
96d0df72db 8272984: javadoc support for reproducible builds
Reviewed-by: hannesw
2022-01-31 22:54:18 +00:00
Jonathan Gibbons
ee3be0bb56 8280488: doclint reference checks withstand warning suppression
Reviewed-by: darcy
2022-01-31 22:47:46 +00:00
Jonathan Gibbons
74921e8422 8280738: Minor cleanup for HtmlStyle
Reviewed-by: hannesw
2022-01-31 22:45:16 +00:00
Ioi Lam
39165613aa 8280543: Update the "java" and "jcmd" tool specification for CDS
Reviewed-by: hseigel, sspitsyn, ccheung
2022-01-31 21:48:32 +00:00
Xue-Lei Andrew Fan
f991891b0b 8280949: Correct the references for the Java Security Standard Algorithm Names specification
Reviewed-by: mullan
2022-01-31 20:25:50 +00:00
Yumin Qi
319b77492f 8277101: jcmd VM.cds dynamic_dump should not regenerate holder classes
Reviewed-by: iklam, ccheung
2022-01-31 19:27:59 +00:00
Thomas Schatzl
993a2488ef 8280450: Add task queue printing to STW Full GCs
Reviewed-by: ayang, sjohanss
2022-01-31 16:52:28 +00:00
Thomas Schatzl
dcc666d53d 8280139: Report more detailed statistics about task stealing in task queue stats
Reviewed-by: kbarrett, iwalulya
2022-01-31 16:51:10 +00:00
Thomas Schatzl
bdda43e066 8280705: Parallel: Full gc mark stack draining should prefer to make work available to other threads
Reviewed-by: ayang, mli
2022-01-31 16:01:18 +00:00
Dmitry Batrak
091aff92e2 8278908: [macOS] Unexpected text normalization on pasting from clipboard
Reviewed-by: serb, aivanov
2022-01-31 13:43:35 +00:00
Stefan Karlsson
61794c5039 8280817: Clean up and unify empty VM operations
Reviewed-by: shade, coleenp
2022-01-31 12:30:09 +00:00
Andrey Turbanov
c6ed2046b4 8278263: Remove redundant synchronized from URLStreamHandler.openConnection methods
Reviewed-by: dfuchs
2022-01-31 12:11:03 +00:00
Aleksey Shipilev
251351f494 8280889: java/lang/instrument/GetObjectSizeIntrinsicsTest.java fails with -XX:-UseCompressedOops
Reviewed-by: sspitsyn, dcubed
2022-01-31 08:49:02 +00:00
Chris Plummer
be9f984cae 8280553: resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java can fail if GC occurs
Reviewed-by: alanb, amenkov
2022-01-29 21:35:06 +00:00
Andrey Turbanov
268880b471 8277412: Use String.isBlank to simplify code in sun.net.www.protocol.mailto.Handler
Reviewed-by: dfuchs
2022-01-29 11:36:11 +00:00
Brian Burkhalter
d366d15d67 8280903: javadoc build fails after JDK-4774868
Reviewed-by: lancea
2022-01-28 23:18:20 +00:00
Denghui Dong
9139159898 8280843: macos-Aarch64 SEGV in frame::sender_for_compiled_frame after JDK-8277948
Reviewed-by: aph, dholmes
2022-01-28 22:52:32 +00:00
Chris Plummer
0740ac474c 8280555: serviceability/sa/TestObjectMonitorIterate.java is failing due to ObjectMonitor referencing a null Object
Reviewed-by: sspitsyn, lmesnik
2022-01-28 18:51:21 +00:00
Daniel D. Daugherty
ff34d624ba 8280898: ProblemList compiler/regalloc/TestC2IntPressure.java on macosx-aarch64
Reviewed-by: ctornqvi
2022-01-28 18:09:35 +00:00
Brian Burkhalter
95ee9bf7be 4774868: (fc spec) Unclear spec for FileChannel.force
Reviewed-by: alanb
2022-01-28 17:12:42 +00:00
Sebastian Stenzel
409382ba4b 8280703: CipherCore.doFinal(...) causes potentially massive byte[] allocations during decryption
Reviewed-by: ascarpino
2022-01-28 16:42:42 +00:00
Kevin Walls
cb8a82ee24 8272317: jstatd has dependency on Security Manager which needs to be removed
Reviewed-by: cjplummer, rriggs
2022-01-28 12:54:19 +00:00
Magnus Ihse Bursie
6de90ad980 8280863: Update build README to reflect that MSYS2 is supported
Reviewed-by: ihse
2022-01-28 12:45:43 +00:00
Thomas Schatzl
ed826f2927 8280397: Factor out task queue statistics printing
Reviewed-by: pliden, kbarrett, mli
2022-01-28 09:16:43 +00:00
Stefan Karlsson
8a3cca09ba 8280784: VM_Cleanup unnecessarily processes all thread oops
Reviewed-by: eosterlund, shade
2022-01-28 09:06:06 +00:00
Albert Mingkun Yang
973dda5ce0 8280804: Parallel: Remove unused variables in PSPromotionManager::drain_stacks_depth
Reviewed-by: tschatzl, mli
2022-01-28 08:11:44 +00:00
Thomas Stuefe
55f180fb7d 8280004: DCmdArgument<jlong>::parse_value() should handle NULL input
Reviewed-by: dholmes, mbaesken
2022-01-28 08:10:12 +00:00
Andrey Turbanov
178ac74653 8251466: test/java/io/File/GetXSpace.java fails on Windows with mapped network drives.
Reviewed-by: bpb
2022-01-28 07:01:21 +00:00
Ioi Lam
a1d1e4753b 8280823: Remove NULL check in DumpTimeClassInfo::is_excluded
Reviewed-by: minqi, ccheung
2022-01-28 01:55:16 +00:00
Denghui Dong
094db1a3ee 8277948: AArch64: Print the correct native stack if -XX:+PreserveFramePointer when crash
Reviewed-by: aph, adinn
2022-01-28 00:49:17 +00:00
Joe Darcy
78574057a4 8280744: Allow SuppressWarnings to be used in all declaration contexts
Reviewed-by: iris
2022-01-28 00:44:13 +00:00
Joe Darcy
40a2ce2033 8270476: Make floating-point test infrastructure more lambda and method reference friendly
Reviewed-by: bpb
2022-01-27 22:57:09 +00:00
Jonathan Gibbons
6d242e4065 8280835: jdk/javadoc/tool/CheckManPageOptions.java depends on source hierarchy
Reviewed-by: hannesw
2022-01-27 21:58:44 +00:00
Brian Burkhalter
ece89c6df1 8280366: (fs) Restore Files.createTempFile javadoc
Reviewed-by: alanb, lancea
2022-01-27 21:00:45 +00:00
Xin Liu
b94ebaa09c 8280686: Remove Compile::print_method_impl
Reviewed-by: neliasso, chagedorn, thartmann
2022-01-27 19:31:19 +00:00
Yumin Qi
a3a0dcd921 8280353: -XX:ArchiveClassesAtExit should print warning if base archive failed to load
Reviewed-by: iklam, ccheung
2022-01-27 18:58:49 +00:00
Thomas Stuefe
cab590517b 8280583: Always build NMT
Reviewed-by: shade, ihse, zgu
2022-01-27 09:18:17 +00:00
Thomas Schatzl
7f68759c60 8280719: G1: Remove outdated comment in RemoveSelfForwardPtrObjClosure::apply
Reviewed-by: ayang, mli
2022-01-27 09:06:13 +00:00
Prasanta Sadhukhan
94380d0e46 8278232: [macos] Wrong chars emitted when entering certain char-sequence of Indic language
Reviewed-by: prr
2022-01-27 08:59:34 +00:00
Roland Westrelin
0dba170791 8278518: String(byte[], int, int, Charset) constructor and String.translateEscapes() miss bounds check elimination
Co-authored-by: Sergey Tsypanov <stsypanov@openjdk.org>
Reviewed-by: kvn, jrose
2022-01-27 08:44:58 +00:00
Andrey Turbanov
2ea0edf2c4 8279673: AudioClip.play doesn't work due to NullPointerException when creating DataPusher
Reviewed-by: prr, serb
2022-01-27 07:00:56 +00:00
Jaikiran Pai
890830196d 8076089: Cleanup: Inline & remove sun.management.Util.newException
Reviewed-by: kevinw, amenkov, dfuchs, sspitsyn
2022-01-27 03:57:28 +00:00
Hai-May Chao
c2ee1b33c3 8273236: keytool does not accurately warn about algorithms that are disabled but have additional constraints
Reviewed-by: mullan
2022-01-26 20:31:04 +00:00
Chris Plummer
16e0ad0ad0 8270199: Most SA tests are skipped on macosx-aarch64 because all executables are signed
Reviewed-by: dholmes, kevinw
2022-01-26 18:06:05 +00:00
Alexandre Iline
d2a50a6492 8279636: Update JCov version to 3.0.12
Reviewed-by: alanb, erikj
2022-01-26 18:05:15 +00:00
Liam Miller-Cushon
b5de2cc9d3 8280546: Remove hard-coded 127.0.0.1 loopback address
Reviewed-by: mullan
2022-01-26 17:40:17 +00:00
Joe Darcy
0c42e43f77 8280550: SplittableRandom#nextDouble(double,double) can return result >= bound
Reviewed-by: jlaskey, psandoz
2022-01-26 17:25:30 +00:00
Jesper Wilhelmsson
a5a11f14b9 Merge 2022-01-26 17:24:17 +00:00
Jonathan Gibbons
b8365aa485 8268978: Document the javadoc software stack
Reviewed-by: hannesw
2022-01-26 17:10:45 +00:00
Kim Barrett
4b2370e576 8279294: NonblockingQueue::try_pop may improperly indicate queue is empty
Reviewed-by: iwalulya, tschatzl
2022-01-26 17:07:53 +00:00
Jonathan Gibbons
e1d8f55564 8280402: Add new convenience forms to HtmlTree
Reviewed-by: hannesw
2022-01-26 17:06:50 +00:00
stsypanov
f34f8d4d6a 8277983: Remove unused fields from sun.net.www.protocol.jar.JarURLConnection
Reviewed-by: dfuchs
2022-01-26 14:12:51 +00:00
Roman Kennke
a07e19d833 8278410: Improve argument processing around UseHeavyMonitors
Reviewed-by: rehn, dholmes
2022-01-26 11:05:30 +00:00
Emanuel Peter
ed0df2fa1f 8268033: compiler/intrinsics/bmi/verifycode/BzhiTestI2L.java fails with "fatal error: Not compilable at tier 3: CodeBuffer overflow"
Reviewed-by: kvn, neliasso, chagedorn
2022-01-26 10:12:22 +00:00
Matthias Baesken
c180070cb5 8280373: Update Xalan serializer / SystemIDResolver to align with JDK-8270492
Reviewed-by: yan, joehw
2022-01-26 08:41:37 +00:00
Aleksey Shipilev
a24f44d17d 8280526: x86_32 Math.sqrt performance regression with -XX:UseSSE={0,1}
Reviewed-by: kvn, neliasso
2022-01-26 08:31:49 +00:00
Andrey Turbanov
e72eefd9f6 8280531: Remove unused DeferredCloseInputStream
Reviewed-by: bpb, rriggs, iris
2022-01-26 06:52:12 +00:00
Hamlin Li
2c64a7f2e3 8280374: G1: Remove unnecessary prev bitmap mark
Reviewed-by: tschatzl, ayang
2022-01-26 06:11:04 +00:00
Mandy Chung
a183bfb436 8280377: MethodHandleProxies does not correctly invoke default methods with varags
Reviewed-by: alanb
2022-01-26 01:24:15 +00:00
Maurizio Cimadamore
ef08e2c63b 8280592: Small javadoc tweaks to foreign API
Reviewed-by: psandoz
2022-01-26 01:12:37 +00:00
Vicente Romero
2eab86b513 8213905: reflection not working for type annotations applied to exception types in the inner class constructor
Reviewed-by: jlahoda
2022-01-26 00:33:10 +00:00
Joe Darcy
295c0474c4 8279242: Reflection newInstance() error message when constructor has no access modifiers could use improvement
Reviewed-by: iris, dholmes, mchung
2022-01-25 20:05:49 +00:00
Chris Plummer
841eae6f52 8269542: JDWP: EnableCollection support is no longer spec compliant after JDK-8255987
8258071: Fix for JDK-8255987 can be subverted with ObjectReference.EnableCollection

Reviewed-by: dholmes, pliden
2022-01-25 19:26:11 +00:00
Aleksey Shipilev
76fe03fe01 8280166: Extend java/lang/instrument/GetObjectSizeIntrinsicsTest.java test cases
Reviewed-by: sspitsyn, lmesnik
2022-01-25 19:23:02 +00:00
Aleksey Shipilev
cebaad1c94 8280041: Retry loop issues in java.io.ClassCache
Co-authored-by: Peter Levart <plevart@openjdk.org>
Reviewed-by: rkennke, rriggs, plevart
2022-01-25 19:22:07 +00:00
Joe Darcy
cbe8395ace 8280168: Add Objects.toIdentityString
Reviewed-by: alanb, mchung, rriggs, smarks
2022-01-25 18:15:37 +00:00
Brian Burkhalter
f4575e4052 8279946: (ch) java.nio.channels.FileChannel tryLock and write methods are missing @throws NonWritableChannelException
Reviewed-by: alanb
2022-01-25 18:02:18 +00:00
Thomas Schatzl
674a97b27e 8280396: G1: Full gc mark stack draining should prefer to make work available to other threads
Reviewed-by: sjohanss, ayang
2022-01-25 16:27:30 +00:00
Daniel Jeliński
fe77250fa4 8280414: Memory leak in DefaultProxySelector
Reviewed-by: dfuchs
2022-01-25 14:41:41 +00:00
Albert Mingkun Yang
496baada10 8280030: [REDO] Parallel: More precise boundary in ObjectStartArray::object_starts_in_range
Reviewed-by: sjohanss, tschatzl
2022-01-25 14:09:53 +00:00
Hamlin Li
4503d0431c 8280375: G1: Tighten mem region limit in G1RebuildRemSetHeapRegionClosure
Reviewed-by: tschatzl, ayang
2022-01-25 12:11:21 +00:00
Daniel Jeliński
36fbec78be 8280241: (aio) AsynchronousSocketChannel init fails in IPv6 only Windows env
Reviewed-by: dfuchs, alanb
2022-01-25 11:15:47 +00:00
Daniel Jeliński
28796cbd1d 8163921: HttpURLConnection default Accept header is malformed according to HTTP/1.1 RFC
Reviewed-by: dfuchs, michaelm
2022-01-25 11:10:51 +00:00
Lutz Schmidt
c43ce85f01 8278302: [s390] Implement fast-path for ASCII-compatible CharsetEncoders
Reviewed-by: mdoerr
2022-01-25 10:07:07 +00:00
Tobias Holenstein
1b14157677 8280274: Guard printing code of Compile::print_method in PRODUCT
Reviewed-by: thartmann, neliasso
2022-01-25 09:59:55 +00:00
Thomas Stuefe
2155afe2a8 8280503: Use allStatic.hpp instead of allocation.hpp where possible
Reviewed-by: dholmes, iklam
2022-01-25 09:15:11 +00:00
Thomas Schatzl
295b263fa9 8279241: G1 Full GC does not always slide memory to bottom addresses
Reviewed-by: iwalulya, ayang, sjohanss
2022-01-25 09:13:50 +00:00
Thomas Schatzl
b32774653f 8280384: Parallel: Remove VMThread specific ParCompactionManager
Reviewed-by: ayang, sjohanss
2022-01-25 09:12:18 +00:00
Andrey Turbanov
53804720a0 8280470: Confusing instanceof check in HijrahChronology.range
Reviewed-by: rriggs, naoto, dfuchs, iris
2022-01-25 08:08:17 +00:00
Zhengyu Gu
a59d717fd6 8280289: Enhance debug pp() command with NMT info
Reviewed-by: stuefe, iklam
2022-01-25 01:31:24 +00:00
David Holmes
f35df5bfb5 8280422: thread_from_jni_environment can never return NULL
Reviewed-by: shade, kbarrett
2022-01-25 01:22:48 +00:00
Ian Graves
e3076552ec 8280403: RegEx: String.split can fail with NPE in Pattern.CharPredicate::match
Reviewed-by: lancea, iris, naoto, rriggs
2022-01-24 22:21:22 +00:00
Jesper Wilhelmsson
52ddbe2dcd Merge 2022-01-24 21:53:27 +00:00
Joe Darcy
8e82d0021c 8280492: Use cross-module syntax for cross-module links
Reviewed-by: iris, serb, lancea, dfuchs, aivanov
2022-01-24 20:16:38 +00:00
Daniel Jeliński
a5416669a5 8280474: Garbage value passed to getLocaleInfoWrapper in HostLocaleProviderAdapter_md
Reviewed-by: naoto, alanb
2022-01-24 19:31:11 +00:00
Alexey Ivanov
a825a4a1db 8279861: Clarify 'rect' parameters and description of paintTabBorder method in BasicTabbedPaneUI
Reviewed-by: prr, psadhukhan
2022-01-24 18:35:53 +00:00
Alexey Ivanov
0b5c54be67 8279798: Javadoc for BasicTabbedPaneUI is inconsistent
Reviewed-by: prr, psadhukhan
2022-01-24 18:32:35 +00:00
Alexey Ivanov
acd98294c6 8279794: Fix typos in BasicScrollBarUI: Laysouts a vertical scroll bar
Reviewed-by: prr, psadhukhan
2022-01-24 18:31:43 +00:00
Alexey Ivanov
dae2226a53 8279795: Fix typo in BasicFileChooserUI: Constucts -> Constructs
Reviewed-by: prr, serb
2022-01-24 18:30:31 +00:00
Kim Barrett
1c7769d35b 8280437: Move G1BufferNodeList to gc/shared
Reviewed-by: sjohanss, iwalulya, mli
2022-01-24 17:23:14 +00:00
Kim Barrett
4b329addf1 8280496: Remove unused G1PageBasedVirtualSpace::pretouch_internal
Reviewed-by: tschatzl, sjohanss, mli
2022-01-24 17:08:50 +00:00
Angelos Bimpoudis
2b13341500 8036019: Insufficient alternatives listed in some errors produced by the parser
Reviewed-by: vromero
2022-01-24 15:09:17 +00:00
Dmitry Kulikov
d53d8bd708 8279315: Add Git support to update_copyright_year.sh script
Reviewed-by: erikj
2022-01-24 14:07:14 +00:00
Jan Lahoda
18c9cb0789 8280067: Incorrect code generated for unary - on char operand
Reviewed-by: jlaskey, vromero
2022-01-24 13:52:16 +00:00
Zhengyu Gu
44db4794d2 8280391: NMT: Correct NMT tag on CollectedHeap
Reviewed-by: kbarrett, tschatzl, mli
2022-01-24 13:34:37 +00:00
Harold Seigel
4501ddda7f 8214733: runtime/8176717/TestInheritFD.java timed out
Reviewed-by: lmesnik, coleenp, dcubed
2022-01-24 13:33:43 +00:00
Roman Kennke
afd2805ef2 8279534: Consolidate and remove oopDesc::klass_gap methods
Reviewed-by: shade, dholmes
2022-01-24 11:16:53 +00:00
Andrey Turbanov
f05ff99654 8280174: Possible NPE in Thread.dispatchUncaughtException
Reviewed-by: alanb
2022-01-24 11:10:16 +00:00
Dmitry Markov
7a0a6c95a5 8274751: Drag And Drop hangs on Windows
Reviewed-by: aivanov, prr, serb
2022-01-24 10:55:13 +00:00
Jie Fu
0567a84d49 8280457: Duplicate implementation of dprecision_rounding and dstore_rounding
Reviewed-by: vlivanov, shade
2022-01-24 10:52:15 +00:00
Julia Boes
ead9feccae 8280441: Missing "classpath exception" in several files from jdk.httpserver
Reviewed-by: alanb, dfuchs
2022-01-24 10:03:40 +00:00
Aleksey Shipilev
d1569111d7 8280459: Suspicious integer division in Hashtable.readHashtable
Reviewed-by: rriggs, bpb
2022-01-24 09:18:20 +00:00
Xin Liu
9bf6ffa19f 8279124: VM does not handle SIGQUIT during initialization
Reviewed-by: dholmes, stuefe
2022-01-24 05:05:07 +00:00
Jie Fu
30cd47d421 8280499: runtime/cds/appcds/TestDumpClassListSource.java fails on platforms without AppCDS custom class loaders support
Reviewed-by: iklam
2022-01-24 04:37:51 +00:00
Andrey Turbanov
54c9de26ab 8275918: Remove unused local variables in java.base security code
Reviewed-by: weijun
2022-01-22 13:56:51 +00:00
Calvin Cheung
b9ae77906e 8279675: CDS cannot handle non-existent JAR file in bootclassapth
Reviewed-by: iklam, minqi
2022-01-21 23:47:09 +00:00
Jonathan Gibbons
7d2ef9d984 8279179: Update nroff pages in JDK 18 before RC
Reviewed-by: iris, mchung
2022-01-21 23:18:37 +00:00
Joe Darcy
c1e4f3dd1b 8279397: Update --release 18 symbol information for JDK 18 build 32
Reviewed-by: iris, jlahoda
2022-01-21 18:55:25 +00:00
Yi-Fan Tsai
2920ce5487 8278036: Saving rscratch1 is optional in MacroAssembler::verify_heapbase
Reviewed-by: xliu, phh, coleenp
2022-01-21 18:09:17 +00:00
KIRIYAMA Takuya
6287ae3707 8277531: Print actual default stacksize on Windows thread logging
Reviewed-by: dholmes, stuefe
2022-01-21 13:36:29 +00:00
Hannes Wallnöfer
ab2c8d3c9b 8280393: Promote use of HtmlTree factory methods
Reviewed-by: jjg
2022-01-21 09:10:19 +00:00
Andrey Turbanov
47b1c51bbd 8277120: Use Optional.isEmpty instead of !Optional.isPresent in java.net.http
Reviewed-by: dfuchs
2022-01-21 08:53:37 +00:00
Roland Westrelin
19f877981e 8278784: C2: Refactor PhaseIdealLoop::remix_address_expressions() so it operates on longs
Reviewed-by: chagedorn, thartmann
2022-01-21 07:32:08 +00:00
Weijun Wang
6352c020c2 8280401: [sspi] gss_accept_sec_context leaves output_token uninitialized
Reviewed-by: valeriep
2022-01-21 03:16:08 +00:00
Yi-Fan Tsai
35ee0f38c6 8258814: Compilation logging crashes for thread suspension / debugging tests
Reviewed-by: xliu, phh
2022-01-20 23:46:26 +00:00
Daniel D. Daugherty
293fb46f7c 8280413: ProblemList jdk/jfr/event/oldobject/TestLargeRootSet.java on all X64 platforms
Reviewed-by: azvegint
2022-01-20 20:27:37 +00:00
Alexey Ivanov
2426d58e59 8278472: Invalid value set to CANDIDATEFORM structure
Reviewed-by: prr, naoto, serb
2022-01-20 20:12:11 +00:00
Quan Anh Mai
02390c79b1 8279282: [vectorapi] Matcher::supports_vector_comparison_unsigned is not needed on x86
Reviewed-by: kvn, sviswanathan, vlivanov
2022-01-20 18:24:53 +00:00
Andrey Turbanov
3419ff7ba7 8277535: Remove redundant Stream.distinct()/sorted() steps
Reviewed-by: prappo
2022-01-20 18:11:55 +00:00
Yumin Qi
d48279b0bf 8279009: CDS crashes when the source of an InstanceKlass is NULL
Reviewed-by: iklam, ccheung
2022-01-20 17:52:49 +00:00
Albert Mingkun Yang
9636502658 8279008: G1: Calculate BOT threshold on-the-fly during Object Copy phase
Reviewed-by: tschatzl, sjohanss
2022-01-20 17:18:54 +00:00
Xue-Lei Andrew Fan
0ea2b39035 8280363: Minor correction of ALPN specification in SSLParameters
Reviewed-by: dfuchs, mullan
2022-01-20 16:50:17 +00:00
Hannes Wallnöfer
ec8b6acff3 8234682: The order of @param in the generated docs should match the method signature
Reviewed-by: prappo
2022-01-20 16:17:08 +00:00
Harold Seigel
a4d201909c 8280178: Remove os:: API's that just call system API's
Reviewed-by: iklam, ccheung, dholmes
2022-01-20 13:10:33 +00:00
Albert Mingkun Yang
98b157a79a 8280146: Parallel: Remove time log tag
Reviewed-by: tschatzl, iwalulya
2022-01-20 12:33:16 +00:00
Julia Boes
20297deaeb 8280161: com/sun/net/httpserver/simpleserver/jwebserver/MaxRequestTimeTest.java fails with SSLException
Reviewed-by: dfuchs
2022-01-20 12:16:21 +00:00
Vladimir Ivanov
3f747368b9 8280123: C2: Infinite loop in CMoveINode::Ideal during IGVN
Reviewed-by: kvn, thartmann, chagedorn
2022-01-20 11:23:17 +00:00
Sergey Tsypanov
cf977e88ec 8276166: Remove dead code from MimeTable and MimeEntry
Reviewed-by: dfuchs
2022-01-20 09:14:49 +00:00
Zhiqiang Zang
0bf95a1a73 8279607: Existing optimization "~x+1" -> "-x" can be generalized to "~x+c" -> "(c-1)-x".
Reviewed-by: thartmann, kvn
2022-01-20 07:38:04 +00:00
Jaikiran Pai
e683d4ac8d 8279921: Dump the .class file in jlink debug mode for any failure during transform() of a plugin
Reviewed-by: mchung
2022-01-20 04:49:52 +00:00
Prasanta Sadhukhan
1022cbdf98 8280047: Broken link to Swing Connection document from javax.swing package docs
Reviewed-by: kcr, aivanov
2022-01-20 04:16:11 +00:00
Prasanta Sadhukhan
c4a624d463 8279894: javax/swing/JInternalFrame/8020708/bug8020708.java timeouts on Windows 11
Reviewed-by: serb, kizune
2022-01-20 04:13:50 +00:00
Jesper Wilhelmsson
4616c13c2f Merge 2022-01-20 01:18:38 +00:00
Weijun Wang
98d96a7707 8279796: Fix typo: Constucts -> Constructs
Reviewed-by: iris
2022-01-19 23:06:51 +00:00
Gerard Ziemski
d1efb0cc56 8267341: macos attempt_reserve_memory_at(arg1, arg2, true) failure
Reviewed-by: dcubed, dholmes
2022-01-19 22:34:54 +00:00
Erik Gahlin
6179e13b08 8266410: jdk/jfr/javaagent/TestLoadedAgent.java failed with "Mismatch in TestEvent count"
Reviewed-by: mgronlun
2022-01-19 22:23:51 +00:00
Alexandre Iline
5523ddebd5 8279641: Create manual JTReg tests for Swing accessibility
Reviewed-by: serb, prr
2022-01-19 21:02:08 +00:00
Liam Miller-Cushon
dac15efc1b 8280182: HotSpot Style Guide has stale link to chromium style guide
Reviewed-by: dholmes
2022-01-19 20:17:14 +00:00
Michael McMahon
03680bea1c 8280233: Temporarily disable Unix domain sockets in Windows PipeImpl
Reviewed-by: alanb
2022-01-19 19:48:37 +00:00
Alisen Chung
84fa0d8c7d 8190264: JScrollBar ignores its border when using macOS Mac OS X Aqua look and feel
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: kizune, serb, aivanov
2022-01-19 19:12:35 +00:00
Jan Lahoda
be0538d7c8 8278834: Error "Cannot read field "sym" because "this.lvar[od]" is null" when compiling
Reviewed-by: vromero
2022-01-19 19:03:02 +00:00
Jonathan Gibbons
610a12904d 8268831: Improve javadoc tool handling of streams.
Reviewed-by: hannesw
2022-01-19 17:56:25 +00:00
Daniel D. Daugherty
f5de6fa799 8272058: 25 Null pointer dereference defect groups in 4 files
Reviewed-by: gziemski, coleenp, dlong
2022-01-19 17:37:36 +00:00
Erik Gahlin
e20c6bf972 8280189: JFR: TestPrintXML should print mismatching XML
Reviewed-by: mgronlun
2022-01-19 15:35:57 +00:00
Daniel Jelinski
b20b11cf82 8258240: make vscode-project on Windows generates jdk.code-workspace file with unescaped '\' in paths
Reviewed-by: erikj
2022-01-19 14:18:14 +00:00
Harold Seigel
96114315cf 8279936: Change shared code to use os:: system API's
Reviewed-by: dholmes, kbarrett
2022-01-19 13:51:23 +00:00
Albert Mingkun Yang
cc2f474c18 8280024: Parallel: Remove unnecessary region resizing methods in PSCardTable
Reviewed-by: tschatzl, mli
2022-01-19 12:02:42 +00:00
Matthias Baesken
8931c12258 8280157: wrong texts Falied in a couple of tests
Reviewed-by: egahlin, aivanov
2022-01-19 12:01:10 +00:00
Aleksey Shipilev
28e02fa2cb 8280234: AArch64 "core" variant does not build after JDK-8270947
Reviewed-by: adinn, aph
2022-01-19 12:01:05 +00:00
Emanuel Peter
68b40ec286 8273139: C2: assert(f <= 1 && f >= 0) failed: Incorrect frequency
Reviewed-by: thartmann, chagedorn, roland
2022-01-19 11:47:17 +00:00
Thomas Stuefe
39b1d75f25 8277822: Remove debug-only heap overrun checks in os::malloc and friends
Reviewed-by: coleenp, zgu
2022-01-19 11:16:00 +00:00
Andrey Turbanov
5af7f25814 8274811: Remove superfluous use of boxing in java.base
Reviewed-by: lancea
2022-01-19 10:59:40 +00:00
Martin Doerr
f37bfeadcf 8280155: [PPC64, s390] frame size checks are not yet correct
Reviewed-by: mbaesken, lucy
2022-01-19 08:28:31 +00:00
TejeshR13
44fe958c8a 6465404: some problems in CellEditor related API docs
Reviewed-by: psadhukhan, aivanov, kizune, serb, prr
2022-01-19 05:33:24 +00:00
Kim Barrett
69cfa9cb36 8273383: vmTestbase/vm/gc/containers/Combination05/TestDescription.java crashes verifying length of DCQS
Reviewed-by: tschatzl, sjohanss
2022-01-19 04:37:09 +00:00
Yumin Qi
b0496b0df6 8279970: two AppCDS tests fail after JDK-8261455
Reviewed-by: ccheung, iklam
2022-01-19 03:21:19 +00:00
sunguoyun
4eb4f94db0 8279956: Useless method Scheduling::ComputeLocalLatenciesForward()
Reviewed-by: jiefu, neliasso
2022-01-19 02:08:02 +00:00
Ioi Lam
4f4da3b172 8275318: loaded_classes_do may see ArrayKlass before InstanceKlass is loaded
Reviewed-by: coleenp, ccheung
2022-01-19 01:35:06 +00:00
Fei Gao
af6c9abafa 8279654: jdk/incubator/vector/Vector256ConversionTests.java crashes randomly with SVE
Reviewed-by: njian, kvn
2022-01-19 01:20:53 +00:00
Christian Hagedorn
6d3fd860d7 8278417: Closed test fails after JDK-8276108 on aarch64
Reviewed-by: kvn, iveresov, dlong
2022-01-18 23:35:36 +00:00
Jayathirth D V
82d6afe675 8274096: Improve decoding of image files
Reviewed-by: prr, kizune, rhalade, mschoene
2022-01-18 23:35:35 +00:00
Christian Hagedorn
3603e754ce 8274374: Additional fix for JDK-8272014
Reviewed-by: kvn, thartmann
2022-01-18 23:35:35 +00:00
Jayathirth D V
a6fd2c3114 8273838: Enhanced BMP processing
Reviewed-by: rhalade, ahgross, prr, kizune, azvegint, mschoene
2022-01-18 23:35:35 +00:00
Julia Boes
4525a4b94d 8270392: Improve String constructions
Reviewed-by: rhalade, dfuchs, robm, ahgross, smarks
2022-01-18 23:35:35 +00:00
Joe Wang
abf6fdd75a 8273968: JCK javax_xml tests fail in CI
Reviewed-by: naoto, lancea
2022-01-18 23:35:35 +00:00
Jayathirth D V
9c02c4c55f 8273756: Enhance BMP image support
Reviewed-by: prr, rhalade, kizune, mschoene
2022-01-18 23:35:35 +00:00
Alexander Zuev
12034273c7 8272462: Enhance image handling
Reviewed-by: jdv, ahgross, rhalade, prr
2022-01-18 23:35:35 +00:00
Weijun Wang
4d3663a6d0 8272026: Verify Jar Verification
Reviewed-by: rhalade, valeriep, mschoene
2022-01-18 23:35:35 +00:00
Christian Hagedorn
cb7482d5bd 8272014: Better array indexing
Reviewed-by: thartmann, rhalade, ahgross, kvn
2022-01-18 23:35:35 +00:00
Alexander Zuev
ae7877df2e 8273290: Enhance sound handling
Reviewed-by: rhalade, ahgross, prr, jdv
2022-01-18 23:35:34 +00:00
Joe Wang
78b2c8419b 8270492: Better resolution of URIs
Reviewed-by: lancea, naoto, ahgross, rhalade
2022-01-18 23:35:34 +00:00
Roger Riggs
3adc111766 8272236: Improve serial forms for transport
Reviewed-by: bchristi, rhalade, smarks
2022-01-18 23:35:34 +00:00
Ian Graves
aa28430bdd 8268813: Better String matching
Reviewed-by: mschoene, rhalade, smarks
2022-01-18 23:35:34 +00:00
Harold Seigel
4be02d3155 8271987: Manifest improved manifest entries
Reviewed-by: rhalade, dholmes
2022-01-18 23:35:34 +00:00
Julia Boes
5832a34404 8270416: Enhance construction of Identity maps
Reviewed-by: dfuchs, chegar, rhalade, ahgross, smarks, robm
2022-01-18 23:35:34 +00:00
Anthony Scarpino
6b6f829b46 8269151: Better construction of EncryptedPrivateKeyInfo
Reviewed-by: jnimeh, mschoene, rhalade
2022-01-18 23:35:34 +00:00
Vladimir Ivanov
c372990f5f 8268494: Better inlining of inlined interfaces
Reviewed-by: thartmann, jcm, ahgross, rhalade
2022-01-18 23:35:34 +00:00
Kevin Walls
518160353a 8272272: Enhance jcmd communication
Reviewed-by: amenkov
2022-01-18 23:35:33 +00:00
Phil Race
afd0dc76b6 8271962: Better TrueType font loading
Reviewed-by: psadhukhan, jdv, mschoene, rhalade
2022-01-18 23:35:33 +00:00
Joe Wang
b02ea6dc3c 8270646: Improved scanning of XML entities
Reviewed-by: naoto, lancea, mschoene, rhalade
2022-01-18 23:35:33 +00:00
Ioi Lam
fa47c368d4 8270386: Better verification of scan methods
Reviewed-by: hseigel, coleenp, mschoene, rhalade
2022-01-18 23:35:33 +00:00
Phil Race
9a94fbc793 8270952: Improve TIFF file handling
Reviewed-by: jdv, psadhukhan, mschoene, rhalade
2022-01-18 23:35:33 +00:00
Harold Seigel
1fddb03d93 8271968: Better canonical naming
Reviewed-by: coleenp, lfoltan, mschoene, ahgross
2022-01-18 23:35:33 +00:00
Joe Wang
7ee905a8a0 8270498: Improve SAX Parser configuration management
Reviewed-by: ahgross, lancea, rhalade, naoto
2022-01-18 23:35:33 +00:00
Hai-May Chao
e069a3b8bf 8268512: More content for ContentInfo
Reviewed-by: ahgross, weijun, rhalade
2022-01-18 23:35:33 +00:00
Valerie Peng
f18deeb69e 8268488: More valuable DerValues
Reviewed-by: weijun, ahgross, rhalade
2022-01-18 23:35:32 +00:00
Patrick Concannon
29f61b3b0a 8269944: Better HTTP transport redux
Reviewed-by: dfuchs, chegar, rhalade, ahgross
2022-01-18 23:35:32 +00:00
Roger Riggs
feff0e5578 8264934: Enhance cross VM serialization
Reviewed-by: smarks, rhalade, chegar
2022-01-18 23:35:32 +00:00
John Jiang
3a421e4b78 8280122: SupportedGroupsExtension should output "named groups" rather than "versions"
Reviewed-by: weijun, xuelei
2022-01-18 22:40:14 +00:00
Coleen Phillimore
1a20628757 8248404: AArch64: Remove uses of long and unsigned long
Reviewed-by: kbarrett
2022-01-18 21:56:40 +00:00
Chris Plummer
46fd683820 8176567: nsk/jdi/ReferenceType/instances/instances002: TestFailure: Unexpected size of referenceType.instances(nsk.share.jdi.TestInterfaceImplementer1): 11, expected: 10
Reviewed-by: sspitsyn, amenkov
2022-01-18 19:31:16 +00:00
Claes Redestad
e314a4cfda 8280124: Reduce branches decoding latin-1 chars from UTF-8 encoded bytes
Reviewed-by: rriggs, alanb, naoto
2022-01-18 19:28:12 +00:00
Chris Plummer
bdfa15d92c 8250801: Add clhsdb "threadcontext" command
Reviewed-by: sspitsyn, kevinw
2022-01-18 19:21:13 +00:00
Chris Plummer
fd9fb9a4af 8279194: Add Annotated Memory Viewer feature to SA's HSDB
Reviewed-by: sspitsyn, ysuenaga
2022-01-18 19:20:20 +00:00
Aleksandr Veselov
20ef954158 8279227: Access Bridge: Wrong frame position and hit test result on HiDPI display
Reviewed-by: ant, kizune, aivanov
2022-01-18 18:51:58 +00:00
Masanori Yano
848b16a3f9 8272746: ZipFile can't open big file (NegativeArraySizeException)
Reviewed-by: lancea
2022-01-18 18:20:57 +00:00
Erik Gahlin
b734dc86ee 8280055: JFR: Improve ObjectContext implementation
Reviewed-by: mgronlun
2022-01-18 17:57:12 +00:00
Erik Gahlin
7acc4c7dfe 8280058: JFR: StreamUtils::getJfrRepository(Process) should print stdout and stderr
Reviewed-by: mgronlun
2022-01-18 17:14:42 +00:00
Erik Gahlin
bd35f9740d 8278628: jdk/jfr/jmx/streaming/TestMaxSize.java Expected only one or two chunks
Reviewed-by: mgronlun
2022-01-18 16:55:06 +00:00
Nils Eliasson
88a8b239aa 8280076: Unify IGV and IR printing
Reviewed-by: chagedorn, thartmann, vlivanov
2022-01-18 16:48:37 +00:00
Vicente Romero
9e3f68d8f4 8279290: symbol not found error, implicit lambdas and diamond constructor invocations
Reviewed-by: jlahoda
2022-01-18 15:50:22 +00:00
Andrey Turbanov
9eb50a5ee4 8280010: Remove double buffering of InputStream for Properties.load
Reviewed-by: amenkov, sspitsyn, serb
2022-01-18 15:49:03 +00:00
Andrew Haley
64c0c0e109 8276563: Undefined Behaviour in class Assembler
Reviewed-by: jvernee, stuefe
2022-01-18 15:27:18 +00:00
Albert Mingkun Yang
d175d33f44 8280079: Serial: Remove empty Generation::prepare_for_verify
Reviewed-by: tschatzl, iwalulya
2022-01-18 14:53:42 +00:00
Aleksey Shipilev
1725f77bcd 8280029: G1: "Overflow during reference processing, can not continue" on x86_32
Reviewed-by: tschatzl, ayang
2022-01-18 14:40:39 +00:00
Markus Grönlund
e38df21641 8256291: RunThese30M fails "assert(_class_unload ? true : ((((JfrTraceIdBits::load(class_loader_klass)) & ((1 << 4) << 8)) != 0))) failed: invariant"
Reviewed-by: egahlin
2022-01-18 13:16:51 +00:00
Aleksey Shipilev
645b38d586 8280089: compiler/c2/irTests/TestIRAbs.java fails on some arches
Reviewed-by: jiefu, thartmann, chagedorn, fgao
2022-01-18 12:13:44 +00:00
Hamlin Li
eb9499535c 8280070: G1: Fix template parameters in G1SegmentedArraySegment
Reviewed-by: ayang, tschatzl
2022-01-18 09:16:24 +00:00
Masanori Yano
9452262652 8278892: java.naming module description is missing @uses tags to document the services that it uses
Reviewed-by: aefimov, alanb
2022-01-18 09:04:09 +00:00
Nils Eliasson
48c5f3c715 8280026: Cleanup of IGV printing
Reviewed-by: chagedorn, thartmann
2022-01-18 07:58:11 +00:00
Jesper Wilhelmsson
39f140a201 Merge 2022-01-18 01:56:50 +00:00
Jesper Wilhelmsson
37143c09ab Merge 2022-01-18 01:10:17 +00:00
David Holmes
262f2efd6c 8280059: Incorrect glibc version is used in a comment in os_linux.cpp
Reviewed-by: jiefu
2022-01-18 00:47:27 +00:00
Ana Marsh
7b6738fa02 8278885: Remove Windows ARM64 int8_t workaround in G1
Reviewed-by: erikj, tschatzl, mli
2022-01-17 16:36:43 +00:00
Hamlin Li
5d52bf9987 8279910: G1: Simplify HeapRegionRemSet::add_reference
Reviewed-by: tschatzl, ayang
2022-01-17 14:33:23 +00:00
Albert Mingkun Yang
3edcb13272 8280018: Remove obsolete VM_GenCollectFullConcurrent
Reviewed-by: tschatzl
2022-01-17 13:17:24 +00:00
Claes Redestad
9e536b6470 8280032: Update jib-profiles.js to use JMH 1.34 devkit
Reviewed-by: erikj, iris
2022-01-17 11:03:10 +00:00
Claes Redestad
71ca85f5a6 8278831: Use table lookup for the last two bytes in Integer.getChars
Reviewed-by: jlaskey, rriggs
2022-01-17 11:01:55 +00:00
Albert Mingkun Yang
431bd9a66d 8280001: Serial: Add documentation to heap memory layout
Reviewed-by: mli, sjohanss, tschatzl
2022-01-17 08:56:40 +00:00
Aleksey Shipilev
4d9b3f4cee 8279998: PPC64 debug builds fail with "untested: RangeCheckStub: predicate_failed_trap_id"
Reviewed-by: goetz, mdoerr
2022-01-17 08:20:23 +00:00
Aleksey Shipilev
a30aa52b77 8279958: Provide configure hints for Alpine/apk package managers
Reviewed-by: erikj
2022-01-17 08:19:08 +00:00
Aleksey Shipilev
590eb86033 8280016: gc/g1/TestShrinkAuxiliaryData30 test fails on large machines
Reviewed-by: tschatzl, ayang
2022-01-17 08:17:49 +00:00
Fei Gao
c6196662b8 8276673: Optimize abs operations in C2 compiler
Reviewed-by: thartmann, jiefu
2022-01-17 02:16:45 +00:00
Erik Gahlin
fef8f2d300 8279797: JFR: Show .jfc options in JFR.start help
Reviewed-by: mgronlun
2022-01-15 07:01:55 +00:00
Mikael Vidstedt
9a18190a4f 8280048: Missing comma in copyright header
Reviewed-by: prr
2022-01-15 03:20:34 +00:00
Masanori Yano
22b7295e75 7001973: java/awt/Graphics2D/CopyAreaOOB.java fails
Reviewed-by: serb
2022-01-15 02:17:46 +00:00
Jie Fu
9b0f689557 8279947: Remove two redundant gvn.transform calls in Parse::do_one_bytecode()
Reviewed-by: kvn
2022-01-14 23:13:05 +00:00
Daniel D. Daugherty
eab4e6d670 8280045: ProblemList 2 AppCDS tests until JDK-8279970 is fixed
Reviewed-by: ccheung
2022-01-14 22:24:39 +00:00
Weijun Wang
0d1a97f793 8279064: New options for ktab to provide non-default salt
Reviewed-by: valeriep
2022-01-14 20:44:22 +00:00
Thomas Stuefe
c359c358c8 8280002: jmap -histo may leak stream
Reviewed-by: shade, sspitsyn
2022-01-14 19:40:10 +00:00
Daniel D. Daugherty
09d61b6187 8280034: ProblemList jdk/jfr/api/consumer/recordingstream/TestOnEvent.java on linux-x64
Reviewed-by: ccheung
2022-01-14 17:49:54 +00:00
Brian Burkhalter
fb8fdc0fbf 8279990: (fs) Awkward verbiage in description of Files.createTempFile(Path,String,String,FileAttribute)
Reviewed-by: lancea
2022-01-14 17:47:35 +00:00
Thomas Stuefe
d9dd485b95 8280019: Remove unused code from metaspace
Reviewed-by: coleenp, hseigel
2022-01-14 16:17:48 +00:00
Christian Hagedorn
cf283e2a33 8279570: IGV: Add source/destination property for load and store nodes with an associated field
Reviewed-by: kvn, thartmann
2022-01-14 16:17:01 +00:00
Pavel Rappo
f180530935 8279918: Fix various doc typos
Reviewed-by: kevinw, lancea, mullan, sspitsyn, naoto, jlahoda, azvegint, egahlin, jjg
2022-01-14 16:10:14 +00:00
Albert Mingkun Yang
ac98b22040 8280028: [BACKOUT] Parallel: More precise boundary in ObjectStartArray::object_starts_in_range
Reviewed-by: sjohanss
2022-01-14 15:54:31 +00:00
Sean Mullan
61b8944327 8278851: Correct signer logic for jars signed with multiple digestalgs
Reviewed-by: coffeys, weijun
2022-01-14 15:22:31 +00:00
Harold Seigel
35734ad080 8279545: Buffer overrun in reverse_words of sharedRuntime_x86_64.cpp:3517
Reviewed-by: coleenp, lfoltan
2022-01-14 14:41:12 +00:00
Erik Gahlin
e8f494cd5f 8279825: JFR: JFCModel shouldn't need FilePermission to read predefined .jfc files
Reviewed-by: mgronlun
2022-01-14 14:31:42 +00:00
Martin Doerr
c809d34f9e 8279924: [PPC64, s390] implement frame::is_interpreted_frame_valid checks
Reviewed-by: rrich, mbaesken
2022-01-14 14:12:38 +00:00
Johannes Bechberger
4b520f0001 8279702: [macosx] ignore xcodebuild warnings on M1
Reviewed-by: goetz, erikj
2022-01-14 13:53:53 +00:00
Julia Boes
9f30ec174f 8278398: jwebserver: Add test to confirm maximum request time
Reviewed-by: dfuchs, michaelm
2022-01-14 12:48:03 +00:00
Albert Mingkun Yang
dd76a28d44 8280000: Remove unused CardTable::find_covering_region_containing
Reviewed-by: tschatzl, sjohanss
2022-01-14 12:35:51 +00:00
Maurizio Cimadamore
c6b027559c 8279930: Synthetic cast causes generation of store barriers when using heap segments
Reviewed-by: psandoz
2022-01-14 11:15:16 +00:00
Matthias Baesken
84976b4531 8278549: UNIX sun/font coding misses SUSE distro detection on recent distro SUSE 15
Reviewed-by: mdoerr, lucy
2022-01-14 09:51:15 +00:00
Albert Mingkun Yang
965c64bca7 8279699: Parallel: More precise boundary in ObjectStartArray::object_starts_in_range
Reviewed-by: sjohanss, mli
2022-01-14 07:47:08 +00:00
Hao Sun
45f20633f6 8279597: [TESTBUG] ReturnBlobToWrongHeapTest.java fails with -XX:TieredStopAtLevel=1 on machines with many cores
Reviewed-by: kvn
2022-01-13 23:56:27 +00:00
Naoto Sato
064ee6ae13 8278434: timeouts in test java/time/test/java/time/format/TestZoneTextPrinterParser.java
Backport-of: 8dc4437d00
2022-01-13 22:05:52 +00:00
Ioi Lam
35172cdaf3 8278951: containers/cgroup/PlainRead.java fails on Ubuntu 21.10
Reviewed-by: hseigel, sgehwolf
2022-01-13 18:28:03 +00:00
Patricio Chilano Mateo
237f861e82 8273143: Transition to _thread_in_vm when handling a polling page exception
Reviewed-by: rehn, dcubed, coleenp, rrich
2022-01-13 17:49:01 +00:00
Daniel Jelinski
9209e6d6ae 8279877: Document IDEA IDE setup in docs/ide.md
Reviewed-by: lancea, erikj
2022-01-13 16:17:50 +00:00
Weijun Wang
0a839b434b 8279801: EC KeyFactory and KeyPairGenerator do not have aliases for OID format
Reviewed-by: xuelei, valeriep
2022-01-13 15:26:41 +00:00
Claes Redestad
ff85659311 8279833: Loop optimization issue in String.encodeUTF8_UTF16
Reviewed-by: rriggs
Backport-of: c3d0a94040
2022-01-13 15:25:16 +00:00
Daniel Jelinski
6fcaa322d9 8262442: (windows) Use all proxy configuration sources when java.net.useSystemProxies=true
Reviewed-by: dfuchs
2022-01-13 14:41:55 +00:00
Jaikiran Pai
c17a0122c4 8278961: Enable debug logging in java/net/DatagramSocket/SendDatagramToBadAddress.java
Reviewed-by: dfuchs, msheppar
2022-01-13 13:23:57 +00:00
Erik Gahlin
b61a4af719 8259774: Deprecate -XX:FlightRecorderOptions:samplethreads
Reviewed-by: mgronlun
2022-01-13 09:46:33 +00:00
Kevin Walls
6933934633 8278597: Remove outdated comments regarding RMISecurityManager in HotSpotAgent.java
Reviewed-by: rriggs, sspitsyn
2022-01-13 09:29:05 +00:00
Aleksey Shipilev
14a90e536b 8279370: jdk.jpackage/share/native/applauncher/JvmLauncher.cpp fails to build with GCC 6.3.0
Reviewed-by: almatvee, asemenyuk
2022-01-13 08:51:35 +00:00
Thomas Schatzl
33814791d9 8274007: [REDO] VM Exit does not abort concurrent mark
Reviewed-by: sjohanss, iwalulya
2022-01-13 08:42:17 +00:00
Christian Hagedorn
65eb066b63 8279837: C2: assert(is_Loop()) failed: invalid node class: Region
Reviewed-by: kvn, thartmann
2022-01-13 07:13:22 +00:00
John Jiang
4851948059 8279903: Redundant modulo operation in ECDHKeyAgreement
Reviewed-by: weijun, xuelei
2022-01-13 02:16:50 +00:00
Jesper Wilhelmsson
67e3d51d68 Merge 2022-01-13 01:05:45 +00:00
Weijun Wang
cb25029885 8279800: isAssignableFrom checks in AlgorithmParametersSpi.engineGetParameterSpec appear to be backwards
Reviewed-by: xuelei, valeriep
2022-01-13 00:42:00 +00:00
Yumin Qi
1228b2f1f8 8261455: Automatically generate the CDS archive if necessary
Reviewed-by: iklam, ccheung
2022-01-13 00:23:05 +00:00
Ludvig Janiuk
d70545d710 8258603: c1 IR::verify is expensive
Reviewed-by: chagedorn, kvn
2022-01-12 19:24:52 +00:00
Naoto Sato
0a094d7c28 8268081: Upgrade Unicode Data Files to 14.0.0
Reviewed-by: joehw, iris, lancea
2022-01-12 19:17:18 +00:00
Patric Hedlin
ddddec7d74 8274243: Implement fast-path for ASCII-compatible CharsetEncoders on aarch64
Reviewed-by: neliasso, redestad
2022-01-12 15:30:54 +00:00
Roman Kennke
8fed8ab29c 8278065: Refactor subclassAudits to use ClassValue
Reviewed-by: rriggs, plevart
2022-01-12 13:47:25 +00:00
Harold Seigel
f54ce84474 8238161: use os::fopen in HS code where possible
Reviewed-by: mbaesken, coleenp
2022-01-12 13:11:16 +00:00
Jaikiran Pai
ff0cb98965 8279536: jdk/nio/zipfs/ZipFSOutputStreamTest.java timed out
Reviewed-by: lancea
2022-01-12 12:58:17 +00:00
Sergey Tsypanov
ece98d859d 8278461: Use Executable.getSharedParameterTypes() instead of Executable.getParameterTypes() in trusted code
Reviewed-by: redestad
2022-01-12 10:16:37 +00:00
Aleksey Shipilev
525b20fce0 8279676: Dubious YMM register clearing in x86_64 arraycopy stubs
Reviewed-by: kvn, vlivanov, neliasso
2022-01-12 08:32:08 +00:00
Albert Mingkun Yang
4f0b65023f 8278581: Improve reference processing statistics log output
Reviewed-by: tschatzl, kbarrett, sjohanss
2022-01-12 08:28:51 +00:00
Emanuel Peter
bd339aa6c0 8277627: Fix copyright years in some jvmci files
Reviewed-by: kvn, thartmann
2022-01-12 08:17:14 +00:00
Masanori Yano
319d23033f 8277463: JFileChooser with Metal L&F doesn't show non-canonical UNC path in - Look in
Reviewed-by: psadhukhan
2022-01-12 06:57:36 +00:00
TejeshR13
13bfb49725 6496103: isFileHidingEnabled return false by default
Reviewed-by: serb, aivanov, prr
2022-01-12 05:38:07 +00:00
Erik Gahlin
f16f6a95df 8279821: JFR: Log warnings properly when loading a misconfigured .jfc file
Reviewed-by: mgronlun
2022-01-12 05:16:36 +00:00
Jie Fu
1c688f4137 8279900: compiler/vectorization/TestPopCountVectorLong.java fails due to vpopcntdq is not supported
Reviewed-by: kvn
2022-01-12 03:55:00 +00:00
Masanori Yano
3aaa0982d8 8276694: Pattern trailing unescaped backslash causes internal error
Reviewed-by: jlaskey
2022-01-11 22:37:15 +00:00
Mikael Vidstedt
36f41cbe11 8279884: Use better file for cygwin source permission check
Reviewed-by: erikj
2022-01-11 22:34:24 +00:00
Vamsi Parasa
c4518e257c 8278868: Add x86 vectorization support for Long.bitCount()
Reviewed-by: jbhateja, sviswanathan, kvn
2022-01-11 18:47:42 +00:00
Albert Mingkun Yang
67141849d9 8279700: Parallel: Simplify ScavengeRootsTask constructor API
Reviewed-by: tschatzl, sjohanss
2022-01-11 16:18:06 +00:00
Liam Miller-Cushon
cfee4512f7 8273914: Indy string concat changes order of operations
Reviewed-by: vromero, jlahoda
2022-01-11 15:45:15 +00:00
Claes Redestad
c3d0a94040 8279833: Loop optimization issue in String.encodeUTF8_UTF16
Reviewed-by: shade, alanb
2022-01-11 14:49:03 +00:00
Pavel Rappo
5aecb37211 8206181: ExceptionInInitializerError: improve handling of exceptions in user-provided taglets
Reviewed-by: jjg
2022-01-11 14:28:03 +00:00
Andrew Leonard
9e0244762c 8279834: Alpine Linux fails to build when --with-source-date enabled
Reviewed-by: erikj
2022-01-11 14:21:31 +00:00
Albert Mingkun Yang
08e14c605e 8278207: G1: Tighten verification in G1ResetSkipCompactingClosure
Reviewed-by: tschatzl, sjohanss
2022-01-11 14:04:52 +00:00
Harold Seigel
c08b2ac34c 8225093: Special property jdk.boot.class.path.append should not default to empty string
Reviewed-by: dholmes, sspitsyn, alanb
2022-01-11 13:43:13 +00:00
Zdenek Zambersky
4c52eb3943 8279669: test/jdk/com/sun/jdi/TestScaffold.java uses wrong condition
Reviewed-by: amenkov, sspitsyn
2022-01-11 13:14:48 +00:00
Erik Gahlin
d46410c553 8279785: JFR: 'jfr configure' should show default values
Reviewed-by: mgronlun
2022-01-11 13:04:20 +00:00
Aleksey Shipilev
2bbeae3f05 8279668: x86: AVX2 versions of vpxor should be asserted
Reviewed-by: kvn, jiefu
2022-01-11 10:28:47 +00:00
Fairoz Matte
86d0abb66b 8279695: [TESTBUG] modify compiler/loopopts/TestSkeletonPredicateNegation.java to run on C1 also
Reviewed-by: neliasso
2022-01-11 09:39:39 +00:00
Thomas Schatzl
3121898c33 8279703: G1: Remove unused force_not_compacted local in G1CalculatePointersClosure::do_heap_region
Reviewed-by: ayang, mli
2022-01-11 08:39:54 +00:00
Emanuel Peter
bf7bcaacaa 8277748: Obsolete the MinInliningThreshold flag in JDK 19
Reviewed-by: kvn, thartmann
2022-01-11 08:32:40 +00:00
Tobias Hartmann
6d7db4b0b3 8279356: Method linking fails with guarantee(mh->adapter() != NULL) failed: Adapter blob must already exist!
Reviewed-by: chagedorn, kvn, coleenp
2022-01-11 06:59:26 +00:00
Wang Huang
126328cb62 8279560: AArch64: generate_compare_long_string_same_encoding and LARGE_LOOP_PREFETCH alignment
Co-authored-by: Wang Huang <whuang@openjdk.org>
Reviewed-by: shade, aph
2022-01-11 06:40:46 +00:00
Erik Gahlin
ec5a455efb 8279682: JFR: Remove dead code
Reviewed-by: mgronlun
2022-01-11 05:49:21 +00:00
Erik Gahlin
6504458d87 8279647: JFR: Unclosed directory stream
Reviewed-by: mgronlun
2022-01-11 04:39:39 +00:00
Erik Gahlin
2f13872d51 8279646: JFR: Remove recursive call in jdk.jfr.internal.Control
Reviewed-by: mgronlun
2022-01-11 02:51:53 +00:00
Yasumasa Suenaga
2f7665b829 8279644: hsdis may not work when it was built with --with-binutils=system
Reviewed-by: erikj
2022-01-11 00:21:20 +00:00
Roman Kennke
92307e5a94 8278489: Preserve result in native wrapper with +UseHeavyMonitors
Reviewed-by: shade, kvn
2022-01-10 20:47:23 +00:00
Hao Sun
bbc1ddb474 8278267: ARM32: several vector test failures for ASHR
Reviewed-by: njian, dlong
2022-01-10 20:46:28 +00:00
Erik Gahlin
4471e95174 8279645: JFR: The cacheEventType in Dispatcher is never assigned
Reviewed-by: mgronlun
2022-01-10 19:52:26 +00:00
Erik Gahlin
d7e6e9bd0b 8279643: JFR: Explain why path is sometimes missing from FileRead and FileWrite events
Reviewed-by: mgronlun
2022-01-10 18:58:16 +00:00
Erik Gahlin
0d190961f2 8279642: JFR: Remove unnecessary creation of Duration and Instant objects
Reviewed-by: mgronlun
2022-01-10 18:41:39 +00:00
Jesper Wilhelmsson
d9b1bb5860 Merge 2022-01-10 17:06:23 +00:00
Andrey Turbanov
dee447f8ae 8274809: Update java.base classes to use try-with-resources
Reviewed-by: mullan, alanb, dfuchs
2022-01-10 16:20:58 +00:00
Erik Gahlin
40df5df95e 8279398: jdk/jfr/api/recording/time/TestTimeMultiple.java failed with "RuntimeException: getStopTime() > afterStop"
Reviewed-by: mgronlun
2022-01-10 15:07:49 +00:00
Andrey Turbanov
debaa28e9c 8274679: Remove unnecessary conversion to String in security code in java.base
Reviewed-by: weijun
2022-01-10 15:02:57 +00:00
Coleen Phillimore
76477f8cdb 8142362: Lots of code duplication in Copy class
Reviewed-by: kvn, hseigel
2022-01-10 14:34:04 +00:00
Harold Seigel
11d88ce82e 8218857: Confusing overloads for os::open
Reviewed-by: kbarrett, rehn
2022-01-10 13:57:45 +00:00
Vladimir Ivanov
ad34f03b54 8279515: C1: No inlining through invokedynamic and invokestatic call sites when resolved class is not linked
Reviewed-by: kvn, dlong
2022-01-10 13:56:01 +00:00
Harold Seigel
4ff6720573 8183227: read/write APIs in class os shall return ssize_t
Reviewed-by: fparain, rehn
2022-01-10 13:18:41 +00:00
Fairoz Matte
928e347736 8279032: compiler/loopopts/TestSkeletonPredicateNegation.java times out with -XX:TieredStopAtLevel < 4
Reviewed-by: chagedorn, thartmann
2022-01-10 12:36:05 +00:00
Hannes Wallnöfer
354c904798 8273452: DocTrees.getDocCommentTree should be specified as idempotent
Reviewed-by: jjg
2022-01-10 12:04:01 +00:00
Sergey Nazarkin
6613ce64d7 8279300: [arm32] SIGILL when running GetObjectSizeIntrinsicsTest
Reviewed-by: shade
2022-01-10 11:54:15 +00:00
Matthias Baesken
06b4d494bf 8278344: sun/security/pkcs12/KeytoolOpensslInteropTest.java test fails because of different openssl output
Backport-of: 8b5ff4bdff
2022-01-10 11:41:14 +00:00
Tobias Holenstein
1f101b04f4 8278329: some TraceDeoptimization code not included in PRODUCT build
Reviewed-by: dnsimon, kvn, never, thartmann
2022-01-10 10:50:07 +00:00
Jan Lahoda
8f969a1362 8278930: javac tries to compile a file twice via PackageElement.getEnclosedElements
Reviewed-by: vromero
2022-01-10 09:30:55 +00:00
Albert Mingkun Yang
79b614cc19 8279523: Parallel: Remove unnecessary PSScavenge::_to_space_top_before_gc
Reviewed-by: kbarrett, mli
2022-01-10 08:57:23 +00:00
Albert Mingkun Yang
5fa13bb4a3 8279522: Serial: Remove unused Generation::clear_remembered_set
Reviewed-by: iwalulya, mli
2022-01-10 08:56:34 +00:00
Jan Lahoda
642ab34a60 8278373: JavacTrees.searchMethod finds incorrect match
Reviewed-by: vromero, jjg
2022-01-10 08:33:46 +00:00
Aleksey Shipilev
4aefd8b8b6 8279528: Unused TypeEnter.diag after JDK-8205187
Reviewed-by: vromero
2022-01-10 08:30:39 +00:00
Christian Hagedorn
2f8a2fd077 8279568: IGV: Add bci and line number property for OSR compilations
Reviewed-by: kvn, roland
2022-01-10 08:17:36 +00:00
Roland Westrelin
8d1a1e83f4 8278228: C2: Improve identical back-to-back if elimination
Reviewed-by: chagedorn, kvn
2022-01-10 07:52:18 +00:00
Doug Simon
e14fb4f4aa 8279437: [JVMCI] exception in HotSpotJVMCIRuntime.translate can exit the VM
Reviewed-by: kvn
2022-01-08 21:47:54 +00:00
Sergey Bylokhov
77757ba974 8225122: Test AncestorResized.java fails when Windows desktop is scaled.
Reviewed-by: kizune, aivanov
2022-01-08 01:03:34 +00:00
Sergey Bylokhov
f203723fc7 8279337: The MToolkit is still referenced in a few places
Reviewed-by: prr
2022-01-08 01:02:37 +00:00
Ioi Lam
d47af74e4c 8279500: Remove FileMapHeader::_heap_obj_roots
Reviewed-by: minqi, ccheung
2022-01-07 18:38:47 +00:00
Maurizio Cimadamore
d65c665839 8279527: Dereferencing segments backed by different scopes leads to pollution
Reviewed-by: psandoz, jvernee
2022-01-07 13:41:29 +00:00
Zhengyu Gu
4243f4c998 8279540: Shenandoah: Should only clear CLD::_claim_strong mark for strong CLD iterations
Reviewed-by: shade
2022-01-07 13:33:43 +00:00
Ioi Lam
967ef0c482 8278020: ~13% variation in Renaissance-Scrabble
Backport-of: 4ba980ba43
2022-01-07 05:30:20 +00:00
Quan Anh Mai
62d03c2836 8279547: [vectorapi] Enable vector cast tests after JDK-8278948
Reviewed-by: kvn
2022-01-07 03:22:34 +00:00
Jie Fu
6a42fbaf9b 8279258: Auto-vectorization enhancement for two-dimensional array operations
Reviewed-by: neliasso, kvn
2022-01-07 00:04:51 +00:00
Weijun Wang
8d0f385fd0 8279520: SPNEGO has not passed channel binding info into the underlying mechanism
Reviewed-by: mullan, valeriep
2022-01-06 22:02:55 +00:00
Phil Race
b3dbfc6452 4884570: StreamPrintService.isAttributeValueSupported does not work properly for SheetCollate
Reviewed-by: serb
2022-01-06 19:06:33 +00:00
Jatin Bhateja
8703f14808 8273322: Enhance macro logic optimization for masked logic operations.
Reviewed-by: kvn, sviswanathan
2022-01-06 18:41:06 +00:00
Fairoz Matte
7c792f27a8 8279333: Some JFR tests do not accept 'GCLocker Initiated GC' as a valid GC Cause
Reviewed-by: egahlin
2022-01-06 14:20:45 +00:00
Aleksey Shipilev
bc12381105 8279505: Update documentation for RETRY_COUNT and REPEAT_COUNT
Reviewed-by: erikj, serb
2022-01-06 08:27:54 +00:00
Alan Bateman
2dbb936da9 8279339: (ch) Input/Output streams returned by Channels factory methods don't support concurrent read/write ops
Reviewed-by: lancea, bpb
2022-01-06 08:12:53 +00:00
Vicente Romero
456bd1ed1c 8211004: javac is complaining about non-denotable types and refusing to generate the class file
Reviewed-by: jlahoda
2022-01-06 05:58:17 +00:00
Jesper Wilhelmsson
844dfb3ab6 Merge 2022-01-06 01:26:50 +00:00
Ludvig Janiuk
ab490534a1 8279533: Bad indentation and missing curly braces in BlockBegin::set_end
Reviewed-by: shade
2022-01-05 20:09:32 +00:00
Aleksey Shipilev
523300e796 8279526: Exceptions::count_out_of_memory_exceptions miscounts class metaspace OOMEs
Reviewed-by: zgu, coleenp
2022-01-05 19:45:27 +00:00
Zhengyu Gu
7b429a64ce 8279168: Shenandoah: Remove unused always_true in ShenandoahRootAdjuster::roots_do()
Reviewed-by: shade
2022-01-05 19:12:41 +00:00
Daniel D. Daugherty
564c8c6390 8279529: ProblemList java/nio/channels/DatagramChannel/ManySourcesAndTargets.java on macosx-aarch64
8279532: ProblemList sun/security/ssl/SSLSessionImpl/NoInvalidateSocketException.java

Reviewed-by: jnimeh
2022-01-05 19:01:11 +00:00
Joe Darcy
9a0e890056 8277515: Update --release 18 symbol information for JDK 18 build 29
Reviewed-by: iris
2022-01-05 18:55:49 +00:00
Anton Tarasov
590fa9d8d7 8278612: [macos] test/jdk/java/awt/dnd/RemoveDropTargetCrashTest crashes with VoiceOver on macOS
Reviewed-by: serb, kizune
2022-01-05 18:37:00 +00:00
Daniel D. Daugherty
5cd9515333 8279525: ProblemList java/awt/GraphicsDevice/CheckDisplayModes.java on macosx-aarch64
Reviewed-by: ccheung
2022-01-05 16:37:42 +00:00
Aleksey Shipilev
a741b927a3 8279453: Disable tools/jar/ReproducibleJar.java on 32-bit platforms
Reviewed-by: alanb, bpb
2022-01-05 16:19:00 +00:00
Albert Mingkun Yang
b6ec39cc84 8279510: Parallel: Remove unused PSScavenge::_consecutive_skipped_scavenges
Reviewed-by: kbarrett
2022-01-05 15:36:16 +00:00
Aleksey Shipilev
0f98efbf2f 8279445: Update JMH devkit to 1.34
Reviewed-by: aph, erikj
2022-01-05 12:04:09 +00:00
Maurizio Cimadamore
9d43d25da8 8278897: Alignment of heap segments is not enforced correctly
Reviewed-by: jvernee
2022-01-05 10:47:34 +00:00
Aleksey Shipilev
0f4807e8fe 8279222: Incorrect legacyMap.get in java.security.Provider after JDK-8276660
Co-authored-by: Valerie Peng <valeriep@openjdk.org>
Reviewed-by: alanb, valeriep
2022-01-05 07:29:17 +00:00
bobpengxie
8b5de27ce1 8279485: Incorrect copyright year in compiler/lib/ir_framework/IRNode.java after JDK-8278114
Reviewed-by: haosun, jiefu
2022-01-05 02:22:26 +00:00
Zhiqiang Zang
f326305396 8278114: New addnode ideal optimization: converting "x + x" into "x << 1"
Reviewed-by: kvn, redestad
2022-01-05 00:38:59 +00:00
Quan Anh Mai
f8f9148016 8278948: compiler/vectorapi/reshape/TestVectorCastAVX1.java crashes in assembler
Reviewed-by: kvn, sviswanathan
2022-01-04 22:59:33 +00:00
Jesper Wilhelmsson
191f7307bb Merge 2022-01-04 19:31:12 +00:00
Albert Mingkun Yang
99a8351bc9 8279386: Remove duplicate RefProcPhaseTimeTracker
Reviewed-by: iwalulya, mli
2022-01-04 16:06:34 +00:00
Yasumasa Suenaga
d1e6f26160 8279351: [TESTBUG] SADebugDTest.java does not handle "Address already in use" error
Reviewed-by: cjplummer
2022-01-04 15:00:58 +00:00
Vladimir Ivanov
95a3010acf 8275830: C2: Receiver downcast is missing when inlining through method handle linkers
Reviewed-by: kvn, dlong
2022-01-04 12:35:48 +00:00
Vladimir Ivanov
58b5fb3233 8265317: [vector] assert(payload->is_object()) failed: expected 'object' value for scalar-replaced boxed vector but got: NULL
Reviewed-by: kvn, thartmann
2022-01-04 12:34:38 +00:00
Hamlin Li
93c7d90c55 8278282: G1: Log basic statistics for evacuation failure
Reviewed-by: tschatzl, ayang, iwalulya
2022-01-04 11:55:41 +00:00
Aleksey Shipilev
06f3713271 8279379: GHA: Print tests that are in error
Reviewed-by: erikj, clanger
2022-01-04 11:13:07 +00:00
Roland Westrelin
e7244c19f4 8278966: two microbenchmarks tests fail "assert(!jvms->method()->has_exception_handlers()) failed: no exception handler expected" after JDK-8275638
Reviewed-by: rbackman, vlivanov
2022-01-04 10:56:37 +00:00
Doug Simon
1ffdc52cf0 8279412: [JVMCI] failed speculations list must outlive any nmethod that refers to it
Reviewed-by: kvn, never
2022-01-04 10:14:50 +00:00
Albert Mingkun Yang
863bffb3b6 8279374: Remove unused JNIHandles::weak_oops_do
Reviewed-by: coleenp
2022-01-04 09:56:17 +00:00
Matthias Baesken
9bdf6eb7b2 8279385: [test] Adjust sun/security/pkcs12/KeytoolOpensslInteropTest.java after 8278344
Reviewed-by: weijun
2022-01-04 07:55:53 +00:00
Ioi Lam
09cf5f19d7 8278602: CDS dynamic dump may access unloaded classes
Reviewed-by: coleenp, ccheung
2022-01-04 04:52:49 +00:00
Naoto Sato
8dc4437d00 8278434: timeouts in test java/time/test/java/time/format/TestZoneTextPrinterParser.java
Reviewed-by: joehw
2022-01-04 02:48:23 +00:00
Erik Joelsson
6b906bbab1 8279223: Define version in .jcheck/conf
Reviewed-by: alanb, iris, kcr
2022-01-03 21:53:50 +00:00
Hendrik Schreiber
c295e71b49 8276700: Improve java.lang.ref.Cleaner javadocs
Reviewed-by: rriggs, mchung
2022-01-03 15:57:34 +00:00
Aleksey Shipilev
3a1fca3adf 8278146: G1: Rework VM_G1Concurrent VMOp to clearly identify it as pause
Reviewed-by: tschatzl, kbarrett
2022-01-03 14:39:35 +00:00
Chris Plummer
2a59ebbba3 8279119: src/jdk.hotspot.agent/doc/index.html file contains references to scripts that no longer exist
Reviewed-by: kevinw, sspitsyn
2022-01-03 01:29:13 +00:00
William Kemper
b4b0328d62 8278824: Uneven work distribution when scanning heap roots in G1
Reviewed-by: ayang, tschatzl, phh
2021-12-28 17:32:00 +00:00
Sergey Nazarkin
299022dfac 8279225: [arm32] C1 longs comparison operation destroys argument registers
Reviewed-by: haosun, aph
2021-12-28 11:29:12 +00:00
Jesper Wilhelmsson
4f607f2ada Merge 2021-12-27 01:22:11 +00:00
Sergey Bylokhov
7fea10327e 8279134: Fix Amazon copyright in various files
Reviewed-by: xliu, phh
2021-12-26 22:10:54 +00:00
Igor Veresov
54b800d56d 8271202: C1: assert(false) failed: live_in set of first block must be empty
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: vlivanov, kvn
2021-12-25 05:38:12 +00:00
Vladimir Kozlov
2945b786ba 8279195: Document the -XX:+NeverActAsServerClassMachine flag
Reviewed-by: dholmes
2021-12-24 22:32:16 +00:00
Eric Liu
6588bedc19 8278889: AArch64: [vectorapi] VectorMaskLoadStoreTest.testMaskCast() test fail
Reviewed-by: njian, kvn
2021-12-24 03:10:41 +00:00
Andrey Turbanov
70c6df6be4 8274893: Update java.desktop classes to use try-with-resources
Reviewed-by: serb
2021-12-24 02:02:39 +00:00
Jonathan Gibbons
d52392c15e 8276892: Provide a way to emulate exceptional situations in FileManager when using JavadocTester
Reviewed-by: prappo
2021-12-24 01:48:13 +00:00
Xin Liu
22c15ddae5 8279189: Inaccurate comment about class VMThread
Reviewed-by: dholmes, kbarrett
2021-12-24 00:57:03 +00:00
Daniel Jelinski
9d99a377bf 8277881: Missing SessionID in TLS1.3 resumption in compatibility mode
Reviewed-by: ascarpino
2021-12-24 00:01:46 +00:00
Vicente Romero
4669bcd877 8279244: test accompaning fix for JDK-8205187 is failing in Windows
Reviewed-by: dcubed, mikael
2021-12-23 21:26:31 +00:00
Jesper Wilhelmsson
a3b1c6b036 Merge 2021-12-23 21:17:50 +00:00
Jonathan Gibbons
9df200f749 8278795: Create test library and tests for langtools snippets
Reviewed-by: hannesw
2021-12-23 21:15:21 +00:00
Xin Liu
7aff03aee1 8267517: async logging for stdout and stderr
Reviewed-by: dholmes, ysuenaga
2021-12-23 20:25:08 +00:00
Vicente Romero
ff2ca4f21b 8205187: javac/javadoc should not crash if no java.lang; crash message obsolete
Reviewed-by: jjg
2021-12-23 19:12:24 +00:00
Andrew Leonard
bc0466c7ca 8279182: MakeZipReproducible ZipEntry timestamps not localized to UTC
Reviewed-by: erikj
2021-12-23 18:03:05 +00:00
Aleksey Shipilev
04ad668921 8279204: [BACKOUT] JDK-8278413: C2 crash when allocating array of size too large
Reviewed-by: chagedorn, kvn
2021-12-23 16:22:10 +00:00
Jonathan Gibbons
558a6824c6 8279115: Fix internal doc comment errors.
Reviewed-by: mli
2021-12-23 15:19:55 +00:00
Erik Gahlin
730f67081d 8268297: jdk/jfr/api/consumer/streaming/TestLatestEvent.java times out
Reviewed-by: mgronlun
2021-12-23 15:03:06 +00:00
Daniel Le
87cc4e5009 8276302: Locale.filterTags methods ignore actual weight when matching "*" (as if it is 1)
Reviewed-by: naoto
2021-12-23 14:11:11 +00:00
Andrew Leonard
214f98f6b0 8278766: Enable OpenJDK build support for reproducible jars and jmods using --date
Reviewed-by: erikj
2021-12-23 11:01:26 +00:00
Yi Yang
ad1dc9c2ae 8278125: Some preallocated OOMEs are missing stack trace
Co-authored-by: dongyun.tdy <dongyun.tdy@alibaba-inc.com>
Reviewed-by: dholmes, coleenp
2021-12-23 02:14:52 +00:00
Chris Plummer
eaefb1a1ed 8244669: convert clhsdb "mem" command from javascript to java
Reviewed-by: sspitsyn, kevinw, poonam
2021-12-22 23:02:41 +00:00
Aleksey Shipilev
9d5ae2e380 8279076: C2: Bad AD file when matching SqrtF with UseSSE=0
Reviewed-by: kvn, sviswanathan
2021-12-22 20:17:39 +00:00
Valerie Peng
d64820dfef 8209398: sun/security/pkcs11/KeyStore/SecretKeysBasic.sh failed with "PKCS11Exception: CKR_ATTRIBUTE_SENSITIVE"
Reviewed-by: hchao, weijun
2021-12-22 19:50:51 +00:00
Stuart Marks
04ee9211fc 8278967: rmiregistry fails to start because SecurityManager is disabled
Reviewed-by: alanb, erikj
2021-12-22 18:56:30 +00:00
Coleen Phillimore
2be3e7ef1c 8278239: vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine failed with EXCEPTION_ACCESS_VIOLATION at 0x000000000000000d
Reviewed-by: kvn, sspitsyn, eosterlund
2021-12-22 17:19:00 +00:00
Jesper Wilhelmsson
f1fbba23eb Merge 2021-12-22 16:46:43 +00:00
Yumin Qi
9a478b347e 8279022: JCmdTestFileSafety.java should check file time stamp for test result
Reviewed-by: ccheung
2021-12-22 16:17:33 +00:00
Yumin Qi
a6903f806a 8279018: CRC calculation in CDS should not include _version and _head_size
Reviewed-by: iklam, ccheung
2021-12-22 16:14:59 +00:00
Erik Gahlin
dfb15c3e34 8274315: JFR: One closed state per file or stream
Reviewed-by: mgronlun
2021-12-22 14:29:46 +00:00
Erik Gahlin
e49d4a9870 8271447: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters
Reviewed-by: mgronlun
2021-12-22 13:59:20 +00:00
Albert Mingkun Yang
3f41fdecdb 8279063: Consolidate push and push_if_necessary in PreservedMarks
Reviewed-by: rkennke, mli, tschatzl
2021-12-22 13:44:20 +00:00
Markus Grönlund
713fbeb050 8278987: RunThese24H.java failed with EXCEPTION_ACCESS_VIOLATION in __write_sample_info__
Reviewed-by: jbachorik
2021-12-22 12:30:55 +00:00
Kevin Walls
734143918d 8279007: jstatd fails to start because SecurityManager is disabled
Reviewed-by: alanb, sspitsyn, mullan
2021-12-22 11:36:53 +00:00
Chris Plummer
d0ea7c9db9 8279024: Remove javascript references from clhsdb.html
Reviewed-by: kevinw, sspitsyn
2021-12-22 03:56:08 +00:00
Jatin Bhateja
97c5cd7fac 8278508: Enable X86 maskAll instruction pattern for 32 bit JVM.
Reviewed-by: kvn, sviswanathan
2021-12-22 03:17:03 +00:00
Jesper Wilhelmsson
bf2826499a Merge 2021-12-21 23:07:35 +00:00
Chris Plummer
00c0d10870 8244670: convert clhsdb "whatis" command from javascript to java
Reviewed-by: sspitsyn, kevinw
2021-12-21 22:55:09 +00:00
Weijun Wang
fb623f1d2e 8279066: entries.remove(entry) is useless in PKCS12KeyStore
Reviewed-by: mullan
2021-12-21 22:13:04 +00:00
Smita Kamath
9ee3ccfee2 8279045: Intrinsics missing vzeroupper instruction
Reviewed-by: neliasso, sviswanathan, kvn
2021-12-21 22:09:43 +00:00
Jesper Wilhelmsson
803cb8a768 Merge 2021-12-21 21:58:05 +00:00
Albert Mingkun Yang
997b1eea6e 8279060: Parallel: Remove unused PSVirtualSpace constructors
Reviewed-by: mli, sjohanss, tschatzl
2021-12-21 20:50:46 +00:00
Albert Mingkun Yang
6aeb40cf2a 8278396: G1: Initialize the BOT threshold to be region bottom
Reviewed-by: tschatzl, sjohanss
2021-12-21 20:49:59 +00:00
Daniel D. Daugherty
84d3333c7a 8279081: ProblemList jdk/jfr/event/oldobject/TestLargeRootSet.java on 2 platforms
Reviewed-by: azvegint, sspitsyn
2021-12-21 20:39:06 +00:00
Zhengyu Gu
1128674d7f 8278627: Shenandoah: TestHeapDump test failed
Reviewed-by: shade, rkennke
2021-12-21 19:02:01 +00:00
Daniel Jelinski
f31dead6c5 8279043: Some Security Exception Messages Miss Spaces
Reviewed-by: weijun
2021-12-21 18:24:31 +00:00
Daniel D. Daugherty
54517fa3d8 8279074: ProblemList compiler/codecache/jmx/PoolsIndependenceTest.java on macosx-aarch64
Reviewed-by: ccheung
2021-12-21 17:42:26 +00:00
Roger Riggs
ac7430cf7e 8278044: ObjectInputStream methods invoking the OIF.CFG.getSerialFilterFactory() silent about error cases.
Backport-of: 8c0bb53f5b
2021-12-21 16:31:58 +00:00
Robbin Ehn
f7309060de 8278793: Interpreter(x64) intrinsify Thread.currentThread()
Reviewed-by: rkennke, dcubed, dholmes
2021-12-21 16:12:32 +00:00
Roger Riggs
db3d6d7724 8278087: Deserialization filter and filter factory property error reporting under specified
Backport-of: f90425a1cb
2021-12-21 15:42:36 +00:00
Roger Riggs
8c0bb53f5b 8278044: ObjectInputStream methods invoking the OIF.CFG.getSerialFilterFactory() silent about error cases.
Reviewed-by: lancea, bpb
2021-12-21 15:16:19 +00:00
Roger Riggs
f90425a1cb 8278087: Deserialization filter and filter factory property error reporting under specified
Reviewed-by: lancea, bpb
2021-12-21 14:24:44 +00:00
Stefan Johansson
f4f2f32cd1 8278917: Use Prev Bitmap for recording evac failed objects
Reviewed-by: ayang, mli, tschatzl
2021-12-21 14:03:08 +00:00
Aleksey Shipilev
29bd73638a 8277893: Arraycopy stress tests
Reviewed-by: kvn, mli
2021-12-21 14:01:47 +00:00
Aleksey Shipilev
467f654916 8279011: JFR: JfrChunkWriter incorrectly handles int64_t chunk size as size_t
Reviewed-by: mgronlun
2021-12-21 12:33:59 +00:00
Thomas Schatzl
ff5d41762d 8278893: Parallel: Remove GCWorkerDelayMillis
Reviewed-by: ayang, mli
2021-12-21 09:51:21 +00:00
Joe Darcy
517967284c 8278953: Clarify Class.getDeclaredConstructor specification
Reviewed-by: mchung, alanb
2021-12-21 00:25:56 +00:00
Calvin Cheung
8549d8b569 8277100: Dynamic dump can inadvertently overwrite default CDS archive
Reviewed-by: iklam, minqi, dholmes
2021-12-20 23:04:40 +00:00
Smita Kamath
819f9bd084 8274323: compiler/codegen/aes/TestAESMain.java failed with "Error: invalid offset: -1434443640" after 8273297
Reviewed-by: sviswanathan, kvn
2021-12-20 20:09:42 +00:00
Aleksandr Veselov
ad1282842c 8278609: [macos] accessibility frame is misplaced on a secondary monitor on macOS
Reviewed-by: ant, kizune
2021-12-20 11:40:58 +00:00
David Holmes
4c78c9ab80 8270929: Obsolete the FilterSpuriousWakeups flag in JDK 19
Reviewed-by: hseigel, rehn
2021-12-20 10:47:37 +00:00
Roland Westrelin
06206c7199 8278949: Cleanups for 8277850
Co-authored-by: John R Rose <jrose@openjdk.org>
Reviewed-by: kvn, jrose
2021-12-20 10:00:14 +00:00
TejeshR13
31fbb8723e 6462028: MaskFormatter API documentation refers to getDisplayValue
Reviewed-by: psadhukhan, aivanov, prr
2021-12-20 09:53:22 +00:00
Roland Westrelin
deaf75a585 8278413: C2 crash when allocating array of size too large
Reviewed-by: neliasso, kvn
2021-12-20 09:41:56 +00:00
Alex Menkov
63e43030ed 8278519: serviceability/jvmti/FieldAccessWatch/FieldAccessWatch.java failed "assert(handle != __null) failed: JNI handle should not be null"
Reviewed-by: cjplummer, sspitsyn
2021-12-18 08:08:47 +00:00
Doug Simon
6f0e8da6d3 8278871: [JVMCI] assert((uint)reason < 2* _trap_hist_limit) failed: oob
Reviewed-by: kvn, never, dlong
2021-12-18 06:48:00 +00:00
Guoxiong Li
3c10b5db38 8278104: C1 should support the compiler directive 'BreakAtExecute'
Reviewed-by: xliu, phh, kvn
2021-12-18 04:16:44 +00:00
merykitty
cc44e13797 8278623: compiler/vectorapi/reshape/TestVectorCastAVX512.java after JDK-8259610
Reviewed-by: kvn, chagedorn, psandoz
2021-12-17 23:42:28 +00:00
liach
905b763942 8261404: Class.getReflectionFactory() is not thread-safe
Reviewed-by: rriggs, mchung
2021-12-17 22:23:33 +00:00
Alexander Matveev
36676db2fd 8278970: [macos] SigningPackageTest is failed with runtime exception
Reviewed-by: herrick, asemenyuk
2021-12-17 21:56:55 +00:00
Daniel D. Daugherty
a5f5d60f25 8273107: RunThese24H times out with "java.lang.management.ThreadInfo.getLockName()" is null
Reviewed-by: rehn, coleenp, eosterlund
2021-12-17 21:24:51 +00:00
Artem Semenov
8fbe1724e0 8278604: SwingSet2 table demo does not have accessible description set for images
8278526: [macos] Screen reader reads SwingSet2 JTable row selection as null, dimmed row for last column

Reviewed-by: ant, kizune, pbansal
2021-12-17 19:31:51 +00:00
Andrey Turbanov
022e4f0f1c 8275242: Remove redundant stream() call before forEach in jdk.compiler
Reviewed-by: vromero
2021-12-17 18:52:37 +00:00
Igor Veresov
b46f0b0b1f 8277447: Hotspot C1 compiler crashes on Kotlin suspend fun with loop
Reviewed-by: kvn, neliasso
2021-12-17 16:30:40 +00:00
Albert Mingkun Yang
0bfc204a78 8278956: Remove unimplemented PLAB::allocate_aligned
Reviewed-by: tschatzl
2021-12-17 15:45:16 +00:00
Gilles Duboscq
b17f8d5b6c 8278954: Using clang together with devkit on linux doesn't work for building
Reviewed-by: erikj
2021-12-17 15:36:07 +00:00
Harold Seigel
769f14db84 8278384: Bytecodes::result_type() for arraylength returns T_VOID instead of T_INT
Reviewed-by: lfoltan, dholmes
2021-12-17 15:11:16 +00:00
Phil Race
e45e0b05b9 8278937: JCK test for java_awt/geom/Line2D.Float fails after 8277868
Reviewed-by: jdv, kcr, rriggs
2021-12-17 15:10:03 +00:00
Nils Eliasson
a68f28cea6 8278909: Unproblemlist AdaptiveBlocking001
Reviewed-by: chagedorn, eosterlund, stefank
2021-12-17 15:08:45 +00:00
Naoto Sato
9cd709060c 8278587: StringTokenizer(String, String, boolean) documentation bug
Backport-of: 8f5fdd864b
2021-12-17 13:48:26 +00:00
Coleen Phillimore
3607a5cdd9 8277216: Examine InstanceKlass::_misc_flags for concurrency issues
Reviewed-by: hseigel, dholmes
2021-12-17 13:42:54 +00:00
Roman Kennke
abab1738a7 8278568: Consolidate filler objects
Reviewed-by: tschatzl, mli, ayang
2021-12-17 13:33:08 +00:00
Weijun Wang
6412d57a0a 8278560: X509KeyManagerImpl::getAliases might return a good key with others
Reviewed-by: xuelei
2021-12-17 12:14:17 +00:00
Erik Gahlin
fffa73c1ef 8269425: 2 jdk/jfr/api/consumer/streaming tests failed to attach
Reviewed-by: mgronlun
2021-12-17 09:49:44 +00:00
Dmitry Chuyko
247ea71d24 8278826: Print error if Shenandoah flags are empty (instead of crashing)
Reviewed-by: rkennke, mli
2021-12-17 09:19:00 +00:00
Roland Westrelin
b9a477bf19 8275638: GraphKit::combine_exception_states fails with "matching stack sizes" assert
Reviewed-by: dlong, kvn
2021-12-17 07:46:47 +00:00
Roland Westrelin
bb7efb3517 8278790: Inner loop of long loop nest runs for too few iterations
Reviewed-by: chagedorn, neliasso
2021-12-17 07:45:44 +00:00
Hamlin Li
8c73ec155d 8278891: G1: Call reset in G1RegionMarkStatsCache constructor
Reviewed-by: tschatzl, ayang
2021-12-17 03:29:28 +00:00
Jatin Bhateja
8494fec665 8278796: Incorrect behavior of FloatVector.withLane on X86
Reviewed-by: sviswanathan, kvn
2021-12-17 03:07:08 +00:00
Jesper Wilhelmsson
634afe8c5c Merge 2021-12-17 01:08:22 +00:00
Mark Reinhold
f5d7c777bc 8276826: Clarify the ModuleDescriptor.Version specification’s treatment of repeated punctuation characters
Reviewed-by: mchung, darcy
2021-12-17 00:34:03 +00:00
Chris Plummer
7ce4aa8942 8276982: VM.class_hierarchy jcmd help output and man page text needs clarifications/improvements
Reviewed-by: stuefe, dholmes, sspitsyn
2021-12-16 23:25:07 +00:00
David Holmes
197c9f5ac8 8268573: Remove expired flags in JDK 19
Reviewed-by: dcubed, pchilanomate, eosterlund
2021-12-16 22:17:53 +00:00
Naoto Sato
8f5fdd864b 8278587: StringTokenizer(String, String, boolean) documentation bug
Reviewed-by: iris, joehw, lancea, rriggs, darcy
2021-12-16 21:41:38 +00:00
Sergey Tsypanov
20db7800a6 8277868: Use Comparable.compare() instead of surrogate code
Reviewed-by: rriggs, aivanov
2021-12-16 21:39:08 +00:00
Stuart Marks
be6b90d90b 8278574: update --help-extra message to include default value of --finalization option
Reviewed-by: sundar, alanb, lancea, mchung
2021-12-16 17:35:32 +00:00
Zhengyu Gu
937126b140 8278551: Shenandoah: Adopt WorkerThread::worker_id() to replace Shenandoah specific implementation
Reviewed-by: rkennke
2021-12-16 15:23:02 +00:00
Albert Mingkun Yang
f15a59ce72 8278756: Parallel: Drop PSOldGen::_reserved
Reviewed-by: tschatzl, mli
2021-12-16 13:41:19 +00:00
Albert Mingkun Yang
271d26f141 8278601: Parallel: Remove redundant code in ObjectStartArray::initialize
Reviewed-by: sjohanss, mli
2021-12-16 13:40:22 +00:00
Albert Mingkun Yang
e0700bf1d4 8278763: Parallel: Remove grows_up/grows_down in PSVirtualSpace
Reviewed-by: tschatzl, mli
2021-12-16 13:39:24 +00:00
Thomas Schatzl
aec1b039b3 8278389: SuspendibleThreadSet::_suspend_all should be volatile/atomic
Reviewed-by: ayang, mli
2021-12-16 12:29:57 +00:00
Claes Redestad
aae563981c 8278642: Refactor java.util.Formatter
Reviewed-by: rriggs, naoto
2021-12-16 11:46:02 +00:00
Hamlin Li
7edcd34869 8278534: Remove some unnecessary code in MethodLiveness::init_basic_blocks
Reviewed-by: chagedorn
2021-12-16 11:35:42 +00:00
Dmitry Batrak
0bddd8af61 8278050: Armenian text isn't rendered on macOS if text layout is performed
Reviewed-by: prr, serb
2021-12-16 07:14:35 +00:00
Zhiqiang Zang
f6fbb5a80c 8278471: Remove unreached rules in AddNode::IdealIL
Reviewed-by: jiefu, kvn
2021-12-16 03:57:29 +00:00
Calvin Cheung
0dbe4c5d51 8278131: runtime/cds/appcds/dynamicArchive/* tests failing in loom repo
Reviewed-by: iklam, dholmes, minqi
2021-12-16 02:32:44 +00:00
Stuart Marks
e82310f360 8278575: update jcmd GC.finalizer_info to list finalization status
Co-authored-by: David Holmes <dholmes@openjdk.org>
Reviewed-by: dholmes, kbarrett
2021-12-16 01:27:07 +00:00
Jesper Wilhelmsson
e6b28e05c6 Merge 2021-12-16 00:26:36 +00:00
Vladimir Kozlov
d3408a46b7 8277964: ClassCastException with no stack trace is thrown with -Xcomp in method handle invocation
Reviewed-by: dlong, mchung, dholmes
2021-12-15 21:45:45 +00:00
Ioi Lam
4ba980ba43 8278020: ~13% variation in Renaissance-Scrabble
Reviewed-by: dholmes, stuefe, kvn
2021-12-15 20:06:56 +00:00
Andrey Turbanov
04dbdd36dd 8274898: Cleanup usages of StringBuffer in jdk tools modules
Reviewed-by: sspitsyn, lmesnik
2021-12-15 19:28:58 +00:00
Chris Plummer
7517c85da3 8269838: BasicTypeDataBase.findDynamicTypeForAddress(addr, basetype) can be simplified
Reviewed-by: kevinw, sspitsyn
2021-12-15 17:08:44 +00:00
Weijun Wang
1f1db838ab 8278186: org.jcp.xml.dsig.internal.dom.Utils.parseIdFromSameDocumentURI throws StringIndexOutOfBoundsException when calling substring method
Reviewed-by: mullan
2021-12-15 17:00:55 +00:00
Evgeny Astigeevich
bcb79fd012 8278241: Implement JVM SpinPause on linux-aarch64
Reviewed-by: aph, phh
2021-12-15 16:57:30 +00:00
Albert Mingkun Yang
fcebe65ce9 8278842: Parallel: Remove unused VerifyObjectStartArrayClosure::_old_gen
Reviewed-by: tschatzl
2021-12-15 15:04:11 +00:00
Albert Mingkun Yang
4851ad840a 8278548: G1: Remove unnecessary check in forward_to_block_containing_addr
Reviewed-by: tschatzl, mli, sjohanss
2021-12-15 15:02:57 +00:00
Coleen Phillimore
1e3ae3be02 8202579: Revisit VM_Version and VM_Version_ext for overlap and consolidation
Reviewed-by: dholmes, hseigel
2021-12-15 13:41:59 +00:00
Erik Gahlin
69b5d49e4f 8272064: test/jdk/jdk/jfr/api/consumer/TestHiddenMethod.java needs update for JEP 416
Reviewed-by: jbachorik
2021-12-15 13:24:04 +00:00
Maurizio Cimadamore
d6b5544e74 8278607: Misc issues in foreign API javadoc
Reviewed-by: sundar
2021-12-15 12:25:25 +00:00
Per Liden
7adf7f3353 8278351: Add function to retrieve worker_id from any context
Reviewed-by: eosterlund, kbarrett, ayang
2021-12-15 10:09:02 +00:00
Chris Plummer
758fe9bed3 8273904: debug agent ArrayTypeImp::newInstance() fails to send reply packet if there is an error
Reviewed-by: sspitsyn, amenkov
2021-12-15 03:11:27 +00:00
Fei Gao
c442587f1e 8277619: AArch64: Incorrect parameter type in Advanced SIMD Copy assembler functions
Reviewed-by: aph, pli
2021-12-15 02:26:40 +00:00
Chris Plummer
46f99aca94 8244765: Undo exclusiveAccess.dirs changes for JDK-8220295 and see if there are still any testing issues
Reviewed-by: amenkov, sspitsyn
2021-12-15 01:29:50 +00:00
Chris Plummer
54c9a99663 8278643: CoreUtils.getCoreFileLocation() should print out the size of the core file found
Reviewed-by: amenkov, lmesnik, sspitsyn
2021-12-15 01:25:53 +00:00
Liam Miller-Cushon
068a450954 8278825: Unused variable for diagnostic in Resolve
Reviewed-by: vromero
2021-12-15 00:26:17 +00:00
Alexander Matveev
918e339785 8278233: [macos] tools/jpackage tests timeout due to /usr/bin/osascript
Reviewed-by: herrick, asemenyuk
2021-12-14 23:59:11 +00:00
Jie Fu
f48a3e86d0 8278758: runtime/BootstrapMethod/BSMCalledTwice.java fails with release VMs after JDK-8262134
Reviewed-by: dcubed
2021-12-14 22:50:21 +00:00
Jie Fu
2def7e9132 8278584: compiler/vectorapi/VectorMaskLoadStoreTest.java failed with "Error: ShouldNotReachHere()"
Reviewed-by: kvn, psandoz
2021-12-14 22:49:04 +00:00
Harold Seigel
98a8d446b6 8278638: Remove FLAG_IS_CMDLINE(UseSharedSpaces)
Reviewed-by: dcubed, coleenp
2021-12-14 20:35:49 +00:00
Roger Riggs
03f647f4bb 8278028: [test-library] Warnings cleanup of the test library
Reviewed-by: dfuchs, mchung, naoto, lancea, lmesnik
2021-12-14 19:54:54 +00:00
Vladimir Kozlov
a1dfe57249 8276455: C2: iterative EA
Reviewed-by: iveresov, neliasso, roland
2021-12-14 19:24:13 +00:00
Zhengyu Gu
de65230d71 8278767: Shenandoah: Remove unused ShenandoahRootScanner
Reviewed-by: rkennke
2021-12-14 18:39:28 +00:00
Weijun Wang
0cc989b7d2 8278744: KeyStore:getAttributes() not returning unmodifiable Set
Reviewed-by: mullan
2021-12-14 18:39:22 +00:00
Sergey Bylokhov
a9c1acbb8a 8275843: Random crashes while the UI code is executed
Reviewed-by: azvegint
2021-12-14 18:03:00 +00:00
Coleen Phillimore
3f91948c59 8278791: Rename ClassLoaderData::holder_phantom
Reviewed-by: stefank
2021-12-14 17:45:35 +00:00
Albert Mingkun Yang
7761a3e883 8278761: Parallel: Remove unused PSOldPromotionLAB constructor
Reviewed-by: tschatzl
2021-12-14 17:11:11 +00:00
Markus Grönlund
475ec8e6c5 8277919: OldObjectSample event causing bloat in the class constant pool in JFR recording
Reviewed-by: jbachorik
2021-12-14 13:00:39 +00:00
Thomas Stuefe
3f9638d124 8278585: Drop unused code from OSThread
Reviewed-by: dholmes, tschatzl
2021-12-14 05:45:56 +00:00
Dean Long
32139c1a8a 8262134: compiler/uncommontrap/TestDeoptOOM.java failed with "guarantee(false) failed: wrong number of expression stack elements during deopt"
Reviewed-by: kvn, iveresov
2021-12-14 03:16:17 +00:00
Jesper Wilhelmsson
8401a059bd Merge 2021-12-14 02:15:15 +00:00
David Holmes
c93b24d852 8132785: java/lang/management/ThreadMXBean/ThreadLists.java fails intermittently
Reviewed-by: alanb, kevinw, dcubed, sspitsyn
2021-12-13 21:37:51 +00:00
David Holmes
624f3094b8 8278275: Initial nroff manpage generation for JDK 19
Reviewed-by: erikj, jjg, iris
2021-12-13 21:36:24 +00:00
Daniel D. Daugherty
bdc784c0cb 8278630: ProblemList compiler/vectorapi/reshape/TestVectorCastAVX512.java on X64
Reviewed-by: psandoz
2021-12-13 20:36:40 +00:00
Chris Plummer
db502d30a4 8269556: sun/tools/jhsdb/JShellHeapDumpTest.java fails with RuntimeException 'JShellToolProvider' missing from stdout/stderr
Reviewed-by: kevinw, sspitsyn, amenkov
2021-12-13 19:02:12 +00:00
merykitty
ca8c58c731 8259610: VectorReshapeTests are not effective due to failing to intrinsify "VectorSupport.convert"
Reviewed-by: psandoz, chagedorn
2021-12-13 16:34:37 +00:00
Harold Seigel
15996e4075 8276241: JVM does not flag constant class entries ending in '/'
Reviewed-by: dholmes, lfoltan
2021-12-13 13:40:54 +00:00
Harold Seigel
14f7385a72 8277481: Obsolete seldom used CDS flags
Reviewed-by: iklam, ccheung, dholmes
2021-12-13 13:35:37 +00:00
Christian Stein
23fd9f15da 8271079: JavaFileObject#toUri and multi-release jars
Reviewed-by: jjg, lancea, alanb
2021-12-13 12:00:47 +00:00
Albert Mingkun Yang
ccdb9f1b16 8278482: G1: Improve HeapRegion::block_is_obj
Reviewed-by: sjohanss, tschatzl, mli
2021-12-13 09:50:30 +00:00
Matthias Baesken
8b5ff4bdff 8278344: sun/security/pkcs12/KeytoolOpensslInteropTest.java test fails because of different openssl output
Reviewed-by: mdoerr, goetz, stuefe
2021-12-13 07:48:20 +00:00
Sergey Bylokhov
7c2c58587d 8276819: javax/print/PrintServiceLookup/FlushCustomClassLoader.java fails to free
Reviewed-by: psadhukhan, aivanov
2021-12-12 21:47:03 +00:00
Scott Gibbons
9a1bbaf8db 8273108: RunThese24H crashes with SEGV in markWord::displaced_mark_helper() after JDK-8268276
8272809: JFR thread sampler SI_KERNEL SEGV in metaspace::VirtualSpaceList::contains

Reviewed-by: sviswanathan, kvn
2021-12-12 16:08:35 +00:00
Daniel D. Daugherty
9b99cbe7ab 8278580: ProblemList javax/swing/JTree/4908142/bug4908142.java on macosx-x64
Reviewed-by: alanb
2021-12-11 15:53:31 +00:00
Andrew Leonard
db68a0ce1c 8276766: Enable jar and jmod to produce deterministic timestamped content
Reviewed-by: ihse, lancea, alanb, jgneff
2021-12-11 15:27:08 +00:00
Dan Lutker
6eb6ec05fd 8278525: Additional -Wnonnull errors happen with GCC 11
Reviewed-by: phh, dlong
2021-12-10 23:49:41 +00:00
Phil Race
81c56c700a 8278456: Define jtreg jdk_desktop test group time-based sub-tasks for use by headful testing.
Reviewed-by: serb, aivanov, psadhukhan
2021-12-10 21:02:28 +00:00
Alexander Zuev
94127f43a4 8277299: STACK_OVERFLOW in Java_sun_awt_shell_Win32ShellFolder2_getIconBits
Reviewed-by: aivanov
2021-12-10 20:27:07 +00:00
Jesper Wilhelmsson
61736f81fb Merge 2021-12-10 18:42:51 +00:00
Evgeny Astigeevich
afd065b368 8278415: [TESTBUG] vmTestbase/nsk/stress/stack/stack018.java fails with "java.lang.Error: TEST_RFE"
Reviewed-by: phh
2021-12-10 18:27:36 +00:00
Dan Lutker
4f594e6a28 8278381: [GCC 11] Address::make_raw() does not initialize rspec
Reviewed-by: phh, xliu
2021-12-10 17:52:54 +00:00
Roman Kennke
8eb453baeb 8277072: ObjectStreamClass caches keep ClassLoaders alive
Reviewed-by: rriggs, plevart
2021-12-10 16:24:16 +00:00
Hao Sun
0602f4c48b 8277621: ARM32: multiple fastdebug failures with "bad AD file" after JDK-8276162
Reviewed-by: njian, dlong, shade
2021-12-10 15:53:27 +00:00
Hamlin Li
3e0b083f20 8278533: Remove some unused methods in c1_Instruction and c1_ValueMap
Reviewed-by: chagedorn
2021-12-10 14:51:27 +00:00
Jan Lahoda
aed3ea2043 8277634: Incorrect method name in invokedynamic
Reviewed-by: jlaskey
2021-12-10 09:01:58 +00:00
Hamlin Li
539fbbf8c7 8278532: Fix some typos in compiler comments
Reviewed-by: kvn, jiefu
2021-12-10 06:06:12 +00:00
Jonathan Gibbons
3df8dc494d 8278538: Test langtools/jdk/javadoc/tool/CheckManPageOptions.java fails after the manpage was updated
Reviewed-by: dholmes
2021-12-10 05:02:28 +00:00
Jonathan Gibbons
ed5d53ae0e 8273179: Update nroff pages in JDK 18 before RC
Reviewed-by: dholmes
2021-12-10 02:50:37 +00:00
Jatin Bhateja
0113322ac1 8277997: Intrinsic creation for VectorMask.fromLong API
Reviewed-by: psandoz, kvn, sviswanathan
2021-12-10 01:49:20 +00:00
Kim Barrett
066b348dbc 8277807: Increase default initial concurrent refinement threshold
Reviewed-by: tschatzl, sjohanss
2021-12-10 01:32:05 +00:00
Jesper Wilhelmsson
ec0a5ac8fe Merge 2021-12-09 23:24:40 +00:00
Daniel D. Daugherty
d40e90b4a1 8278521: ProblemList java/lang/management/ThreadMXBean/ThreadLists.java
Reviewed-by: bpb
2021-12-09 22:03:04 +00:00
Jonathan Gibbons
918b3505e1 8278516: Typos in snippet for java.compiler
Reviewed-by: darcy
2021-12-09 21:47:50 +00:00
Toshio Nakamura
fcd67a5242 8278185: Custom JRE cannot find non-ASCII named module inside
Reviewed-by: naoto
2021-12-09 19:05:31 +00:00
Albert Mingkun Yang
abebde7440 8278421: G1: Remove unused HeapRegion::verify
Reviewed-by: iwalulya, tschatzl
2021-12-09 18:15:53 +00:00
Michael McMahon
bc31ccc95b 8278312: Update SimpleSSLContext keystore to use SANs for localhost IP addresses
Reviewed-by: dfuchs
2021-12-09 17:38:49 +00:00
Martin Doerr
01b30bfa99 8253860: PPC: Relocation::pd_set_data_value conflates compressed oops and klasses
Reviewed-by: dlong, rrich
2021-12-09 17:04:55 +00:00
Joe Darcy
09831e7aa4 8273146: Start of release updates for JDK 19
8277511: Add SourceVersion.RELEASE_19
8277513: Add source 19 and target 19 to javac

Reviewed-by: dholmes, alanb, erikj, iris, mikael, ihse
2021-12-09 17:01:59 +00:00
Eric Liu
6dae52f8e3 8276985: AArch64: [vectorapi] Backend support of VectorMaskToLongNode
Reviewed-by: njian, aph
2021-12-09 14:16:38 +00:00
Erik Gahlin
08aad8506e 8211230: JFR: internal events
Reviewed-by: mgronlun
2021-12-09 14:13:53 +00:00
Markus Grönlund
965ea8d9cd 8274298: JFR Thread Sampler thread must not acquire malloc lock after suspending a thread because of possible deadlock
Reviewed-by: egahlin
2021-12-09 09:29:59 +00:00
Julia Boes
84baea753a 8278433: Use snippets in jdk.incubator.foreign documentation
Reviewed-by: mcimadamore
2021-12-09 09:29:08 +00:00
Markus Grönlund
1ea766db55 8278419: JFR jcmd option contract "This value cannot be changed once JFR has been initialized" is not enforced
Reviewed-by: egahlin
2021-12-09 09:23:39 +00:00
Aleksey Shipilev
62a7f5d323 8254318: Remove .hgtags
Reviewed-by: erikj, xliu
2021-12-09 06:50:56 +00:00
Jonathan Gibbons
d1706828fb 8278466: "spurious markup" warnings in snippets when building docs-reference
Reviewed-by: darcy
2021-12-09 02:53:52 +00:00
Alexey Semenyuk
8ef1a232b1 8278311: Debian packaging doesn't work
Reviewed-by: almatvee
2021-12-09 02:31:29 +00:00
Zhiqiang Zang
352435581e 8277882: New subnode ideal optimization: converting "c0 - (x + c1)" into "(c0 - c1) - x"
Reviewed-by: dlong, iveresov
2021-12-09 00:18:59 +00:00
Valerie Peng
83e6a4c0e9 8255409: Support the new C_GetInterfaceList, C_GetInterface, and C_SessionCancel APIs in PKCS#11 v3.0
Reviewed-by: ascarpino, weijun
2021-12-08 23:04:15 +00:00
Roger Riggs
3cec700a5c 8278463: [test] Serialization WritePrimitive test revised for readFully test fails
Reviewed-by: darcy
2021-12-08 22:59:38 +00:00
Vicente Romero
03bf55f620 8277980: ObjectMethods::bootstrap throws NPE when lookup is null
Reviewed-by: jjg
2021-12-08 22:49:43 +00:00
Serguei Spitsyn
3893f4f70b 8278330: dump stack trace if the jvmti test nsk/jvmti/GetThreadState/thrstat002 is failed with wrong thread state
Reviewed-by: amenkov, lmesnik
2021-12-08 22:32:00 +00:00
Roland Westrelin
b3faecf739 8276116: C2: optimize long range checks in int counted loops
Reviewed-by: kvn
2021-12-08 21:33:33 +00:00
Eamonn McManus
fe2ae8e38b 8276904: Optional.toString() is unnecessarily expensive
Reviewed-by: rriggs, smarks
2021-12-08 21:24:43 +00:00
Sergey Bylokhov
6e7b7f352e 8278251: Enable "missing-explicit-ctor" check in the jdk.unsupported.desktop module
Reviewed-by: ihse, prr
2021-12-08 21:15:55 +00:00
Daniel D. Daugherty
c83b781b60 8278459: ProblemList javax/swing/JTree/4908142/bug4908142.java on macosx-aarch64
Reviewed-by: lmesnik, bpb, prr
2021-12-08 20:42:52 +00:00
Roger Riggs
8e8fadf2d4 8278428: ObjectInputStream.readFully range check incorrect
Reviewed-by: alanb
2021-12-08 20:37:41 +00:00
Jonathan Gibbons
5a80abf706 8272944: Use snippets in jdk.javadoc documentation
Reviewed-by: hannesw
2021-12-08 19:50:14 +00:00
Jonathan Gibbons
fb11d8faf2 8272945: Use snippets in java.compiler documentation
Reviewed-by: erikj, alanb
2021-12-08 19:48:05 +00:00
Jan Lahoda
42d9b1baac 8277106: Cannot compile certain sources with --release
Reviewed-by: darcy, mcimadamore
2021-12-08 18:50:38 +00:00
Daniel D. Daugherty
ba86dd4aaf 8278445: ProblemList tools/jpackage/share/IconTest.java on macosx-x64
Reviewed-by: bpb
2021-12-08 18:02:34 +00:00
Aleksey Shipilev
92aa75b721 8274903: Zero: Support AsyncGetCallTrace
Reviewed-by: sspitsyn, aph
2021-12-08 17:52:03 +00:00
Alexey Ushakov
83454530ea 8272392: Lanai: SwingSet2. Black background on expanding tree node
Reviewed-by: aghaisas, jdv
2021-12-08 17:48:53 +00:00
Valerie Peng
9b747491de 8276660: Scalability bottleneck in java.security.Provider.getService()
Reviewed-by: weijun
2021-12-08 17:44:10 +00:00
Brian Burkhalter
2478158815 8277361: java/nio/channels/Channels/ReadXBytes.java fails with OOM error
Reviewed-by: alanb, lancea
2021-12-08 17:11:14 +00:00
Roland Westrelin
8af3b27ce9 8277850: C2: optimize mask checks in counted loops
Reviewed-by: kvn, thartmann
2021-12-08 16:39:24 +00:00
Yumin Qi
3e93e0b809 8276769: -Xshare:auto should tolerate problems in the CDS archive
Reviewed-by: iklam, ccheung
2021-12-08 16:20:39 +00:00
Calvin Cheung
79165b738d 8278324: Update the --generate-cds-archive jlink plugin usage message
Reviewed-by: alanb
2021-12-08 16:10:06 +00:00
Calvin Cheung
40d726b8aa 8278310: Improve logging in CDS DynamicLoaderConstraintsTest.java
Reviewed-by: iklam
2021-12-08 16:07:49 +00:00
Calvin Cheung
e4852c6f0a 8277998: runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java#custom-cl-zgc failed "assert(ZAddress::is_marked(addr)) failed: Should be marked"
Reviewed-by: iklam, minqi
2021-12-08 15:59:37 +00:00
Daniel Fuchs
37921e3080 8269258: java/net/httpclient/ManyRequestsLegacy.java failed with connection timeout
Reviewed-by: michaelm
2021-12-08 15:31:49 +00:00
Matthias Baesken
fd8cb2dae8 8278346: java/nio/file/Files/probeContentType/Basic.java fails on Linux SLES15 machine
Reviewed-by: shade
2021-12-08 14:03:56 +00:00
Markus Grönlund
e5cb84e9a1 8278336: Use int64_t to represent byte quantities consistently in JfrObjectAllocationSample
Reviewed-by: egahlin
2021-12-08 11:18:24 +00:00
Thomas Stuefe
54993b1307 8278309: [windows] use of uninitialized OSThread::_state
Reviewed-by: dholmes, shade
2021-12-08 09:18:58 +00:00
Julia Boes
10e0318ff7 8278158: jwebserver should set request timeout
Reviewed-by: dfuchs, michaelm
2021-12-08 09:16:44 +00:00
Roland Westrelin
5dcdee4bcd 8262341: Refine identical code in AddI/LNode.
Reviewed-by: thartmann, eliu
2021-12-08 07:55:12 +00:00
Hannes Wallnöfer
b334d9680b 8276964: Better indicate a snippet that could not be processed
Reviewed-by: jjg
2021-12-08 07:07:57 +00:00
Aleksey Shipilev
30f0c64753 8277992: Add fast jdk_svc subtests to jdk:tier3
Reviewed-by: mseledtsov, alanb
2021-12-08 06:52:16 +00:00
Jie Fu
5266e7d780 8278379: Zero VM is broken due to UseRTMForStackLocks was not declared after JDK-8276901
Reviewed-by: dholmes, shade
2021-12-08 06:45:01 +00:00
Pengfei Li
e7db581e91 8277168: AArch64: Enable arraycopy partial inlining with SVE
Reviewed-by: jbhateja, roland, aph
2021-12-08 04:29:23 +00:00
Hamlin Li
fb6d611311 8278276: G1: Refine naming of G1GCParPhaseTimesTracker::_must_record
Reviewed-by: sjohanss, tschatzl
2021-12-08 01:26:35 +00:00
Stuart Marks
d7ad546758 8276422: Add command-line option to disable finalization
Co-authored-by: David Holmes <dholmes@openjdk.org>
Co-authored-by: Brent Christian <bchristi@openjdk.org>
Reviewed-by: dholmes, kbarrett, bchristi
2021-12-08 00:27:53 +00:00
Brent Christian
ec7cb6d5d3 8276447: Deprecate finalization-related methods for removal
Reviewed-by: rriggs, alanb, lancea, darcy, mchung, serb, smarks, prr
2021-12-08 00:23:15 +00:00
Vicente Romero
3c2951f738 8275771: JDK source code contains redundant boolean operations in jdk.compiler and langtools
Reviewed-by: jlahoda
2021-12-07 23:31:09 +00:00
Mikhailo Seledtsov
3d61372ba5 8278363: Create extented container test groups
Reviewed-by: lmesnik
2021-12-07 21:58:19 +00:00
Daniel D. Daugherty
716c2e1e85 8278368: ProblemList tools/jpackage/share/MultiNameTwoPhaseTest.java on macosx-x64
Reviewed-by: mikael
2021-12-07 19:28:04 +00:00
Pavel Rappo
a8a1fbce5b 8278068: Fix next-line modifier (snippet markup)
8277027: Treat unrecognized markup as snippet text, but warn about it

Reviewed-by: jjg
2021-12-07 18:58:08 +00:00
Pavel Rappo
061017a9f4 8273175: Add @since tags to the DocTree.Kind enum constants
Reviewed-by: darcy
2021-12-07 18:56:58 +00:00
Liam Miller-Cushon
d7c283a081 8275233: Incorrect line number reported in exception stack trace thrown from a lambda expression
Reviewed-by: jlahoda
2021-12-07 18:44:39 +00:00
Jan Lahoda
3955b037da 8277328: jdk/jshell/CommandCompletionTest.java failures on Windows
Reviewed-by: vromero
2021-12-07 18:15:25 +00:00
Zhengyu Gu
5a036ace01 8277990: NMT: Remove NMT shutdown capability
Reviewed-by: stuefe, shade
2021-12-07 17:42:08 +00:00
Maxim Kartashev
7217cb7878 8274883: (se) Selector.open throws IAE when the default file system provider is changed to a custom provider
Reviewed-by: alanb, michaelm
2021-12-07 16:59:34 +00:00
Brian Burkhalter
7ea4b19f54 8278166: java/nio/channels/Channels/TransferTo.java timed out
Reviewed-by: lancea, alanb
2021-12-07 16:47:24 +00:00
Naoto Sato
543d1a8cf4 8275721: Name of UTC timezone in a locale changes depending on previous code
Reviewed-by: joehw
2021-12-07 16:44:52 +00:00
Maurizio Cimadamore
bd7c54aee8 8278341: Liveness check for global scope is not as fast as it could be
Reviewed-by: shade, jvernee
2021-12-07 16:13:54 +00:00
Aleksei Efimov
c609b5d3d7 8277628: Spec for InetAddressResolverProvider::get() throwing error or exception could be clearer
Reviewed-by: alanb, dfuchs
2021-12-07 15:42:02 +00:00
Andrey Turbanov
bb50b92b80 8277536: Use String.blank in jdk.javadoc where applicable
Reviewed-by: jjg
2021-12-07 14:54:32 +00:00
Roman Kennke
5b81d5eeb4 8276901: Implement UseHeavyMonitors consistently
Reviewed-by: coleenp, mdoerr, dcubed
2021-12-07 14:41:42 +00:00
Alan Bateman
69d8669fb3 8278339: ServerSocket::isClosed may return false after accept throws
Reviewed-by: dfuchs
2021-12-07 14:22:35 +00:00
Alan Bateman
56ca66e86f 8277863: Deprecate sun.misc.Unsafe methods that return offsets
Reviewed-by: psandoz, mchung
2021-12-07 14:21:47 +00:00
Thomas Stuefe
35361270cb 8277383: VM.metaspace optionally show chunk freelist details
Reviewed-by: coleenp, shade
2021-12-07 14:15:04 +00:00
Albert Mingkun Yang
44fcee3830 8278289: Drop G1BlockOffsetTablePart::_object_can_span
Reviewed-by: tschatzl, sjohanss, mli
2021-12-07 13:34:35 +00:00
Aleksey Shipilev
b2638e5efd 8244602: Add JTREG_REPEAT_COUNT to repeat execution of a test
Reviewed-by: ihse, erikj
2021-12-07 11:32:17 +00:00
Yasumasa Suenaga
07669e3bc6 8275375: [REDO] JDK-8271949 dumppath in -XX:FlightRecorderOptions does not affect
Reviewed-by: egahlin, mgronlun
2021-12-07 09:26:13 +00:00
Alan Bateman
24877ac078 8278270: ServerSocket is not thread safe
Reviewed-by: dfuchs
2021-12-07 08:49:18 +00:00
Serguei Spitsyn
e535cb3fba 8272395: Bad HTML in JVMTI man page
Reviewed-by: dholmes, iris
2021-12-07 08:16:49 +00:00
Sibabrata Sahoo
f22d157e55 8277353: java/security/MessageDigest/ThreadSafetyTest.java test times out
Reviewed-by: weijun
2021-12-07 05:10:30 +00:00
Weijun Wang
10db0e4163 8277932: Subject:callAs() not throwing NPE when action is null
Reviewed-by: rriggs
2021-12-07 01:37:55 +00:00
Jonathan Gibbons
f148e3e462 8278318: Create {@index} entries for key LangTools terms
Reviewed-by: darcy
2021-12-07 00:41:11 +00:00
Ivan Šipka
2ff12966a3 8277957: Add test group for IPv6 exclusive testing
Reviewed-by: alanb, msheppar
2021-12-06 23:34:32 +00:00
Martin Balao
ea8d3c92c6 8271566: DSA signature length value is not accurate in P11Signature
Reviewed-by: valeriep
2021-12-06 20:31:55 +00:00
ANUPAM DEV
239362da51 8247973: Javadoc incorrect for IdentityArrayList, IdentityLinkedList
Reviewed-by: aivanov, prr
2021-12-06 18:46:29 +00:00
Weijun Wang
2c31a1735d 8275082: Update XML Security for Java to 2.3.0
Reviewed-by: mullan
2021-12-06 18:00:54 +00:00
Artem Semenov
70bad89b01 8277497: Last column cell in the JTAble row is read as empty cell
Reviewed-by: ant, kizune, pbansal
2021-12-06 17:39:43 +00:00
Joe Darcy
5045eb538b 8278273: Remove unnecessary exclusion of doclint accessibility checks
Reviewed-by: iris, alanb, ihse
2021-12-06 16:56:27 +00:00
Chris Plummer
587e5409c2 8210558: serviceability/sa/TestJhsdbJstackLock.java fails to find '^\s+- waiting to lock <0x[0-9a-f]+> \(a java\.lang\.Class ...'
Reviewed-by: kevinw, sspitsyn
2021-12-06 16:09:45 +00:00
Prasanta Sadhukhan
082fdf4793 8172065: javax/swing/JTree/4908142/bug4908142.java The selected index should be "aad"
Reviewed-by: aivanov
2021-12-06 16:08:28 +00:00
Jan Lahoda
ab781874b2 8277105: Inconsistent handling of missing permitted subclasses
Reviewed-by: vromero
2021-12-06 15:43:42 +00:00
Vishal Chand
adf39522c1 8277372: Add getters for BOT and card table members
Reviewed-by: tschatzl, sjohanss, ayang
2021-12-06 15:28:20 +00:00
Christian Hagedorn
7c6f57fcb1 8275610: C2: Object field load floats above its null check resulting in a segfault
Reviewed-by: kvn, roland
2021-12-06 14:48:03 +00:00
Markus Grönlund
a885aab696 8276125: RunThese24H.java SIGSEGV in JfrThreadGroup::thread_group_id
Reviewed-by: egahlin, shade
2021-12-06 14:36:51 +00:00
Jie Fu
6994d80937 8278291: compiler/uncommontrap/TraceDeoptimizationNoRealloc.java fails with release VMs after JDK-8154011
Reviewed-by: shade, thartmann
2021-12-06 13:44:22 +00:00
Hamlin Li
286a26c366 8278277: G1: Simplify implementation of G1GCPhaseTimes::record_or_add_time_secs
Reviewed-by: iwalulya, sjohanss, tschatzl
2021-12-06 11:50:11 +00:00
Markus Grönlund
d14f06a963 8278031: MultiThreadedRefCounter should not use relaxed atomic decrement
Reviewed-by: kbarrett
2021-12-06 09:29:28 +00:00
Ludvig Janiuk
8d190dd003 8277496: Remove duplication in c1 Block successor lists
Reviewed-by: neliasso, kvn
2021-12-06 08:58:41 +00:00
Jan Lahoda
194cdf4e28 8277864: Compilation error thrown while doing a boxing conversion on selector expression
Reviewed-by: jlaskey, vromero
2021-12-06 08:42:26 +00:00
Tobias Holenstein
f39fe5b3d6 8154011: Make TraceDeoptimization a diagnostic flag
Reviewed-by: kvn, dholmes, thartmann
2021-12-06 08:23:49 +00:00
Aleksey Shipilev
f180a4591f 8278016: Add compiler tests to tier{2,3}
Reviewed-by: kvn, dholmes
2021-12-06 06:26:50 +00:00
Srikanth Adayapalam
104aa1f7f9 8268575: Annotations not visible on model elements before they are generated
Reviewed-by: mcimadamore
2021-12-06 06:24:56 +00:00
Aleksey Shipilev
839b6067c8 8278143: Remove unused "argc" from ConstantPool::copy_bootstrap_arguments_at_impl
Reviewed-by: lfoltan, dholmes
2021-12-05 21:38:45 +00:00
Coleen Phillimore
267c024eb5 8265150: AsyncGetCallTrace crashes on ResourceMark
Reviewed-by: dholmes, stuefe, eosterlund, sspitsyn
2021-12-04 13:05:06 +00:00
Markus Karg
9642629d15 8276779: (ch) InputStream returned by Channels.newInputStream should have fast path for SelectableChannels
Reviewed-by: lancea, alanb
2021-12-04 09:27:23 +00:00
Joe Darcy
02ee337ae0 8278175: Enable all doclint warnings for build of java.desktop
Reviewed-by: erikj, prr
2021-12-04 02:12:35 +00:00
Sandhya Viswanathan
24e16ac637 8277617: Adjust AVX3Threshold for copy/fill stubs
Reviewed-by: jbhateja, dholmes, neliasso, jiefu
2021-12-03 21:06:16 +00:00
Jatin Bhateja
2b87c2b429 8277793: Support vector F2I and D2L cast operations for X86
Reviewed-by: neliasso, sviswanathan
2021-12-03 20:21:21 +00:00
Weijun Wang
e1cde19dbd 8278247: KeyStoreSpi::engineGetAttributes does not throws KeyStoreException
Reviewed-by: mullan
2021-12-03 19:52:18 +00:00
Weijun Wang
a729a70c01 8225181: KeyStore should have a getAttributes method
Reviewed-by: mullan
2021-12-03 18:52:17 +00:00
vamsi-parasa
38f525e96e 8275821: Optimize random number generators developed in JDK-8248862 using Math.unsignedMultiplyHigh()
Reviewed-by: psandoz, jlaskey
2021-12-03 18:17:54 +00:00
Joe Darcy
780b8b1072 8278179: Enable all doclint warnings for build of java.naming
Reviewed-by: iris, erikj
2021-12-03 18:14:33 +00:00
Daniel D. Daugherty
678ac589ad 8278240: ProblemList containers/docker/TestJcmd.java on linux-aarch64
Reviewed-by: mseledtsov, tschatzl
2021-12-03 17:22:14 +00:00
Christian Hagedorn
01cb2b9883 8277529: SIGSEGV in C2 CompilerThread Node::rematerialize() compiling Packet::readUnsignedTrint
Reviewed-by: thartmann, roland, kvn
2021-12-03 17:14:10 +00:00
Prasanta Sadhukhan
660f21a418 8278119: ProblemList few headful test failing in macosx12-aarch64 system
Reviewed-by: dcubed
2021-12-03 17:08:40 +00:00
merykitty
2e30fa936d 8278171: [vectorapi] Mask incorrectly computed for zero extending cast
Reviewed-by: psandoz
2021-12-03 17:07:11 +00:00
Magnus Ihse Bursie
fbf096eea4 8251400: Fix incorrect addition of library to test in JDK-8237858
Reviewed-by: dholmes, erikj
2021-12-03 16:56:36 +00:00
Calvin Cheung
0a09092631 8268288: jdk/jfr/api/consumer/streaming/TestOutOfProcessMigration.java fails with "Error: ShouldNotReachHere()"
Reviewed-by: minqi, iklam
2021-12-03 16:36:19 +00:00
Brian Burkhalter
0d938cedca 8278172: java/nio/channels/FileChannel/BlockDeviceSize.java should only run on Linux
Reviewed-by: lancea, alanb
2021-12-03 16:00:27 +00:00
Aleksey Shipilev
0e7b6bcd82 8278141: LIR_OpLoadKlass::_info shadows the field of the same name from LIR_Op
Reviewed-by: thartmann, rkennke
2021-12-03 15:43:51 +00:00
Aleksey Shipilev
53a4342783 8278137: JFR: PrettyWriter uses incorrect year specifier
Reviewed-by: egahlin
2021-12-03 15:42:18 +00:00
Denghui Dong
f7237793ff 8278079: C2: expand_dtrace_alloc_probe doesn't take effect in macro.cpp
Reviewed-by: thartmann, kvn, chagedorn
2021-12-03 13:31:06 +00:00
Maurizio Cimadamore
3f28a21414 8278144: Javadoc for MemorySegment::set/MemorySegment::setAtIndex is missing throws tag
Reviewed-by: sundar
2021-12-03 13:23:36 +00:00
Athijegannathan Sundararajan
ba2a8e5a49 8278205: jlink plugins should dump .class file in debug mode
Reviewed-by: jlaskey
2021-12-03 13:20:08 +00:00
Andrey Turbanov
18c54b4e1a 8274640: Cleanup unnecessary null comparison before instanceof check in java.desktop
Reviewed-by: aivanov
2021-12-03 13:04:26 +00:00
Albert Mingkun Yang
dda8f26ce0 8278139: G1: Refactor G1BlockOffsetTablePart::block_at_or_preceding
Reviewed-by: sjohanss, mli
2021-12-03 10:58:14 +00:00
Albert Mingkun Yang
e4774e68e3 8277916: Gather non-strong reference count logic in a single place
Reviewed-by: sjohanss, mli
2021-12-03 10:57:18 +00:00
Julia Boes
53df9ffbca 8278154: SimpleFileServer#createFileServer() should specify that the returned server is not started
Reviewed-by: dfuchs
2021-12-03 10:18:21 +00:00
Pavel Rappo
d1cad2463a 8278168: Add a few missing words to the specification of Files.mismatch
Reviewed-by: rriggs, bpb, iris, alanb
2021-12-03 09:54:23 +00:00
Andrew Leonard
45da3aea22 8278163: --with-cacerts-src variable resolved after GenerateCacerts recipe setup
Reviewed-by: ihse
2021-12-03 08:28:37 +00:00
Jan Lahoda
890700320a 8272234: Pass originating elements from Filer to JavaFileManager
Reviewed-by: jjg
2021-12-03 07:40:34 +00:00
Aleksey Shipilev
0fbd2713f1 8278115: gc/stress/gclocker/TestGCLockerWithSerial.java has duplicate -Xmx
Reviewed-by: mli, tschatzl
2021-12-03 07:20:39 +00:00
Aleksey Shipilev
bef5c7a286 8278116: runtime/modules/LoadUnloadModuleStress.java has duplicate -Xmx
Reviewed-by: dholmes
2021-12-03 07:19:48 +00:00
Jie Fu
473ececaf5 8278174: runtime/cds/appcds/LambdaWithJavaAgent.java fails with release VMs
Reviewed-by: dholmes
2021-12-03 06:00:14 +00:00
Chris Plummer
19ce33d5e7 8258512: serviceability/sa/TestJmapCore.java timed out on macOS 10.13.6
Reviewed-by: lmesnik, dcubed
2021-12-02 22:16:55 +00:00
Magnus Ihse Bursie
c93552c8bb 8277069: [REDO] JDK-8276743 Make openjdk build Zip Archive generation "reproducible"
Co-authored-by: Andrew Leonard <aleonard@openjdk.org>
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: erikj
2021-12-02 21:31:13 +00:00
Tim Prinzing
b8ac0d20ce 8276681: Additional malformed Javadoc inline tags in JDK source
Reviewed-by: lancea
2021-12-02 21:22:43 +00:00
Alexey Ivanov
b310f301ef 8277396: [TESTBUG] In DefaultButtonModelCrashTest.java, frame is accessed from main thread
Reviewed-by: serb, psadhukhan
2021-12-02 20:59:46 +00:00
Brian Burkhalter
15345e3edc 8276661: (fs) UserDefinedFileAttributeView no longer works with long path (win)
Reviewed-by: alanb
2021-12-02 20:53:13 +00:00
Tim Prinzing
652b5f8546 8276674: Malformed Javadoc inline tags in JDK source
Reviewed-by: jjg, rriggs, prappo, bchristi
2021-12-02 20:47:29 +00:00
Scott Gibbons
e0f1fc783c 8277358: Accelerate CRC32-C
Co-authored-by: Greg Tucker <greg.b.tucker@intel.com>
Co-authored-by: Scott Gibbons <sgibbons@openjdk.org>
Reviewed-by: kvn, sviswanathan, ecaspole
2021-12-02 20:06:05 +00:00
Sergey Tsypanov
73a9654c26 8276806: Use Objects.checkFromIndexSize where possible in java.base
Reviewed-by: rriggs, lancea
2021-12-02 20:00:49 +00:00
Andrey Turbanov
30087cc1b8 8275342: Change nested classes in java.prefs to static nested classes
Reviewed-by: dfuchs, rriggs
2021-12-02 19:40:17 +00:00
Valerie Peng
669c90e23b 8278099: two sun/security/pkcs11/Signature tests failed with AssertionError
Reviewed-by: dcubed
2021-12-02 19:28:42 +00:00
Liam Miller-Cushon
4f15be2cd4 8277965: Enclosing instance optimization affects serialization
Reviewed-by: darcy
2021-12-02 19:17:09 +00:00
Ao Qi
8f196a2487 8278037: Clean up PPC32 related code in C1
Reviewed-by: jiefu, stuefe, shade, mdoerr
2021-12-02 18:57:23 +00:00
Joe Darcy
8b042d14b7 8257856: Make ClassFileVersionsTest.java robust to JDK version updates
Reviewed-by: alanb
2021-12-02 18:17:32 +00:00
Lance Andersen
ad1ff27b73 8277422: tools/jar/JarEntryTime.java fails with modified time mismatch
Reviewed-by: joehw, msheppar, naoto
2021-12-02 16:33:32 +00:00
Leo Korinth
7c4ef3abaf 8277985: G1: Compare max_parallel_refinement_threads to UINT_MAX
Reviewed-by: kbarrett, tschatzl
2021-12-02 15:59:50 +00:00
Andrew Leonard
dc2abc9f05 8278080: Add --with-cacerts-src='user cacerts folder' to enable deterministic cacerts generation
Reviewed-by: erikj
2021-12-02 15:36:43 +00:00
Adam Sotona
8d9cb2efe6 8278078: Cannot reference super before supertype constructor has been called
Reviewed-by: mcimadamore
2021-12-02 15:29:26 +00:00
Jie Fu
65960f712e 8277753: Long*VectorTests.java fail with "bad AD file" on x86_32 after JDK-8276162
Reviewed-by: kvn, thartmann
2021-12-02 15:15:06 +00:00
Roland Westrelin
3889af3f7d 8277906: Incorrect type for IV phi of long counted loops after CCP
Reviewed-by: thartmann, chagedorn
2021-12-02 15:09:58 +00:00
Calvin Cheung
d2b16c8985 8276126: Dump time class transformation causes heap objects of non-boot classes to be archived
Reviewed-by: iklam, minqi
2021-12-02 14:39:27 +00:00
Andy Herrick
7696897932 8276837: [macos]: Error when signing the additional launcher
Reviewed-by: asemenyuk, almatvee
2021-12-02 14:08:33 +00:00
Jim Laskey
3d98ec1b7b 8273056: java.util.random does not correctly sample exponential or Gaussian distributions
Co-authored-by: Guy Steele <gls@openjdk.org>
Reviewed-by: bpb, darcy
2021-12-02 13:00:14 +00:00
Hannes Wallnöfer
b79554bb5c 8278130: Failure in jdk/javadoc/tool/CheckManPageOptions.java after JDK-8274639
Reviewed-by: prappo
2021-12-02 11:33:46 +00:00
Maurizio Cimadamore
ea905bd3da 8277924: Small tweaks to foreign function and memory API
Reviewed-by: jvernee, psandoz
2021-12-02 11:22:31 +00:00
Albert Mingkun Yang
e002bfec8c 8278049: G1: add precondition to set_remainder_to_point_to_start
Reviewed-by: mli, tschatzl
2021-12-02 10:45:36 +00:00
Maurizio Cimadamore
16cfbc4f4c 8278071: typos in MemorySegment::set, MemorySegment::setAtIndex javadoc
Reviewed-by: iris
2021-12-02 10:41:36 +00:00
Markus Grönlund
84ca14d0e9 8277194: applications/runthese/RunThese30M.java crashes with jfrSymbolTable.cpp:305 assert(_instance != null)
Reviewed-by: shade
2021-12-02 09:56:39 +00:00
Hannes Wallnöfer
103da8fae1 8274639: Provide a way to disable warnings for cross-modular links
Reviewed-by: jjg
2021-12-02 09:40:24 +00:00
Patric Hedlin
088b244ec6 8251216: Implement MD5 intrinsics on AArch64
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Reviewed-by: aph, neliasso
2021-12-02 09:25:12 +00:00
Joe Wang
a093cdddaf 8276657: XSLT compiler tries to define a class with empty name
Reviewed-by: naoto
2021-12-02 06:52:45 +00:00
Jayathirth D V
8198807b4a 8266435: WBMPImageReader.read() should not truncate the input stream
Reviewed-by: serb
2021-12-02 05:00:48 +00:00
Joe Wang
b226ab99c8 8276141: XPathFactory set/getProperty method
Reviewed-by: rriggs, naoto, lancea, iris, alanb
2021-12-02 02:50:13 +00:00
Jaikiran Pai
09522db5aa 8277647: [REDO] JDK-8277507 Add jlink.debug system property while launching jpackage tests to help diagonize recent intermittent failures
Reviewed-by: sundar
2021-12-02 01:29:52 +00:00
Hamlin Li
67745fa749 8276299: G1: Unify the wording buffer/node/element in G1SegmentedArrayXxx, G1CardSetXxx and related classes
Reviewed-by: tschatzl, ayang, iwalulya
2021-12-02 01:06:45 +00:00
Mikael Vidstedt
51d6d7a36b 8266839: Enable pandoc on macosx-aarch64 at Oracle
Reviewed-by: erikj
2021-12-01 20:21:38 +00:00
Hannes Wallnöfer
0dfb3a705d 8268582: javadoc throws NPE with --ignore-source-errors option
Reviewed-by: jjg
2021-12-01 18:19:26 +00:00
Andrew Leonard
f41e768bba 8277762: Allow configuration of HOTSPOT_BUILD_USER
Reviewed-by: erikj
2021-12-01 18:13:16 +00:00
Naoto Sato
a363b7b921 8177819: DateTimeFormatterBuilder zone parsing should recognise DST
8277049: ZonedDateTime parse in Fall DST transition fails to retain the correct zonename.

Reviewed-by: joehw, scolebourne
2021-12-01 17:14:53 +00:00
Paul Sandoz
9b3e672059 8278014: [vectorapi] Remove test run script
Reviewed-by: sviswanathan, jiefu, shade
2021-12-01 16:12:46 +00:00
Ravi Reddy
1e9ed54d36 8193682: Infinite loop in ZipOutputStream.close()
Reviewed-by: lancea, coffeys
2021-12-01 15:35:00 +00:00
Zhengyu Gu
abaa073bcb 8277946: NMT: Deprecate and remove VM.native_memory shutdown jcmd command option
Reviewed-by: stuefe, shade, dholmes
2021-12-01 13:14:09 +00:00
KIRIYAMA Takuya
37ff7f3b66 8277866: gc/epsilon/TestMemoryMXBeans.java failed with wrong initial heap size
Reviewed-by: tschatzl, shade
2021-12-01 12:47:26 +00:00
Aleksey Shipilev
8d7958e469 8277981: String Deduplication table is never cleaned up due to bad dead_factor_for_cleanup
Reviewed-by: zgu, kbarrett, tschatzl
2021-12-01 12:06:07 +00:00
Hamlin Li
bc6dce149e 8277736: G1: Allow forced evacuation failure of first N regions in collection set
Reviewed-by: ayang, tschatzl
2021-12-01 11:26:42 +00:00
Andrey Turbanov
0c29ee50f0 8274319: Replace usages of Collections.sort with List.sort call in jdk.jfr
Reviewed-by: egahlin
2021-12-01 11:09:31 +00:00
Julia Boes
f505396ccc 8277459: Add jwebserver tool
Reviewed-by: michaelm, dfuchs, ihse
2021-12-01 10:37:09 +00:00
Jayathirth D V
84aa0a191b 8278047: Few javax/imageio test regressed after JDK-8262297 fix
Reviewed-by: tschatzl
2021-12-01 10:22:17 +00:00
Alan Bateman
fde0b95ede 8277861: Terminally deprecate Thread.stop
Reviewed-by: rriggs, mchung, uschindler, dholmes
2021-12-01 08:44:51 +00:00
Christian Hagedorn
70d5dffb4e 8275326: C2: assert(no_dead_loop) failed: dead loop detected
Reviewed-by: kvn, thartmann
2021-12-01 08:24:59 +00:00
Jie Fu
349328c929 8277777: [Vector API] assert(r->is_XMMRegister()) failed: must be in x86_32.ad
Reviewed-by: thartmann, jbhateja
2021-12-01 07:19:44 +00:00
Masanori Yano
c733193543 8262297: ImageIO.write() method will throw IndexOutOfBoundsException
Reviewed-by: serb, jdv
2021-12-01 06:18:44 +00:00
Pavel Rappo
da2be99cfe 8277026: Remove blank lines remaining from snippet markup
Reviewed-by: jjg
2021-12-01 01:25:17 +00:00
Jaikiran Pai
0a01baaf2d 8277986: Typo in javadoc of java.util.zip.ZipEntry#setTime
Reviewed-by: alanb, iris, lancea
2021-12-01 01:17:07 +00:00
Weijun Wang
7049c13cf4 8231107: Allow store password to be null when saving a PKCS12 KeyStore
Reviewed-by: mullan
2021-12-01 01:01:57 +00:00
Weijun Wang
ab867f6c7c 8272162: S4U2Self ticket without forwardable flag
Reviewed-by: valeriep
2021-12-01 00:48:28 +00:00
Kim Barrett
dd73e3cea2 8277814: ConcurrentRefineThread should report rate when deactivating
Reviewed-by: tschatzl, sjohanss
2021-12-01 00:44:51 +00:00
Kim Barrett
65251f7693 8151594: Move concurrent refinement thread activation logging out of GC pause
Reviewed-by: tschatzl, ayang
2021-11-30 22:43:53 +00:00
Naoto Sato
f1c20e91d8 8190748: java/text/Format/DateFormat/DateFormatTest.java and NonGregorianFormatTest fail intermittently
Reviewed-by: rriggs, joehw, lancea
2021-11-30 22:41:36 +00:00
Jonathan Gibbons
2942646957 8276683: Malformed Javadoc inline tags in JDK source in com/sun/tools/javac/util/RawDiagnosticFormatter.java
Reviewed-by: darcy, prappo, iris
2021-11-30 22:07:07 +00:00
Petr Portnov
e30e676709 8277606: String(String) constructor could copy hashIsZero
Reviewed-by: redestad, rriggs
2021-11-30 20:50:13 +00:00
Daniel D. Daugherty
5a4a9bb9d5 8278019: ProblemList java/awt/dnd/BadSerializationTest/BadSerializationTest.java on linux and windows
Reviewed-by: prr
2021-11-30 20:40:10 +00:00
Kim Barrett
15a680647c 8277434: tests fail with "assert(is_forwarded()) failed: only decode when actually forwarded"
Reviewed-by: ayang, shade, tschatzl
2021-11-30 20:22:35 +00:00
Xin Liu
21d9ca6cd9 8274983: C1 optimizes the invocation of private interface methods
Reviewed-by: dlong, iveresov
2021-11-30 18:55:24 +00:00
Jorn Vernee
98a9f03739 8277602: Deopt code does not extend the stack enough if the caller is an optimize entry blob
Reviewed-by: dlong, thartmann
2021-11-30 14:34:00 +00:00
Albert Mingkun Yang
915084041f 8277899: Parallel: Simplify PSVirtualSpace::initialize logic
Reviewed-by: tschatzl, sjohanss
2021-11-30 13:42:18 +00:00
Maxim Kartashev
01cefc94c7 8277977: Incorrect references to --enable-reproducible-builds in docs
Reviewed-by: ihse
2021-11-30 13:01:17 +00:00
Adam Sotona
69f56a0ea0 8264485: build.tools.depend.Depend.toString(byte[]) creates malformed hex strings
Reviewed-by: jlahoda
2021-11-30 12:56:48 +00:00
Yi Yang
fecf906f0a 8267928: Loop predicate gets inexact loop limit before PhaseIdealLoop::rc_predicate
Reviewed-by: thartmann, chagedorn, kvn
2021-11-30 11:50:51 +00:00
Martin Doerr
a5f2a58ba4 8277846: Implement fast-path for ASCII-compatible CharsetEncoders on ppc64
Reviewed-by: lucy, mbaesken
2021-11-30 09:20:49 +00:00
Jie Fu
ceae380d3a 8277843: [Vector API] scalar2vector generates incorrect type info for mask operations if Op_MaskAll is unavailable
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: thartmann, jbhateja
2021-11-30 08:33:00 +00:00
David Holmes
3ee26c6a81 8267767: Redundant condition check in SafepointSynchronize::thread_not_running
Reviewed-by: hseigel, coleenp, ayang
2021-11-30 08:21:16 +00:00
Albert Mingkun Yang
d230feea55 8277931: Parallel: Remove unused PSVirtualSpace::expand_into
Reviewed-by: tschatzl
2021-11-30 07:34:51 +00:00
Albert Mingkun Yang
fde6fe7997 8277824: Remove empty RefProcSubPhasesWorkerTimeTracker destructor
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Reviewed-by: tschatzl, kbarrett
2021-11-30 07:33:46 +00:00
Liam Miller-Cushon
27299eaa98 8277803: vmTestbase/nsk/jdi/TypeComponent/isSynthetic/issynthetic001 fails with "Synthetic fields not found"
Reviewed-by: dholmes, cjplummer, sspitsyn
2021-11-30 01:34:52 +00:00
MeryKitty
560f9c9372 8277426: Optimize mask reduction operations on x86
Reviewed-by: sviswanathan, jiefu
2021-11-29 23:21:04 +00:00
Jie Fu
3a4a94e5a8 8277854: The upper bound of GCCardSizeInBytes should be limited to 512 for 32-bit platforms
Reviewed-by: tschatzl, mli
2021-11-29 23:17:39 +00:00
Pavel Kharskii
825e633e71 8277944: JDK 18 - update GA Release Date
Reviewed-by: coffeys
2021-11-29 16:54:47 +00:00
Roman Kennke
3d39f09c6c 8277654: Shenandoah: Don't produce new memory state in C2 LRB runtime call
Reviewed-by: roland, shade
2021-11-29 16:00:09 +00:00
Zhengyu Gu
05ab176768 8277797: Remove undefined/unused SharedRuntime::trampoline_size()
Reviewed-by: dholmes, stuefe
2021-11-29 14:00:10 +00:00
Ivan Walulya
ad51d06925 8277789: G1: G1CardSetConfiguration prefixes num_ and max_ used interchangeably
Reviewed-by: mli, tschatzl
2021-11-29 13:10:06 +00:00
Volker Simonis
614c6e61fa 8277878: Fix compiler tests after JDK-8275908
Reviewed-by: thartmann, chagedorn
2021-11-29 12:29:06 +00:00
Hamlin Li
960bdde7eb 8277904: G1: Remove G1CardSetArray::max_entries
Reviewed-by: tschatzl
2021-11-29 12:19:45 +00:00
Albert Mingkun Yang
45e8973a22 8277896: Remove unused BOTConstants member methods
Reviewed-by: kbarrett
2021-11-29 12:13:51 +00:00
Thomas Schatzl
e5676f8d0b 8277450: Record number of references into collection set during gc
Reviewed-by: kbarrett, iwalulya
2021-11-29 12:05:10 +00:00
Thomas Schatzl
2622ab3fe9 8277928: Fix compilation on macosx-aarch64 after 8276108
Reviewed-by: shade, dholmes
2021-11-29 11:58:13 +00:00
Andrey Turbanov
37de442269 8275241: Unused ArrayList is created in RequestEngine.addHooks
Reviewed-by: egahlin
2021-11-29 10:50:43 +00:00
Patric Hedlin
72bacf8d25 8276108: Wrong instruction generation in aarch64 backend
Co-authored-by: Nick Gasson <ngasson@openjdk.org>
Reviewed-by: aph, neliasso
2021-11-29 10:34:13 +00:00
Julia Boes
e3e5908d0d 8277847: Support toolGuide tag in class-level documentation
Reviewed-by: alanb, jjg
2021-11-29 09:22:16 +00:00
Leo Korinth
9a3a9b1391 8277865: G1: Change integer division to floating point division
Reviewed-by: ayang, tschatzl
2021-11-29 09:06:13 +00:00
Nils Eliasson
aed53eea5e 8264838: IGV: enhance graph export functionality
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Co-authored-by: Nils Eliasson <neliasso@openjdk.org>
Reviewed-by: chagedorn, thartmann
2021-11-29 08:19:24 +00:00
Christian Hagedorn
0c7a4b8aa8 8277842: IGV: Add jvms property to know where a node came from
Reviewed-by: roland, neliasso, thartmann
2021-11-29 07:47:28 +00:00
Ludvig Janiuk
c3a7f2f4bc 8277382: make c1 BlockMerger use IR::verify only when necessary
Reviewed-by: thartmann, neliasso
2021-11-29 06:41:55 +00:00
Ichiroh Takiguchi
8f9eb620ac 8274784: jshell: Garbled character was displayed by System.out.println(...) on Japanese Windows
Reviewed-by: naoto
2021-11-29 00:11:28 +00:00
Hamlin Li
e9b36a8316 8276670: G1: Rename G1CardSetFreePool and related classes
Reviewed-by: tschatzl, ayang
2021-11-27 00:46:09 +00:00
Erik Gahlin
b9eb532de2 8276685: Malformed Javadoc inline tags in JDK source in /jdk/management/jfr/RecordingInfo.java
Reviewed-by: mgronlun
2021-11-26 19:13:38 +00:00
Volker Simonis
40fef2311c 8275908: Record null_check traps for calls and array_check traps in the interpreter
Reviewed-by: chagedorn, mdoerr
2021-11-26 16:21:15 +00:00
Erik Österlund
3d810ad691 8277411: C2 fast_unlock intrinsic on AArch64 has unnecessary ownership check
Reviewed-by: ngasson, neliasso
2021-11-26 14:55:02 +00:00
Roman Kennke
ce0234b47d 8277860: PPC: Remove duplicate info != NULL check
Reviewed-by: chagedorn, mdoerr
2021-11-26 14:54:09 +00:00
Ludvig Janiuk
040b2c52d3 8277139: Improve code readability in PredecessorValidator (c1_IR.cpp)
Reviewed-by: thartmann, chagedorn
2021-11-26 09:52:10 +00:00
Roland Westrelin
3e798dd40c 8275330: C2: assert(n->is_Root() || n->is_Region() || n->is_Phi() || n->is_MachMerge() || def_block->dominates(block)) failed: uses must be dominated by definitions
Reviewed-by: thartmann, chagedorn
2021-11-26 09:48:09 +00:00
Roman Kennke
99e4bda303 8277417: C1 LIR instruction for load-klass
Reviewed-by: iveresov, mdoerr, ngasson, aph
2021-11-26 09:46:09 +00:00
Yadong Wang
00a6238dae 8277508: need to check has_predicated_vectors before calling scalable_predicate_reg_slots
Reviewed-by: njian, thartmann, ngasson
2021-11-26 09:09:02 +00:00
Stuart Monteith
3383c0dcc0 8277659: [TESTBUG] Microbenchmark ThreadOnSpinWaitProducerConsumer.java hangs
Reviewed-by: njian, ngasson
2021-11-26 09:02:58 +00:00
Mandy Chung
7e54d065a1 8277165: jdeps --multi-release --print-module-deps fails if module-info.class in different versioned directories
8277166: Data race in jdeps VersionHelper
8277123: jdeps does not report some exceptions correctly

Reviewed-by: jvernee, alanb
2021-11-26 01:55:58 +00:00
Andrey Turbanov
eb4d886bc0 8277504: Use String.stripTrailing instead of hand-crafted method in SwingUtilities2
Reviewed-by: pbansal, serb
2021-11-26 01:45:33 +00:00
Albert Mingkun Yang
9879920424 8277825: Remove unused ReferenceProcessorPhaseTimes::_sub_phases_total_time_ms
Reviewed-by: tschatzl
2021-11-25 14:54:48 +00:00
Ivan Walulya
f788834998 8277786: G1: Rename log2_card_region_per_heap_region used in G1CardSet
Reviewed-by: ayang, tschatzl, mli
2021-11-25 14:10:51 +00:00
Erik Österlund
3034ae87ce 8277631: ZGC: CriticalMetaspaceAllocation asserts
Reviewed-by: pliden, stefank, dholmes
2021-11-25 09:50:43 +00:00
Fairoz Matte
f0136ec945 8275687: runtime/CommandLine/PrintTouchedMethods test shouldn't catch RuntimeException
Reviewed-by: iklam, chagedorn
2021-11-25 08:37:31 +00:00
Daniel D. Daugherty
21e302a0f4 8270435: UT: MonitorUsedDeflationThresholdTest failed: did not find too_many string in output
Reviewed-by: dholmes
2021-11-25 04:27:21 +00:00
Jaikiran Pai
a81e4fc07b 8258117: jar tool sets the time stamp of module-info.class entries to the current time
Reviewed-by: lancea, ihse, alanb
2021-11-25 02:12:03 +00:00
Daniel D. Daugherty
26472bd3bd 8277811: ProblemList vmTestbase/nsk/jdi/TypeComponent/isSynthetic/issynthetic001/TestDescription.java
8277813: ProblemList vmTestbase/nsk/jvmti/AttachOnDemand/attach002a/TestDescription.java

Reviewed-by: dholmes
2021-11-24 22:27:24 +00:00
Lance Andersen
b5841ba3f3 8277806: 4 tools/jar failures per platform after JDK-8272728
Reviewed-by: alanb, jjg
2021-11-24 20:42:29 +00:00
Pavel Rappo
e785f69961 8276124: Provide snippet support for properties files
Co-authored-by: Jonathan Gibbons <jjg@openjdk.org>
Co-authored-by: Hannes Wallnöfer <hannesw@openjdk.org>
Reviewed-by: jjg
2021-11-24 20:13:06 +00:00
Leonid Mesnik
96fe1d0d4d 8264605: vmTestbase/nsk/jvmti/SuspendThread/suspendthrd003/TestDescription.java failed with "agent_tools.cpp, 471: (foundThread = (jthread) jni_env->NewGlobalRef(foundThread)) != NULL"
Reviewed-by: sspitsyn, dholmes
2021-11-24 20:11:18 +00:00
Andrey Turbanov
077b2de088 8274161: Cleanup redundant casts in jdk.compiler
Reviewed-by: vromero
2021-11-24 18:47:50 +00:00
Adam Sotona
951247c8cb 8235876: Misleading warning message in java source-file mode
Reviewed-by: vromero
2021-11-24 17:03:53 +00:00
Christian Stein
663e33de13 8272728: javac ignores any -J option in @argfiles silently
Reviewed-by: jjg
2021-11-24 16:50:25 +00:00
Roger Riggs
0384739afc 8276665: ObjectInputStream.GetField.get(name, object) should throw ClassNotFoundException
Reviewed-by: naoto, lancea, smarks
2021-11-24 15:14:22 +00:00
Thomas Stuefe
cf7adae633 8275320: NMT should perform buffer overrun checks
8275320: NMT should perform buffer overrun checks
8275301: Unify C-heap buffer overrun checks into NMT

Reviewed-by: simonis, zgu
2021-11-24 12:12:23 +00:00
Maurizio Cimadamore
96e36071b6 8275063: Implementation of Foreign Function & Memory API (Second incubator)
Reviewed-by: erikj, psandoz, jvernee, darcy
2021-11-24 11:51:16 +00:00
KIRIYAMA Takuya
17e68caad7 8277042: add test for 8276036 to compiler/codecache
Reviewed-by: chagedorn, thartmann
2021-11-24 11:22:43 +00:00
Ludvig Janiuk
8a8bc29f20 8277562: Remove dead method c1 If::swap_sux
Reviewed-by: thartmann, neliasso
2021-11-24 11:03:07 +00:00
Jan Lahoda
d085c2b8a7 8273328: Compiler implementation for Pattern Matching for switch (Second Preview)
Reviewed-by: vromero, mcimadamore
2021-11-24 10:07:49 +00:00
Stefan Karlsson
6d734604a3 8277399: ZGC: Move worker thread logging out of gc+phase=debug
Reviewed-by: eosterlund, pliden
2021-11-24 08:26:22 +00:00
Stefan Karlsson
712b875682 8277397: ZGC: Add JFR event for temporary latency measurements
Reviewed-by: eosterlund, jbachorik, pliden, mgronlun
2021-11-24 08:25:03 +00:00
Evgeny Astigeevich
7b2d823e84 8277503: compiler/onSpinWait/TestOnSpinWaitAArch64DefaultFlags.java failed with "OnSpinWaitInst with the expected value 'isb' not found."
Reviewed-by: chagedorn, aph, phh
2021-11-23 20:05:57 +00:00
Leonid Mesnik
7cb56a230d 8265796: vmTestbase/nsk/jdi/ObjectReference/referringObjects/referringObjects002/referringObjects002.java fails when running with JEP 416
Reviewed-by: cjplummer, mchung
2021-11-23 19:27:50 +00:00
Andrew Leonard
24e586a043 8276764: Enable deterministic file content ordering for Jar and Jmod
Reviewed-by: mchung, ihse
2021-11-23 18:28:30 +00:00
Liam Miller-Cushon
ea85e01a4c 8271623: Omit enclosing instance fields from inner classes that don't use it
Reviewed-by: vromero, jlahoda
2021-11-23 18:14:47 +00:00
Mandy Chung
032067264f 8277451: java.lang.reflect.Field::set on static field with invalid argument type should throw IAE
Reviewed-by: alanb
2021-11-23 17:14:59 +00:00
Daniel D. Daugherty
e8acac2aba 8277350: runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.java times out
Reviewed-by: hseigel, dholmes, lmesnik
2021-11-23 17:08:31 +00:00
Jan Lahoda
8a44e093dc 8268725: jshell does not support the --enable-native-access option
Reviewed-by: sundar
2021-11-23 16:46:45 +00:00
Vicente Romero
7b67a49f83 8261847: performance of java.lang.Record::toString should be improved
Reviewed-by: jlaskey, redestad
2021-11-23 15:23:23 +00:00
Christian Hagedorn
38802ad56a 8254108: ciReplay: Support incremental inlining
Reviewed-by: dlong, thartmann
2021-11-23 15:22:11 +00:00
Daniel D. Daugherty
64bdc84390 8277649: [BACKOUT] JDK-8277507 Add jlink.debug system property while launching jpackage tests to help diagonize recent intermittent failures
Reviewed-by: alanb, stefank
2021-11-23 15:16:15 +00:00
Roger Riggs
5e7e2da227 8272042: java.util.ImmutableCollections$Map1 and MapN should not be @ValueBased
Reviewed-by: mchung, iris, naoto, smarks
2021-11-23 15:02:48 +00:00
Erik Österlund
f4dc03ea6d 8276696: ParallelObjectIterator freed at the wrong time in VM_HeapDumper
Reviewed-by: pliden, stefank
2021-11-23 14:34:21 +00:00
Tobias Hartmann
90f96fb4db 8277441: CompileQueue::add fails with assert(_last->next() == __null) failed: not last
Reviewed-by: chagedorn, neliasso
2021-11-23 12:46:15 +00:00
Andrey Turbanov
66eaf65261 8277413: Remove unused local variables in jdk.hotspot.agent
Reviewed-by: lmesnik, tschatzl, sspitsyn
2021-11-23 12:33:13 +00:00
Albert Mingkun Yang
36b887a885 8277560: Remove WorkerDataArray::_is_serial
Reviewed-by: sjohanss, tschatzl
2021-11-23 10:57:29 +00:00
Albert Mingkun Yang
017df140ba 8277556: Call ReferenceProcessorPhaseTimes::set_processing_is_mt once
Reviewed-by: sjohanss, tschatzl
2021-11-23 10:56:15 +00:00
Volker Simonis
79350b9b4f 8276216: Negated character classes performance regression in Pattern
Reviewed-by: clanger
2021-11-23 09:15:20 +00:00
Sergey Bylokhov
e3243ee963 8277087: ZipException: zip END header not found at ZipFile#Source.findEND
Reviewed-by: lancea
2021-11-23 08:57:34 +00:00
Jaikiran Pai
12f08ba4d4 8277507: Add jlink.debug system property while launching jpackage tests to help diagonize recent intermittent failures
Reviewed-by: almatvee
2021-11-23 08:19:16 +00:00
Hamlin Li
bb11c55dff 8277542: G1: Move G1CardSetFreePool and related classes to separate files
Reviewed-by: ayang, tschatzl
2021-11-23 00:58:03 +00:00
Dean Long
f62b81c3b5 8273095: vmTestbase/vm/mlvm/anonloader/stress/oome/heap/Test.java fails with "wrong OOME"
Reviewed-by: shade, stefank
2021-11-22 23:17:46 +00:00
Dean Long
05a9a51dbf 8277423: ciReplay: hidden class with comment expected error
Reviewed-by: chagedorn, thartmann
2021-11-22 20:50:06 +00:00
Daniel D. Daugherty
1049aba1fb 8277576: ProblemList runtime/ErrorHandling/CreateCoredumpOnCrash.java on macosx-X64
8277577: ProblemList compiler/onSpinWait/TestOnSpinWaitAArch64DefaultFlags.java on linux-aarch64
8277578: ProblemList applications/jcstress/acqrel.java on linux-aarch64

Reviewed-by: mikael
2021-11-22 19:03:30 +00:00
Alexander Zuev
851a362479 8264297: Create implementation for NSAccessibilityProgressIndicator protocol peer
Reviewed-by: pbansal
2021-11-22 18:26:51 +00:00
Coleen Phillimore
6cf4cd1aa4 8273341: Update Siphash to version 1.0
Reviewed-by: dholmes
2021-11-22 18:08:13 +00:00
Alexey Semenyuk
e3911a8532 8277429: Conflicting jpackage static library name
Reviewed-by: almatvee, herrick, erikj
2021-11-22 18:04:46 +00:00
Leonid Mesnik
33e2a518eb 8265795: vmTestbase/nsk/jvmti/AttachOnDemand/attach022/TestDescription.java fails when running with JEP 416
Reviewed-by: sspitsyn, dholmes
2021-11-22 17:11:34 +00:00
Joe Darcy
22f12ac429 8277522: Make formatting of null consistent in Elements
Reviewed-by: jlahoda
2021-11-22 16:59:23 +00:00
Jatin Bhateja
e529865531 8277239: SIGSEGV in vrshift_reg_maskedNode::emit
Reviewed-by: sviswanathan, dlong
2021-11-22 16:38:52 +00:00
Jim Laskey
8683de5eda 8274685: Documentation suggests there are ArbitrarilyJumpableGenerator when none
Co-authored-by: Guy Steele <gls@openjdk.org>
Reviewed-by: rriggs
2021-11-22 16:19:23 +00:00
Jim Laskey
6b4fbaedbb 8273792: JumpableGenerator.rngs() documentation refers to wrong method
Co-authored-by: Guy Steele <gls@openjdk.org>
Reviewed-by: rriggs
2021-11-22 16:17:01 +00:00
Hamlin Li
d427c79d3b 8277428: G1: Move and inline G1STWIsAliveClosure::do_object_b
Reviewed-by: tschatzl, sjohanss
2021-11-22 11:27:05 +00:00
Serguei Spitsyn
32839ba012 8266593: vmTestbase/nsk/jvmti/PopFrame/popframe011 fails with "assert(java_thread == _state->get_thread()) failed: Must be"
Reviewed-by: mdoerr, lmesnik, dcubed
2021-11-22 10:47:47 +00:00
Albert Mingkun Yang
8051041eb2 8277534: Remove unused ReferenceProcessor::has_discovered_references
Reviewed-by: tschatzl
2021-11-22 09:59:09 +00:00
Aleksey Shipilev
3f847fe89a 8277385: Zero: Enable CompactStrings support
Reviewed-by: redestad, adinn
2021-11-22 09:09:21 +00:00
TatWai Chong
ca31ed5335 8275448: [REDO] AArch64: Implement string_compare intrinsic in SVE
Reviewed-by: ngasson, aph
2021-11-22 02:31:33 +00:00
Joe Darcy
4ff43010bb 8224922: Access JavaFileObject from Element(s)
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: jjg
2021-11-21 20:42:37 +00:00
Jie Fu
0a9e76c4f9 8277485: Zero: Fix _fast_{i,f}access_0 bytecodes handling
Reviewed-by: sgehwolf, shade
2021-11-20 10:12:26 +00:00
Vishal Chand
1c215f3369 8272773: Configurable card table card size
Reviewed-by: tschatzl, ayang
2021-11-20 10:03:45 +00:00
Derek White
1d7cef33c5 8276662: Scalability bottleneck in SymbolTable::lookup_common()
Reviewed-by: redestad, dholmes, iklam, shade
2021-11-20 00:48:32 +00:00
Daniel D. Daugherty
c79a485f1c 8277494: [BACKOUT] JDK-8276150 Quarantined jpackage apps are labeled as "damaged"
Reviewed-by: asemenyuk, tschatzl
2021-11-19 22:37:28 +00:00
Pavel Rappo
2ab43ec242 8273544: Increase test coverage for snippets
Reviewed-by: jjg
2021-11-19 20:51:22 +00:00
Yasumasa Suenaga
2d4af2255f 8277370: configure script cannot distinguish WSL version
Reviewed-by: erikj
2021-11-19 20:24:17 +00:00
Thomas Stuefe
a3406a1d8a 8277092: TestMetaspaceAllocationMT2.java#ndebug-default fails with "RuntimeException: Committed seems high: NNNN expected at most MMMM"
Reviewed-by: coleenp
2021-11-19 19:49:57 +00:00
Andrey Turbanov
e47cc81b09 8275386: Change nested classes in jdk.jlink to static nested classes
Reviewed-by: alanb, rriggs, iris
2021-11-19 18:51:13 +00:00
Andrey Turbanov
f609b8fd74 8274946: Cleanup unnecessary calls to Throwable.initCause() in java.rmi
Reviewed-by: iris, rriggs
2021-11-19 18:50:03 +00:00
Andrey Turbanov
36b59f3814 8274333: Redundant null comparison after Pattern.split
Reviewed-by: mullan, weijun, rriggs, iris
2021-11-19 18:49:04 +00:00
Andrey Turbanov
6677554374 8274949: Use String.contains() instead of String.indexOf() in java.base
Reviewed-by: weijun, dfuchs, vtewari, lancea
2021-11-19 18:48:06 +00:00
Coleen Phillimore
09e8c8c64a 8277342: vmTestbase/nsk/stress/strace/strace004.java fails with SIGSEGV in InstanceKlass::jni_id_for
Reviewed-by: dholmes, hseigel
2021-11-19 17:48:43 +00:00
Stefan Karlsson
976c2bb056 8277212: GC accidentally cleans valid megamorphic vtable inline caches
Reviewed-by: eosterlund, pliden, coleenp, thartmann
2021-11-19 15:34:22 +00:00
Sean Mullan
03f8c0fb93 8275887: jarsigner prints invalid digest/signature algorithm warnings if keysize is weak/disabled
Reviewed-by: weijun
2021-11-19 14:36:07 +00:00
Andy Herrick
936f7ff49e 8276150: Quarantined jpackage apps are labeled as "damaged"
Reviewed-by: almatvee
2021-11-19 14:23:04 +00:00
Magnus Ihse Bursie
a0227965bb 8275745: Reproducible copyright headers
Reviewed-by: ihse, erikj
2021-11-19 13:55:08 +00:00
Claes Redestad
b1a1bf4e30 8277427: Update jib-profiles.js to use JMH 1.33 devkit
Reviewed-by: shade, erikj
2021-11-19 13:25:40 +00:00
Daniel Fuchs
03debf2775 8276774: Cookie stored in CookieHandler not sent if user headers contain cookie
Reviewed-by: michaelm
2021-11-19 13:18:12 +00:00
Jie Fu
b15e6f076a 8277449: compiler/vectorapi/TestLongVectorNeg.java fails with release VMs
Reviewed-by: thartmann, chagedorn
2021-11-19 10:38:42 +00:00
Hamlin Li
11d819d68a 8277439: G1: Correct include guard name in G1EvacFailureObjectsSet.hpp
Reviewed-by: tschatzl, sjohanss
2021-11-19 10:15:30 +00:00
Albert Mingkun Yang
7a046e0f76 8277371: Remove unnecessary DefNewGeneration::ref_processor_init()
Reviewed-by: stefank, tschatzl, mli
2021-11-19 08:31:09 +00:00
Tobias Hartmann
3a76d39794 8277324: C2 compilation fails with "bad AD file" on x86-32 after JDK-8276162 due to missing match rule
Reviewed-by: chagedorn, roland
2021-11-19 08:23:45 +00:00
Jan Lahoda
2f20b0d8da 8273039: JShell crashes when naming variable or method "abstract" or "strictfp"
Reviewed-by: vromero
2021-11-19 07:49:58 +00:00
Tobias Hartmann
f34f119080 8277213: CompileTask_lock is acquired out of order with MethodCompileQueue_lock
Reviewed-by: rbackman, coleenp
2021-11-19 07:13:05 +00:00
Tobias Hartmann
47564caeb0 8275643: C2's unaryOp vector intrinsic does not properly handle LongVector.neg
Reviewed-by: chagedorn, sviswanathan
2021-11-19 07:07:17 +00:00
Yi Yang
2f0bde1a65 8277102: Dubious PrintCompilation output
Reviewed-by: thartmann, dnsimon
2021-11-19 02:04:48 +00:00
Man Cao
839033baf6 8276976: Rename LIR_OprDesc to LIR_Opr
Co-authored-by: Chuck Rasbold <rasbold@openjdk.org>
Reviewed-by: thartmann, iveresov
2021-11-18 23:35:01 +00:00
Roman Kennke
89b125f4d4 8275527: Refactor forward pointer access
Reviewed-by: tschatzl, stefank
2021-11-18 21:32:00 +00:00
Harold Seigel
36bd4a35fb 8277404: Test VMDeprecatedOptions.java failing with Unable to create shared archive file
Reviewed-by: dcubed
2021-11-18 20:06:13 +00:00
Niklas Radomski
57eb864765 8276927: [PPC64] Port shenandoahgc to linux on ppc64le
Reviewed-by: rkennke, ihse, mdoerr
2021-11-18 19:00:58 +00:00
Daniel D. Daugherty
8db0c361a3 8277414: ProblemList runtime/CommandLine/VMDeprecatedOptions.java on windows-x64
Reviewed-by: mikael, iklam
2021-11-18 18:40:26 +00:00
Sergey Bylokhov
03473b4c27 8270874: JFrame paint artifacts when dragged from standard monitor to HiDPI monitor
Reviewed-by: jdv
2021-11-18 18:25:38 +00:00
Thomas Schatzl
ce0f00f66e 8276093: Improve naming in closures to iterate over card sets
Reviewed-by: sjohanss, ayang
2021-11-18 16:59:41 +00:00
Alexander Zuev
5d249c46ab 8275071: [macos] A11y cursor gets stuck when combobox is closed
Reviewed-by: serb, pbansal
2021-11-18 16:07:38 +00:00
Albert Mingkun Yang
354a34ea20 8277336: Improve CollectedHeap::safepoint_workers comments
Reviewed-by: sjohanss, tschatzl
2021-11-18 15:54:04 +00:00
Prasanta Sadhukhan
276bfcd1a1 8277407: javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java fails to compile after JDK-8276058
Reviewed-by: dcubed
2021-11-18 15:17:59 +00:00
Erik Österlund
d93b238f97 8277180: Intrinsify recursive ObjectMonitor locking for C2 x64 and A64
Reviewed-by: aph, ngasson
2021-11-18 14:44:58 +00:00
Erik Österlund
00c388b4ab 8259643: ZGC can return metaspace OOM prematurely
Reviewed-by: stefank, pliden, stuefe
2021-11-18 14:32:59 +00:00
Sean Mullan
a44b45fdf3 4337793: Mark non-serializable fields of java.security.cert.Certificate and CertPath
Reviewed-by: valeriep, rriggs
2021-11-18 13:48:12 +00:00
Harold Seigel
b3a62b4881 8276795: Deprecate seldom used CDS flags
Reviewed-by: dholmes, ccheung, iklam
2021-11-18 13:18:37 +00:00
Evgeny Astigeevich
38345bd28d 8277137: Set OnSpinWaitInst/OnSpinWaitInstCount defaults to "isb"/1 for Arm Neoverse N1
Reviewed-by: phh, aph, ngasson
2021-11-18 11:18:15 +00:00
Erik Österlund
2c06bca98f 8266368: Inaccurate after_unwind hook in C2 exception handler
Reviewed-by: dlong, thartmann
2021-11-18 11:17:00 +00:00
Albert Mingkun Yang
77cc508802 8277215: Remove redundancy in ReferenceProcessor constructor args
Reviewed-by: tschatzl, sjohanss
2021-11-18 10:52:55 +00:00
Andrey Turbanov
0a65e8b282 8276794: Change nested classes in java.desktop to static nested classes
Reviewed-by: serb, aivanov
2021-11-18 10:48:16 +00:00
Ioi Lam
db55f9272c 8277343: dynamicArchive/SharedArchiveFileOption.java failed: '-XX:+RecordDynamicDumpInfo is unsupported when a dynamic CDS archive is specified in -XX:SharedArchiveFile:' missing
Reviewed-by: hseigel, ccheung
2021-11-18 08:49:07 +00:00
Doug Simon
2f4b5405f0 8276314: [JVMCI] check alignment of call displacement during code installation
Reviewed-by: kvn
2021-11-18 08:32:54 +00:00
Prasanta Sadhukhan
91607436b7 8276058: Some swing test fails on specific CI macos system
Reviewed-by: prr, kizune
2021-11-18 04:33:49 +00:00
Fei Gao
81938001f9 8274179: AArch64: Support SVE operations with encodable immediates
Reviewed-by: aph, ngasson
2021-11-18 02:41:27 +00:00
Naoto Sato
b8453ebdb4 8275007: Java fails to start with null charset if LC_ALL is set to certain locales
Reviewed-by: rriggs, iris, joehw, alanb
2021-11-18 01:13:26 +00:00
Naoto Sato
231fb61aae 8276970: Default charset for PrintWriter that wraps PrintStream
Reviewed-by: rriggs, alanb
2021-11-18 01:12:12 +00:00
Sergey Bylokhov
29e552c03a 8272358: Some tests may fail when executed with other locales than the US
Reviewed-by: aivanov
2021-11-17 22:21:38 +00:00
Daniel D. Daugherty
ce4471f806 8277346: ProblemList 7 serviceability/sa tests on macosx-x64
8277351: ProblemList runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.java on macosx-x64

Reviewed-by: tschatzl, bpb
2021-11-17 21:23:38 +00:00
Albert Mingkun Yang
45a60db5a0 8277045: G1: Remove unnecessary set_concurrency call in G1ConcurrentMark::weak_refs_work
Reviewed-by: tschatzl, sjohanss
2021-11-17 21:02:13 +00:00
Sean Coffey
6bb04626af 8277224: sun.security.pkcs.PKCS9Attributes.toString() throws NPE
Reviewed-by: weijun
2021-11-17 20:50:46 +00:00
Dean Long
d8c0280273 8277316: ciReplay: dump_replay_data is not thread-safe
Reviewed-by: chagedorn, thartmann
2021-11-17 20:26:25 +00:00
Joe Darcy
007ad7c77c 8277303: Terminology mismatch between JLS17-3.9 and SE17's javax.lang.model.SourceVersion method specs
Reviewed-by: iris, jjg
2021-11-17 20:23:43 +00:00
Dean Long
8881f29bc8 8277310: ciReplay: @cpi MethodHandle references not resolved
Reviewed-by: chagedorn, thartmann
2021-11-17 20:18:07 +00:00
Weijun Wang
262d07001b 8277246: Check for NonRepudiation as well when validating a TSA certificate
Reviewed-by: xuelei, mullan
2021-11-17 20:03:55 +00:00
Coleen Phillimore
a907b2b144 8276177: nsk/jvmti/RedefineClasses/StressRedefineWithoutBytecodeCorruption failed with "assert(def_ik->is_being_redefined()) failed: should be being redefined to get here"
Reviewed-by: hseigel, sspitsyn
2021-11-17 19:53:55 +00:00
Alex Kasko
b6876649a8 8277159: Fix java/nio/file/FileStore/Basic.java test by ignoring /run/user/* mount points
Reviewed-by: bpb, shade
2021-11-17 17:48:07 +00:00
Alexander Zuev
8f5a8f740b 8264293: Create implementation for NSAccessibilityMenu protocol peer
8264296: Create implementation for NSAccessibilityPopUpButton protocol peer
8264295: Create implementation for NSAccessibilityMenuItem protocol peer
8264294: Create implementation for NSAccessibilityMenuBar protocol peer

Reviewed-by: pbansal, ant
2021-11-17 17:36:53 +00:00
Harold Seigel
9f2f46ee45 8275037: Test vmTestbase/nsk/sysdict/vm/stress/btree/btree011/btree011.java crashes with memory exhaustion on Windows
Reviewed-by: coleenp
2021-11-17 14:25:17 +00:00
Kevin Walls
2af9e5976f 8276139: TestJpsHostName.java not reliable, better to expand HostIdentifierCreate.java test
Reviewed-by: jiefu, sspitsyn
2021-11-17 11:59:52 +00:00
Albert Mingkun Yang
e9934e1243 8277221: G1: Remove methods without implementations in G1CollectedHeap
Reviewed-by: tschatzl
2021-11-17 09:59:55 +00:00
Faye Gao
9aa30de4bb 8275317: AArch64: Support some type conversion vectorization in SLP
Reviewed-by: thartmann, ngasson
2021-11-17 08:19:46 +00:00
Fairoz Matte
08f65a59a7 8277313: Validate header failed for test/jdk/java/net/httpclient/HeadTest.java
Reviewed-by: jdv
2021-11-17 06:13:26 +00:00
Jaikiran Pai
23e5117a55 8276559: (httpclient) Consider adding an HttpRequest.Builder.HEAD method to build a HEAD request.
Reviewed-by: cstein, dfuchs
2021-11-17 03:20:40 +00:00
Ioi Lam
a77d8ddf11 8276787: Improve warning messages for -XX:+RecordDynamicDumpInfo
Reviewed-by: ccheung, stuefe
2021-11-16 21:03:33 +00:00
Roger Riggs
8ed384cfb6 8276609: Document setting property jdk.serialFilter to an invalid value throws ExceptionInInitializerError
Reviewed-by: dfuchs, lancea
2021-11-16 20:53:49 +00:00
Daniel Jelinski
cddc6ce446 8275811: Incorrect instance to dispose
Reviewed-by: xuelei
2021-11-16 20:34:15 +00:00
Alexander Zuev
b0a463fa59 8169468: NoResizeEventOnDMChangeTest.java fails because FS Window didn't receive all resizes!
Reviewed-by: serb
2021-11-16 19:01:53 +00:00
Dean Long
e5ffdf9120 8276231: ciReplay: SIGSEGV when replay compiling lambdas
Reviewed-by: iveresov, chagedorn
2021-11-16 17:25:38 +00:00
Yasumasa Suenaga
d5e47d6b84 8277089: Use system binutils to build hsdis
Reviewed-by: ihse
2021-11-16 14:47:42 +00:00
MeryKitty
f3eb5014aa 8276162: Optimise unsigned comparison pattern
Reviewed-by: thartmann, kvn
2021-11-16 14:09:53 +00:00
Jayathirth D V
9a9a157a7d 8276905: Use appropriate macosx_version_minimum value while compiling metal shaders
Reviewed-by: ihse, kcr, erikj, prr
2021-11-16 13:18:56 +00:00
Hamlin Li
7906eb050d 8277119: Add asserts in GenericTaskQueueSet methods
Reviewed-by: tschatzl
2021-11-16 11:37:37 +00:00
Andrey Turbanov
1c45c8a082 8274757: Cleanup unnecessary calls to Throwable.initCause() in java.management module
Reviewed-by: dfuchs, sspitsyn
2021-11-16 11:19:01 +00:00
Andrey Turbanov
c06df25a4f 8274662: Replace 'while' cycles with iterator with enhanced-for in jdk.hotspot.agent
Reviewed-by: amenkov, cjplummer, sspitsyn
2021-11-16 11:18:10 +00:00
Andrey Turbanov
9629627e2c 8274163: Use String.equals instead of String.compareTo in jdk.jcmd
Reviewed-by: cjplummer, amenkov, sspitsyn
2021-11-16 11:17:08 +00:00
Andrey Turbanov
0bc268377e 8274190: Use String.equals instead of String.compareTo in jdk.internal.jvmstat
Reviewed-by: cjplummer, sspitsyn
2021-11-16 11:15:52 +00:00
Andrey Turbanov
a9cb8bdbaa 8274168: Avoid String.compareTo == 0 to check String equality in java.management
Reviewed-by: sspitsyn, dfuchs, cjplummer, dholmes
2021-11-16 11:14:37 +00:00
Andrey Turbanov
20f3872d1c 8274261: Use enhanced-for instead of plain 'for' in jdk.jcmd
Reviewed-by: sspitsyn, cjplummer
2021-11-16 11:13:24 +00:00
Thomas Stuefe
b8d33a2a4e 8277029: JMM GetDiagnosticXXXInfo APIs should verify output array sizes
Reviewed-by: dholmes, sspitsyn
2021-11-16 09:49:03 +00:00
Stefan Johansson
1d79cfd3a1 8276229: Stop allowing implicit updates in G1BlockOffsetTable
Reviewed-by: tschatzl, ayang
2021-11-16 08:27:34 +00:00
Thomas Stuefe
7719a74cec 8277172: Remove stray comment mentioning instr_size_for_decode_klass_not_null on x64
Reviewed-by: dholmes
2021-11-16 07:49:43 +00:00
Aleksey Shipilev
e4362007da 8008243: Zero: Implement fast bytecodes
Reviewed-by: rkennke, coleenp
2021-11-16 07:32:34 +00:00
Calvin Cheung
bd92674be5 8276184: Exclude lambda proxy class from the CDS archive if its caller class is excluded
Reviewed-by: iklam, dholmes
2021-11-16 02:34:36 +00:00
Paul Sandoz
a59c9b2ac2 8271515: Integration of JEP 417: Vector API (Third Incubator)
Co-authored-by: Sandhya Viswanathan <sviswanathan@openjdk.org>
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Co-authored-by: Ningsheng Jian <njian@openjdk.org>
Co-authored-by: Xiaohong Gong <xgong@openjdk.org>
Co-authored-by: Eric Liu <eliu@openjdk.org>
Co-authored-by: Jie Fu <jiefu@openjdk.org>
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: John R Rose <jrose@openjdk.org>
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Rado Smogura <mail@smogura.eu>
Reviewed-by: kvn, sviswanathan, ngasson
2021-11-15 21:48:38 +00:00
Dean Long
9326eb1461 8276095: ciReplay: replay failure due to incomplete ciMethodData information
Reviewed-by: chagedorn, kvn
2021-11-15 21:09:23 +00:00
Andrey Turbanov
7a870418a3 8275385: Change nested classes in jdk.jdi to static nested classes
Reviewed-by: sspitsyn, amenkov, cjplummer
2021-11-15 19:18:35 +00:00
Andrey Turbanov
db0c8d5227 8274232: Cleanup unnecessary null comparison before instanceof check in jdk.jdi
Reviewed-by: cjplummer, sspitsyn
2021-11-15 19:14:17 +00:00
Thomas Schatzl
1830b8da90 8275056: Virtualize G1CardSet containers over heap region
Reviewed-by: sjohanss, ayang
2021-11-15 18:09:32 +00:00
Alexey Semenyuk
fe45835f7c 8274856: Failing jpackage tests with fastdebug/release build
Reviewed-by: almatvee, herrick
2021-11-15 17:57:58 +00:00
Alexey Semenyuk
9046077fe6 8276084: Linux DEB Bundler: release number in outputted .deb file should be optional
Reviewed-by: almatvee, herrick
2021-11-15 17:57:06 +00:00
Hannes Wallnöfer
7fc344dc96 8277028: Use service type documentation as fallback for @provides
Reviewed-by: prappo
2021-11-15 15:53:43 +00:00
Thomas Schatzl
35a831d5a7 8272170: Missing memory barrier when checking active state for regions
Reviewed-by: sjohanss, ayang
2021-11-15 14:34:19 +00:00
Albert Mingkun Yang
02f7900882 8276932: G1: Annotate methods with override explicitly in g1CollectedHeap.hpp
Reviewed-by: tschatzl, sjohanss
2021-11-15 12:46:38 +00:00
Pavel Rappo
fdcd16a38f 8277048: Tiny improvements to the specification text for java.util.Properties.load
Reviewed-by: rriggs, iris, naoto
2021-11-15 11:25:23 +00:00
Hamlin Li
b231f5baa9 8276921: G1: Remove redundant failed evacuation regions calculation in RemoveSelfForwardPtrHRClosure
Reviewed-by: ayang, tschatzl
2021-11-15 10:08:14 +00:00
Richard Reingruber
ca2efb73f5 8274687: JDWP deadlocks if some Java thread reaches wait in blockOnDebuggerSuspend
Reviewed-by: cjplummer, sspitsyn, rschmelter
2021-11-15 07:02:22 +00:00
Thomas Stuefe
296780c7ae 8276983: Small fixes to DumpAllocStat::print_stats
Reviewed-by: dholmes, iklam
2021-11-15 06:47:15 +00:00
Man Cao
8c5f030491 8276453: Undefined behavior in C1 LIR_OprDesc causes SEGV in fastdebug build
Co-authored-by: Chuck Rasbold <rasbold@openjdk.org>
Co-authored-by: James Y Knight <jyknight@google.com>
Reviewed-by: kvn, dlong
2021-11-12 22:34:10 +00:00
Daniel D. Daugherty
176d21d6c5 8276824: refactor Thread::is_JavaThread_protected
Reviewed-by: coleenp, rehn, dholmes
2021-11-12 19:06:01 +00:00
Daniel D. Daugherty
74f3e69dc8 8277071: [BACKOUT] JDK-8276743 Make openjdk build Zip Archive generation "reproducible"
Reviewed-by: erikj
2021-11-12 18:46:39 +00:00
Lance Andersen
b85500e524 8276123: ZipFile::getEntry will not return a file entry when there is a directory entry of the same name within a Zip File
Reviewed-by: redestad, alanb
2021-11-12 17:12:13 +00:00
Coleen Phillimore
0d2980cdd1 8258192: Obsolete the CriticalJNINatives flag
Reviewed-by: mdoerr, shade
2021-11-12 17:03:33 +00:00
Andrey Turbanov
5a2452c80e 8274835: Remove unnecessary castings in java.base
Reviewed-by: mullan, naoto, lancea, bpb
2021-11-12 16:30:56 +00:00
Coleen Phillimore
3b2585c02b 8276658: Clean up JNI local handles code
Reviewed-by: dholmes, pchilanomate
2021-11-12 16:17:15 +00:00
Andrew Leonard
aeba653034 8276743: Make openjdk build Zip Archive generation "reproducible"
Reviewed-by: erikj, ihse
2021-11-12 14:43:54 +00:00
Magnus Ihse Bursie
51a5731d6d 8277016: Use blessed modifier order in jdk.httpserver
Reviewed-by: dfuchs
2021-11-12 14:12:37 +00:00
Magnus Ihse Bursie
c4b44329c1 8277012: Use blessed modifier order in src/utils
Reviewed-by: dholmes, stuefe
2021-11-12 14:08:43 +00:00
Julia Boes
13deb38433 8276848: sun.net.httpserver.simpleserver.CommandLinePositiveTest: test does not specify port
Reviewed-by: dfuchs
2021-11-12 12:05:45 +00:00
Nils Eliasson
710f496456 8273277: C2: Move conditional negation into rc_predicate
Reviewed-by: thartmann, chagedorn, kvn
2021-11-12 10:08:26 +00:00
Per Liden
6b833db3f9 8275329: ZGC: vmTestbase/gc/gctests/SoftReference/soft004/soft004.java fails with assert(_phases->length() <= 1000) failed: Too many recored phases?
Reviewed-by: stefank, eosterlund
2021-11-12 08:19:03 +00:00
Andrey Turbanov
1e941dedad 8275197: Remove unused fields in ThaiBuddhistChronology
Reviewed-by: naoto, rriggs, iris
2021-11-11 22:26:45 +00:00
Evgeny Astigeevich
6954b98f8f 8186670: Implement _onSpinWait() intrinsic for AArch64
Reviewed-by: phh, aph
2021-11-11 22:23:35 +00:00
David Holmes
3445e50bd5 8276265: jcmd man page is outdated
Reviewed-by: stuefe, cjplummer
2021-11-11 22:10:18 +00:00
Claes Redestad
0ca0acf63c 8276947: Clarify how DateTimeFormatterBuilder.appendFraction handles value ranges
Reviewed-by: rriggs, naoto
2021-11-11 20:36:46 +00:00
Lance Andersen
b0d7a9daa6 8276994: java/nio/channels/Channels/TransferTo.java leaves multi-GB files in /tmp
Reviewed-by: alanb
2021-11-11 19:09:17 +00:00
Alan Bateman
8aae88b0fc 8276763: java/nio/channels/SocketChannel/AdaptorStreams.java fails with "SocketTimeoutException: Read timed out"
Reviewed-by: dfuchs
2021-11-11 19:07:09 +00:00
Alexander Zvegintsev
6f35eede45 8079267: [TEST_BUG] Test java/awt/Frame/MiscUndecorated/RepaintTest.java fails
Reviewed-by: serb
2021-11-11 16:53:27 +00:00
Ludvig Janiuk
5e98f993b3 8276800: Fix table headers in NumericShaper.html
Reviewed-by: naoto, aivanov
2021-11-11 16:46:52 +00:00
Aleksei Efimov
2ca4ff87b7 8244202: Implementation of JEP 418: Internet-Address Resolution SPI
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: dfuchs, alanb, michaelm, chegar
2021-11-11 14:33:58 +00:00
Tobias Hartmann
c29cab8ab4 8276112: Inconsistent scalar replacement debug info at safepoints
Reviewed-by: kvn, chagedorn
2021-11-11 13:09:05 +00:00
casparcwang
aea096770e 8275854: C2: assert(stride_con != 0) failed: missed some peephole opt
Co-authored-by: Roland Westrelin <roland@openjdk.org>
Reviewed-by: thartmann, roland, kvn
2021-11-11 10:39:09 +00:00
Hannes Wallnöfer
9862cd07c1 8275786: New javadoc option to add script files to generated documentation
Reviewed-by: jjg
2021-11-11 09:13:49 +00:00
Christian Hagedorn
7a140af253 8276546: [IR Framework] Whitelist and ignore CompileThreshold
Reviewed-by: kvn, neliasso
2021-11-11 08:03:01 +00:00
Aleksey Shipilev
91bb0d658b 8276796: gc/TestSystemGC.java large pages subtest fails with ZGC
Reviewed-by: pliden, stefank
2021-11-11 07:07:58 +00:00
Hamlin Li
08e0fd6757 8276835: G1: make G1EvacFailureObjectsSet::record inline
Reviewed-by: tschatzl, ayang
2021-11-11 05:52:58 +00:00
Yoshiki Sato
ad3be04d2a 8276536: Update TimeZoneNames files to follow the changes made by JDK-8275766
Reviewed-by: naoto, coffeys
2021-11-11 01:39:06 +00:00
Jesper Wilhelmsson
e27a67a916 8276930: Update ProblemList
Reviewed-by: kevinw, dholmes
2021-11-11 01:14:30 +00:00
Zhengyu Gu
73e6d7d74d 8276801: gc/stress/CriticalNativeStress.java fails intermittently with Shenandoah
Reviewed-by: shade
2021-11-11 00:14:52 +00:00
Naoto Sato
bce35ac1d6 8276775: ZonedDateTime/OffsetDateTime.toString return invalid ISO-8601 for years <= 1893
Reviewed-by: lancea, iris, bpb, scolebourne, rriggs
2021-11-10 20:53:23 +00:00
Naoto Sato
0c409cac78 8276186: Require getAvailableLocales() methods to include Locale.ROOT
Reviewed-by: prappo, smarks, iris
2021-11-10 20:52:11 +00:00
Ioi Lam
df02daa6f9 8269986: Remove +3 from Symbol::identity_hash()
Reviewed-by: coleenp
2021-11-10 20:22:41 +00:00
Alisen Chung
2374abda19 8276678: Malformed Javadoc inline tags in JDK source in com/sun/beans/decoder/DocumentHandler.java
Reviewed-by: serb, aivanov
2021-11-10 20:08:13 +00:00
Coleen Phillimore
67c2714ba2 8276889: Improve compatibility discussion in instanceKlass.cpp
Reviewed-by: hseigel
2021-11-10 19:45:09 +00:00
Weijun Wang
a5c160c711 8267108: Alternate Subject.getSubject and doAs APIs that do not depend on Security Manager APIs
Reviewed-by: mullan
2021-11-10 19:35:17 +00:00
Jonathan Gibbons
ce3ed65ac3 8273154: Provide a JavadocTester method for non-overlapping, unordered output matching
Reviewed-by: prappo
2021-11-10 15:24:27 +00:00
Aleksey Shipilev
f561d3c194 8276864: Update boot JDKs to 17.0.1 in GHA
Reviewed-by: erikj, ihse
2021-11-10 14:41:33 +00:00
Yasumasa Suenaga
38ec3a16d7 8276672: Cannot build hsdis on WSL
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Co-authored-by: Yasumasa Suenaga <ysuenaga@openjdk.org>
Reviewed-by: ihse, erikj
2021-11-10 14:33:02 +00:00
Harold Seigel
55b36c6f3b 8276825: hotspot/runtime/SelectionResolution test errors
Reviewed-by: dholmes, shade
2021-11-10 13:11:16 +00:00
Sergey Tsypanov
0f23c6a9fe 8276926: Use String.valueOf() when initializing File.separator and File.pathSeparator
Reviewed-by: redestad, jlaskey
2021-11-10 12:46:30 +00:00
Aleksey Shipilev
a0b84453b0 8276846: JDK-8273416 is incomplete for UseSSE=1
Reviewed-by: neliasso, kvn
2021-11-10 11:27:13 +00:00
Aleksey Shipilev
a3f710efbe 8276215: Intrinsics matchers should handle native method flags better
Reviewed-by: dholmes, kvn
2021-11-10 10:45:51 +00:00
Aleksey Shipilev
0f463a7bf7 8276845: (fs) java/nio/file/spi/SetDefaultProvider.java fails on x86_32
Reviewed-by: alanb
2021-11-10 09:50:27 +00:00
Prasanta Sadhukhan
e01d6d00bc 8276679: Malformed Javadoc inline tags in JDK source in javax/swing
Reviewed-by: aivanov, pbansal
2021-11-10 08:34:07 +00:00
Aleksey Shipilev
fd0a25e62b 8276805: java/awt/print/PrinterJob/CheckPrivilege.java fails due to disabled SecurityManager
Reviewed-by: serb, aivanov
2021-11-10 07:59:01 +00:00
Anirvan Sarkar
403f3185f0 8276854: Windows GHA builds fail due to broken Cygwin
Reviewed-by: clanger
2021-11-10 05:51:39 +00:00
Hamlin Li
e91e9d8532 8276721: G1: Refine G1EvacFailureObjectsSet::iterate
Reviewed-by: tschatzl, ayang
2021-11-10 01:26:35 +00:00
Jamil Nimeh
8822d41fdc 8274736: Concurrent read/close of SSLSockets causes SSLSessions to be invalidated unnecessarily
Reviewed-by: xuelei, wetmore
2021-11-10 01:24:33 +00:00
Hamlin Li
c1e41fe38b 8276842: G1: Only calculate size in bytes from words when needed
Reviewed-by: tschatzl, ayang
2021-11-10 01:13:30 +00:00
Hamlin Li
c8b0ee6b8a 8276833: G1: Make G1EvacFailureRegions::par_iterate const
Reviewed-by: tschatzl, ayang
2021-11-10 01:12:43 +00:00
Rickard Bäckman
0699220830 8268882: C2: assert(n->outcnt() != 0 || C->top() == n || n->is_Proj()) failed: No dead instructions after post-alloc
Reviewed-by: neliasso, chagedorn, kvn
2021-11-09 21:38:12 +00:00
Roger Riggs
d7012fbd60 8276880: Remove java/lang/RuntimeTests/exec/ExecWithDir as unnecessary
Reviewed-by: alanb
2021-11-09 20:43:51 +00:00
Hannes Wallnöfer
f9024d0606 8230130: javadoc search result dialog shows cut off headers for long results
Reviewed-by: jjg
2021-11-09 20:17:25 +00:00
Hannes Wallnöfer
055de6f566 8223358: Incorrect HTML structure in annotation pages
Reviewed-by: jjg
2021-11-09 20:11:18 +00:00
Pankaj Bansal
a60e91259b 8198626: java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.html fails on mac
Reviewed-by: serb
2021-11-09 20:10:20 +00:00
Brian Burkhalter
dde959dfce 8276808: java/nio/channels/Channels/TransferTo.java timed out
Reviewed-by: lancea, shade
2021-11-09 19:17:59 +00:00
Leo Korinth
daf77ebfc4 8276337: Use override specifier in HeapDumper
Reviewed-by: stuefe, dholmes
2021-11-09 17:50:16 +00:00
Andrey Turbanov
93692ea0a9 8274395: Use enhanced-for instead of plain 'for' in jdk.internal.jvmstat
Reviewed-by: cjplummer, amenkov, sspitsyn
2021-11-09 16:58:43 +00:00
Hannes Wallnöfer
e35abe3235 8256208: Javadoc's generated overview does not show classes of unnamed package
Reviewed-by: jjg
2021-11-09 15:05:07 +00:00
Yasumasa Suenaga
f65db88b74 8276841: Add support for Visual Studio 2022
Reviewed-by: erikj, ihse
2021-11-09 14:54:42 +00:00
Weijun Wang
c27afb313b 8276863: Remove test/jdk/sun/security/ec/ECDSAJavaVerify.java
Reviewed-by: ascarpino
2021-11-09 14:46:32 +00:00
Masanori Yano
e198594753 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently
Reviewed-by: mchung, alanb
2021-11-09 14:28:07 +00:00
Thomas Stuefe
4bd5bfd8e2 8276731: Metaspace chunks are uncommitted twice
Reviewed-by: shade, coleenp
2021-11-09 14:12:40 +00:00
Thomas Schatzl
5c7f77c824 8276850: Remove outdated comment in HeapRegionManager::par_iterate
Reviewed-by: ayang, sjohanss
2021-11-09 13:07:42 +00:00
Stefan Johansson
945f4085e5 8276098: Do precise BOT updates in G1 evacuation phase
Reviewed-by: tschatzl, ayang
2021-11-09 11:11:23 +00:00
Ioi Lam
8747882e4c 8276790: Rename GenericCDSFileMapHeader::_base_archive_path_offset
Reviewed-by: dholmes, ccheung
2021-11-09 07:18:06 +00:00
Bradford Wetmore
38e6d5d6ed 8276677: Malformed Javadoc inline tags in JDK source in javax/net/ssl
Reviewed-by: jnimeh
2021-11-09 01:11:18 +00:00
Joe Darcy
a7dedb5f47 8276772: Refine javax.lang.model docs
Reviewed-by: iris, vromero
2021-11-08 22:19:55 +00:00
Andrew Leonard
14d66bd438 8276654: element-list order is non deterministic
Reviewed-by: ihse
2021-11-08 20:37:24 +00:00
Eamonn McManus
905e3e8813 8231490: Ugly racy writes to ZipUtils.defaultBuf
Reviewed-by: lancea
2021-11-08 19:57:44 +00:00
Jonathan Gibbons
e383d26361 8275199: Bogus warning generated for serializable records
Reviewed-by: hannesw
2021-11-08 19:13:22 +00:00
Roger Riggs
7e73bca0b7 8276408: Deprecate Runtime.exec methods with a single string command line argument
Reviewed-by: alanb
2021-11-08 16:39:07 +00:00
Aleksey Shipilev
75adf54bdc 8276306: jdk/jshell/CustomInputToolBuilder.java fails intermittently on storage acquisition
Reviewed-by: jlahoda
2021-11-08 15:35:27 +00:00
Thomas Schatzl
7320b77b3e 8276548: Use range based visitor for Howl-Full cards
Reviewed-by: ayang, sjohanss
2021-11-08 15:00:31 +00:00
Daniel D. Daugherty
ea23e7333e 8249004: Reduce ThreadsListHandle overhead in relation to direct handshakes
Reviewed-by: coleenp, sspitsyn, dholmes, rehn
2021-11-08 14:45:04 +00:00
Denghui Dong
c815c5cbbb 8276209: Some call sites doesn't pass the parameter 'size' to SharedRuntime::dtrace_object_alloc(_base)
Reviewed-by: dholmes, coleenp
2021-11-08 14:30:54 +00:00
Andy Herrick
71c4b19517 8276562: Fix to JDK-8263155 left out the help text changes
Reviewed-by: asemenyuk, almatvee
2021-11-08 13:45:23 +00:00
Petr Portnov
cc2cac130c 8274686: java.util.UUID#hashCode() should use Long.hashCode()
Reviewed-by: rriggs
2021-11-08 13:22:37 +00:00
Jan Lahoda
0c2d00bff7 8275097: Wrong span of the 'default' tag
Reviewed-by: vromero
2021-11-08 13:21:40 +00:00
Jan Lahoda
fa754b8ffd 8276149: jshell throws EOF error when throwing exception inside switch expression
Reviewed-by: vromero
2021-11-08 13:20:44 +00:00
Jan Lahoda
4c14eddf41 8274734: the method jdk.jshell.SourceCodeAnalysis documentation not working
Reviewed-by: vromero
2021-11-08 13:19:51 +00:00
Thomas Schatzl
ff6863c98d 8276540: Howl Full CardSet container iteration marks too many cards
Reviewed-by: ayang, sjohanss
2021-11-08 12:59:00 +00:00
Christian Hagedorn
54481394a3 8271056: C2: "assert(no_dead_loop) failed: dead loop detected" due to cmoving identity
Reviewed-by: kvn, thartmann
2021-11-08 12:47:58 +00:00
Hannes Wallnöfer
0395e4ef8c 8276768: Snippet copy feature should use button instead of link
Reviewed-by: prappo
2021-11-08 11:35:26 +00:00
Ludvig Janiuk
d8b0dee65e 8276239: Better tables in java.util.random package summary
Reviewed-by: jlaskey
2021-11-08 09:44:44 +00:00
Christian Stein
fc0fe25679 8273235: tools/launcher/HelpFlagsTest.java Fails on Windows 32bit
Reviewed-by: shade
2021-11-08 08:09:51 +00:00
Nick Gasson
3934fe54b4 8275847: Scheduling fails with "too many D-U pinch points" on small method
Reviewed-by: thartmann, kvn
2021-11-08 06:40:49 +00:00
Yi Yang
44047f849f 8274328: C2: Redundant CFG edges fixup in block ordering
Reviewed-by: thartmann, kvn
2021-11-08 02:18:40 +00:00
Ioi Lam
884915496f 8275846: read_base_archive_name() could read past the end of buffer
Reviewed-by: ccheung, stuefe
2021-11-07 21:38:59 +00:00
Jaikiran Pai
2653cfbf0f 8276688: Remove JLinkReproducibleXXXTest from ProblemList.txt
Reviewed-by: alanb, mchung
2021-11-06 03:36:46 +00:00
Anirvan Sarkar
c7095b20d9 8276207: Properties.loadFromXML/storeToXML works incorrectly for supplementary characters
Reviewed-by: joehw
2021-11-06 00:41:44 +00:00
Hamlin Li
ed7ecca401 8254739: G1: Optimize evacuation failure for regions with few failed objects
Reviewed-by: tschatzl, ayang
2021-11-05 23:24:45 +00:00
Magnus Ihse Bursie
59c3dcc761 8276746: Add section on reproducible builds in building.md
Reviewed-by: erikj, sgehwolf, aleonard
2021-11-05 21:21:38 +00:00
Kim Barrett
0e0dd33fff 8276129: PretouchTask should page-align the chunk size
Reviewed-by: stefank, tschatzl
2021-11-05 21:20:51 +00:00
Andrew John Hughes
a472433209 8276572: Fake libsyslookup.so library causes tooling issues
Reviewed-by: shade, mcimadamore
2021-11-05 21:05:42 +00:00
Brian Burkhalter
b01f1073f9 8276252: java/nio/channels/Channels/TransferTo.java failed with OOM java heap space error
Reviewed-by: lancea
2021-11-05 17:25:06 +00:00
Daniel D. Daugherty
92d2176362 8273967: gtest os.dll_address_to_function_and_library_name_vm fails on macOS12
Reviewed-by: stuefe, gziemski
2021-11-05 17:04:39 +00:00
Vladimir Kozlov
a74a839af0 8276571: C2: pass compilation options as structure
Reviewed-by: shade, chagedorn
2021-11-05 16:07:25 +00:00
Magnus Ihse Bursie
c393ee8f59 8276632: Use blessed modifier order in security-libs code
Reviewed-by: mullan
2021-11-05 14:09:58 +00:00
Magnus Ihse Bursie
7023b3f8a1 8276628: Use blessed modifier order in serviceability code
Reviewed-by: dholmes, lmesnik, cjplummer
2021-11-05 12:07:58 +00:00
Magnus Ihse Bursie
b9331360f5 8276641: Use blessed modifier order in jshell
Reviewed-by: iris
2021-11-05 12:06:39 +00:00
Magnus Ihse Bursie
0616d868c7 8276635: Use blessed modifier order in compiler code
Reviewed-by: darcy
2021-11-05 12:05:22 +00:00
Patrick Concannon
d95299a4d7 8276634: Remove usePlainDatagramSocketImpl option from the test DatagramChannel/SendReceiveMaxSize.java
Reviewed-by: dfuchs, alanb, vtewari
2021-11-05 10:39:37 +00:00
Leo Korinth
3c0faa7352 8276173: Clean up and remove unneeded casts in HeapDumper
Reviewed-by: coleenp, hseigel
2021-11-05 09:42:26 +00:00
Leo Korinth
323d201795 8275506: Rename allocated_on_stack to allocated_on_stack_or_embedded
Reviewed-by: stuefe
2021-11-05 09:25:21 +00:00
Ningsheng Jian
96c396b701 8276151: AArch64: Incorrect result for double to int vector conversion
Reviewed-by: aph, psandoz
2021-11-05 07:45:54 +00:00
Thomas Stuefe
7281861e06 8272065: jcmd cannot rely on the old core reflection implementation which will be changed after JEP 416
Reviewed-by: mchung, coleenp, dholmes
2021-11-05 05:15:53 +00:00
Ioi Lam
8e17ce0031 8275185: Remove dead code and clean up jvmstat LocalVmManager
Reviewed-by: cjplummer, redestad, kevinw
2021-11-05 04:37:01 +00:00
Jaikiran Pai
396132ff1e 8275509: ModuleDescriptor.hashCode isn't reproducible across builds
Reviewed-by: alanb, ihse
2021-11-05 03:44:45 +00:00
Sandhya Viswanathan
9ad4d3d06b 8276025: Hotspot's libsvml.so may conflict with user dependency
Reviewed-by: kvn, erikj, psandoz, ihse
2021-11-05 03:30:09 +00:00
Mandy Chung
e21b5c7b37 8276650: GenGraphs does not produce deterministic output
Reviewed-by: iris
2021-11-04 23:51:18 +00:00
Alisen Chung
7b1916efda 8233557: [TESTBUG] DoubleClickTitleBarTest.java fails on macOs
Reviewed-by: prr
2021-11-04 21:53:29 +00:00
Ludvig Janiuk
8ec80c4bc1 8276653: Missing row headers in j.l.Character docs
Reviewed-by: naoto
2021-11-04 21:06:03 +00:00
Ludvig Janiuk
7e87f946ce 8276652: Missing row headers in MethodHandles.Lookup docs
Reviewed-by: mchung
2021-11-04 20:46:23 +00:00
Dean Long
dcf36f87f8 8275670: ciReplay: java.lang.NoClassDefFoundError when trying to load java/lang/invoke/LambdaForm$MH
Reviewed-by: kvn, chagedorn
2021-11-04 19:52:27 +00:00
Magnus Ihse Bursie
81203efe41 8276655: Use blessed modifier order in SCTP
Reviewed-by: alanb, dfuchs
2021-11-04 19:44:05 +00:00
Zhengyu Gu
2b5a32c73f 8275718: Relax memory constraint on exception counter updates
Reviewed-by: dholmes, minqi
2021-11-04 19:40:22 +00:00
Ludvig Janiuk
99d4b07cdd 8276649: MethodHandles.Lookup docs: replace the table in the cross-module access check section with list
Reviewed-by: mchung
2021-11-04 17:26:18 +00:00
Magnus Ihse Bursie
1533b8191b 8276629: Use blessed modifier order in core-libs code
Reviewed-by: dholmes, aefimov, dfuchs, mchung, iris
2021-11-04 17:02:42 +00:00
Brian Burkhalter
7bb2173383 8276199: java/nio/channels/FileChannel/LargeGatheringWrite.java fails to terminate correctly
Reviewed-by: alanb
2021-11-04 16:33:08 +00:00
Pavel Rappo
b57715a117 8276573: Use blessed modifier order in jdk.javadoc
Reviewed-by: jjg
2021-11-04 15:56:19 +00:00
Pavel Rappo
bf4ddf9cb7 8276338: Minor improve of wording for String.to(Lower|Upper)Case
Reviewed-by: rriggs, naoto
2021-11-04 15:51:37 +00:00
Aleksey Shipilev
afb502e28a 8276550: Use SHA256 hash in build.tools.depend.Depend
Reviewed-by: adinn, aph, andrew, ihse
2021-11-04 15:41:39 +00:00
Magnus Ihse Bursie
49b7b2ea09 8276640: Use blessed modifier order in jfr code
Reviewed-by: mgronlun
2021-11-04 15:06:08 +00:00
Evgeny Astigeevich
5acff75379 8276429: CodeHeapState::print_names() fails with "assert(klass->is_loader_alive()) failed: must be alive"
Reviewed-by: kvn
2021-11-04 15:01:26 +00:00
Per Liden
a6fa6ed1ed 8268779: ZGC: runtime/InternalApi/ThreadCpuTimesDeadlock.java#id1 failed with "OutOfMemoryError: Java heap space"
Reviewed-by: eosterlund, stefank
2021-11-04 13:47:59 +00:00
Hannes Wallnöfer
19075b3f6b 8275788: Create code element with suitable attributes for code snippets
Reviewed-by: prappo
2021-11-04 13:06:24 +00:00
Hamlin Li
7de653e428 8276301: G1: Refine implementation of G1CardSetFreePool::memory_sizes()
Reviewed-by: tschatzl, ayang
2021-11-04 12:31:27 +00:00
Julia Boes
ee49963258 8275534: com.sun.net.httpserver.BasicAuthenticator should check whether "realm" is a quoted string
Reviewed-by: michaelm, dfuchs
2021-11-04 11:31:51 +00:00
Aleksey Shipilev
3613ce7c7d 8275586: Zero: Simplify interpreter initialization
Reviewed-by: aph, adinn
2021-11-04 10:23:11 +00:00
Aleksey Shipilev
c62b3476ce 8276623: JDK-8275650 accidentally pushed "out" file
Reviewed-by: tschatzl, dholmes
2021-11-04 09:03:21 +00:00
Christian Hagedorn
a1f4c428ba 8276227: ciReplay: SIGSEGV if classfile for replay compilation is not present after JDK-8275868
Reviewed-by: kvn, thartmann, dlong
2021-11-04 08:53:37 +00:00
Aleksey Shipilev
9eadcbb47e 8276217: Harmonize StrictMath intrinsics handling
Reviewed-by: aph, kvn
2021-11-04 08:08:07 +00:00
Aleksey Shipilev
fb0be81f01 8276096: Simplify Unsafe.{load|store}Fence fallbacks by delegating to fullFence
Reviewed-by: psandoz, aph, dholmes
2021-11-04 08:03:51 +00:00
Yasumasa Suenaga
558ee40a4a 8276615: Update CR number of some tests in ProblemList-zgc.txt
Reviewed-by: dholmes
2021-11-04 04:34:07 +00:00
Yumin Qi
603bba282a 8271420: Extend CDS custom loader support to Windows platform
Reviewed-by: iklam, ccheung
2021-11-03 23:16:15 +00:00
Claes Redestad
ce8c76700b 8276220: Reduce excessive allocations in DateTimeFormatter
Reviewed-by: scolebourne, naoto
2021-11-03 22:57:13 +00:00
Jie Fu
0ab910d626 8276066: Reset LoopPercentProfileLimit for x86 due to suboptimal performance
Reviewed-by: thartmann, kvn
2021-11-03 22:45:50 +00:00
Joe Darcy
f3320d2fbd 8276588: Change "ccc" to "CSR" in HotSpot sources
Reviewed-by: dcubed, kbarrett
2021-11-03 21:20:09 +00:00
Ivan Šipka
32895ac609 8275650: Problemlist java/io/File/createTempFile/SpecialTempFile.java for Windows 11
Reviewed-by: bpb, msheppar
2021-11-03 19:30:12 +00:00
Jakob Cornell
c7f070f5f1 8276208: vmTestbase/nsk/jdb/repeat/repeat001/repeat001.java fails with "AssertionError: Unexpected output"
Reviewed-by: cjplummer, iklam
2021-11-03 18:18:16 +00:00
Brian Burkhalter
684edbb4c8 8273922: (fs) UserDefinedFileAttributeView doesn't handle file names that are just under the MAX_PATH limit (win)
Reviewed-by: alanb
2021-11-03 16:55:23 +00:00
Daniel Fuchs
7115892f96 8276401: Use blessed modifier order in java.net.http
Reviewed-by: prappo, rriggs
2021-11-03 16:23:57 +00:00
Phil Race
0ef8cbe325 8276385: Re-run blessed-modifier-order script on java.desktop and jdk.accessibility
Reviewed-by: serb
2021-11-03 16:22:42 +00:00
Aleksey Shipilev
724bf3be14 8275604: Zero: Reformat opclabels_data
Reviewed-by: adinn, zgu
2021-11-03 15:41:26 +00:00
Tobias Holenstein
61cb4bc6b0 8276036: The value of full_count in the message of insufficient codecache is wrong
Reviewed-by: kvn, dlong, thartmann, chagedorn
2021-11-03 15:31:50 +00:00
Daniel D. Daugherty
8731846001 8276556: ProblemList java/nio/channels/FileChannel/LargeGatheringWrite.java on windows-x64
Reviewed-by: alanb
2021-11-03 15:02:20 +00:00
Hamlin Li
be1ca2bd20 8276298: G1: Remove unused G1SegmentedArrayBufferList::add
Reviewed-by: tschatzl
2021-11-03 12:39:15 +00:00
Zhengyu Gu
a316c06e03 8275730: Relax memory constraint on MultiThreadedRefCounter
Reviewed-by: mgronlun, minqi
2021-11-03 12:08:37 +00:00
Pavel Rappo
615063364a 8276348: Use blessed modifier order in java.base
Reviewed-by: dfuchs, darcy, iris, rriggs, martin
2021-11-03 10:07:48 +00:00
Aleksey Shipilev
465d350d0b 8276157: C2: Compiler stack overflow during escape analysis on Linux x86_32
Reviewed-by: kvn, thartmann
2021-11-03 09:06:21 +00:00
Christian Hagedorn
7439b59b5a 8276044: ciReplay: C1 does not dump a replay file when using DumpReplay as compile command option
Reviewed-by: kvn, thartmann, dlong
2021-11-03 08:44:03 +00:00
sunguoyun
87b926ebb7 8275086: compiler/c2/irTests/TestPostParseCallDevirtualization.java fails when compiler1 is disabled
Reviewed-by: iveresov
2021-11-03 05:51:18 +00:00
Guoxiong Li
2b02b6f513 8274942: AssertionError at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:155)
Reviewed-by: vromero
2021-11-03 01:57:52 +00:00
Alex Menkov
bb92fb02ca 8274930: sun/tools/jps/TestJps.java can fail with long VM arguments string
Reviewed-by: sspitsyn, lmesnik
2021-11-02 21:57:16 +00:00
Markus Karg
6a04899ba1 8275840: Add test to java/nio/channels/Channels/TransferTo.java to test transfer sizes > 2GB
Reviewed-by: lancea
2021-11-02 18:06:14 +00:00
Daniel D. Daugherty
01105d6985 8276367: ProblemList vmTestbase/nsk/jvmti/RedefineClasses/StressRedefineWithoutBytecodeCorruption/TestDescription.java
Reviewed-by: bpb
2021-11-02 16:50:47 +00:00
Evgeny Astigeevich
8fc16f1605 8275729: Qualified method names in CodeHeap Analytics
Reviewed-by: yyang, thartmann
2021-11-02 16:32:04 +00:00
Brian Burkhalter
fa4ce824a3 8276260: (se) Remove java/nio/channels/Selector/Wakeup.java from ProblemList (win)
Reviewed-by: alanb
2021-11-02 16:27:56 +00:00
Naoto Sato
495c828ae9 8276188: Clarify "default charset" descriptions in String class
Reviewed-by: iris, joehw
2021-11-02 16:08:11 +00:00
Alexander Zuev
cd778f5b04 8202667: java/awt/Debug/DumpOnKey/DumpOnKey.java times out on Windows
Reviewed-by: prr
2021-11-02 13:23:18 +00:00
Thomas Stuefe
b889f2a88a 8276175: codestrings.validate_vm gtest still broken on ppc64 after JDK-8276046
Reviewed-by: mdoerr
2021-11-02 13:04:09 +00:00
Yoshiki Sato
5b4e39863d 8275766: (tz) Update Timezone Data to 2021e
8275849: TestZoneInfo310.java fails with tzdata2021e

Reviewed-by: naoto, iris, erikj, coffeys
2021-11-02 13:02:51 +00:00
Hannes Wallnöfer
8630f55ed7 8275406: Add copy-to-clipboard feature to snippet UI
Reviewed-by: erikj, jjg
2021-11-02 12:10:47 +00:00
Severin Gehwolf
9971a2cab3 8275735: [linux] Remove deprecated Metrics api (kernel memory limit)
Reviewed-by: hseigel, mchung
2021-11-02 10:39:41 +00:00
Aleksey Shipilev
b7a06be98d 8252990: Intrinsify Unsafe.storeStoreFence
Reviewed-by: dholmes, thartmann, whuang
2021-11-02 10:26:21 +00:00
Ludvig Janiuk
92be9d8c53 8276236: Table headers missing in Formatter api docs
Reviewed-by: coffeys, iris
2021-11-02 09:46:37 +00:00
Masanori Yano
9bf31652cb 8276164: RandomAccessFile#write method could throw IndexOutOfBoundsException that is not described in javadoc
Reviewed-by: alanb
2021-11-02 06:44:48 +00:00
Aleksey Shipilev
0488ebdf14 8276105: C2: Conv(D|F)2(I|L)Nodes::Ideal should handle rounding correctly
Reviewed-by: kvn, thartmann
2021-11-02 06:38:26 +00:00
Phil Race
acceffcbf7 8273704: DrawStringWithInfiniteXform.java failed : drawString with InfiniteXform transform takes long time
Reviewed-by: serb, psadhukhan
2021-11-02 02:49:56 +00:00
Pavel Rappo
2eafa036c0 8276234: Trivially clean up locale-related code
Reviewed-by: redestad, naoto, iris
2021-11-01 22:50:43 +00:00
Alisen Chung
47e7a42594 8262945: [macos] Regression Manual Test for Key Events Fails
Reviewed-by: prr, kizune
2021-11-01 22:29:40 +00:00
Zhengyu Gu
99b7b95e01 8276205: Shenandoah: CodeCache_lock should always be held for initializing code cache iteration
Reviewed-by: shade
2021-11-01 19:38:49 +00:00
Patrick Concannon
977154400b 8260428: Drop support for pre JDK 1.4 DatagramSocketImpl implementations
Reviewed-by: alanb, dfuchs, vtewari
2021-11-01 17:11:20 +00:00
Thomas Schatzl
e265f83858 8276107: Preventive collections trigger before maxing out heap
Reviewed-by: sjohanss, ayang
2021-11-01 16:48:13 +00:00
Leo Korinth
c8abe354c1 8276121: G1: Remove unused and uninitialized _g1h in g1SATBMarkQueueSet.hpp
Reviewed-by: ayang, tschatzl
2021-11-01 15:37:00 +00:00
Patricio Chilano Mateo
f55e68c929 8275950: Use only _thread_in_vm in ~ThreadBlockInVMPreprocess()
Reviewed-by: dholmes, dcubed
2021-11-01 15:27:39 +00:00
Erik Gahlin
4ac8403f9a 8276218: JFR: Clean up jdk.jfr.dcmd
Reviewed-by: mgronlun
2021-11-01 12:33:10 +00:00
Aleksey Shipilev
89ade1d7e8 8273416: C2: assert(false) failed: bad AD file after JDK-8252372 with UseSSE={0,1}
Reviewed-by: kvn, roland
2021-11-01 12:30:43 +00:00
Zhengyu Gu
dbf5100dd7 8276201: Shenandoah: Race results degenerated GC to enter wrong entry point
Reviewed-by: shade
2021-11-01 12:17:16 +00:00
Christian Hagedorn
5bb1992b84 8275868: ciReplay: Inlining fails with "unloaded signature classes" due to wrong protection domains
Reviewed-by: kvn, dlong, thartmann
2021-11-01 08:22:59 +00:00
Thomas Stuefe
158831e4c3 8274320: os::fork_and_exec() should be using posix_spawn
Reviewed-by: mdoerr, dholmes
2021-11-01 05:13:55 +00:00
Man Cao
bf2e9ee9d3 8275080: G1CollectedHeap::expand() returns the wrong value
Co-authored-by: Jonathan Joo <jonathanjoo@google.com>
Reviewed-by: tschatzl, kbarrett
2021-10-31 04:58:16 +00:00
Alexander Zuev
b7104ba9a9 8196017: java/awt/Mouse/GetMousePositionTest/GetMousePositionWithPopup.java fails
Reviewed-by: serb
2021-10-30 10:01:05 +00:00
Sergey Bylokhov
687567822a 8273831: PrintServiceLookup spawns 2 threads in the current classloader, getting orphaned
Reviewed-by: aivanov
2021-10-30 09:03:27 +00:00
Alex Menkov
5bbc8d3cb2 8274621: NullPointerException because listenAddress[0] is null
Reviewed-by: sspitsyn, lmesnik, cjplummer
2021-10-29 21:38:24 +00:00
Igor Veresov
5021a12cea 8274855: vectorapi tests failing with assert(!vbox->is_Phi()) failed
Reviewed-by: kvn
2021-10-29 18:03:10 +00:00
Jakob Cornell
fe6a202087 8271356: Modify jdb to treat an empty command as a repeat of the previous command
Reviewed-by: cjplummer, iklam
2021-10-29 17:50:19 +00:00
Yumin Qi
cef9db9a69 8276039: Remove unnecessary qualifications of java_lang_Class::
Reviewed-by: mikael, iklam
2021-10-29 16:15:35 +00:00
Brian Burkhalter
13265f9901 8274750: java/io/File/GetXSpace.java failed: '/dev': 191488 != 190976
Reviewed-by: rriggs, naoto
2021-10-29 16:13:23 +00:00
Brian Burkhalter
5facaa243a 8276128: (bf) Remove unused constant ARRAY_BASE_OFFSET from Direct-X-Buffer
Reviewed-by: lancea, iris, alanb
2021-10-29 16:12:19 +00:00
Thomas Stuefe
d6d82f52d4 8275608: runtime/Metaspace/elastic/TestMetaspaceAllocationMT2 too slow
Reviewed-by: mbaesken, shade
2021-10-29 13:54:27 +00:00
Alexander Zvegintsev
a1ec4f9618 6854300: [TEST_BUG] java/awt/event/MouseEvent/SpuriousExitEnter/SpuriousExitEnter_3.java fails in jdk6u14 & jdk7
Reviewed-by: serb
2021-10-29 13:05:22 +00:00
Sean Mullan
8cc59509fe 8251468: X509Certificate.get{Subject,Issuer}AlternativeNames and getExtendedKeyUsage do not throw CertificateParsingException if extension is unparseable
Reviewed-by: weijun
2021-10-29 12:42:33 +00:00
Alexander Zuev
4c3491bfa5 8017175: [TESTBUG] javax/swing/JPopupMenu/4634626/bug4634626.java sometimes failed on mac
Reviewed-by: serb
2021-10-29 11:44:12 +00:00
Ilarion Nakonechnyy
c0cda1db4f 8273026: Slow LoginContext.login() on multi threading application
Reviewed-by: weijun
2021-10-29 11:37:45 +00:00
Aleksey Shipilev
15fd8a300b 8276102: JDK-8245095 integration reverted JDK-8247980
Reviewed-by: dfuchs, redestad
2021-10-29 10:26:06 +00:00
Thomas Stuefe
e89b2c040c 8276086: Increase size of metaspace mappings
Reviewed-by: goetz, mdoerr
2021-10-29 09:44:48 +00:00
Albert Mingkun Yang
24cf48000a 8276047: G1: refactor G1CardSetArrayLocker
Reviewed-by: tschatzl, sjohanss
2021-10-29 09:06:36 +00:00
Tobias Holenstein
e922023ec9 8275909: [JVMCI] c2v_readFieldValue use long instead of jlong for the offset parameter
Reviewed-by: chagedorn, dnsimon, shade
2021-10-29 06:16:38 +00:00
Thomas Stuefe
157e1d5073 8275856: Remove MetaspaceHandleDeallocations debug switch
Reviewed-by: coleenp, iklam
2021-10-29 04:26:56 +00:00
Thomas Stuefe
c9e65f8ef9 8275440: Remove VirtualSpaceList::is_full()
Reviewed-by: coleenp
2021-10-29 03:48:45 +00:00
Hai-May Chao
de93b1d0e8 8257722: Improve "keytool -printcert -jarfile" output
Reviewed-by: weijun
2021-10-28 23:04:34 +00:00
Mandy Chung
21da218387 8274848: LambdaMetaFactory::metafactory on REF_invokeSpecial impl method has incorrect behavior
Reviewed-by: psandoz, dlsmith
2021-10-28 22:24:56 +00:00
Joe Darcy
48f3fcab51 8275308: Add valueOf(Runtime.Version) factory to SourceVersion
Reviewed-by: jjg
2021-10-28 22:11:03 +00:00
Mandy Chung
c6339cb8a2 8271820: Implementation of JEP 416: Reimplement Core Reflection with Method Handle
8013527: calling MethodHandles.lookup on itself leads to errors

Co-authored-by: Peter Levart <plevart@openjdk.org>
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: mcimadamore, plevart, egahlin, redestad, cjplummer, alanb
2021-10-28 18:32:50 +00:00
Aleksey Shipilev
5a768f75c9 8276054: JMH benchmarks for Fences
Reviewed-by: redestad
2021-10-28 17:32:39 +00:00
Aleksey Shipilev
6d8fa8f663 8255286: Implement ParametersTypeData::print_data_on fully
Reviewed-by: dholmes
2021-10-28 17:13:08 +00:00
Mitsuru Kariya
63b9f8c0da 8153490: Cannot setBytes() if incoming buffer's length is bigger than number of elements we want to insert.
Reviewed-by: lancea
2021-10-28 15:56:17 +00:00
Andrew Haley
cb989cf3a1 8275052: AArch64: Severe AES/GCM slowdown on MacOS for short blocks
Reviewed-by: ngasson, adinn
2021-10-28 15:51:29 +00:00
Prasanta Sadhukhan
c92f230557 8276110: Problemlist javax/swing/JMenu/4515762/bug4515762.java for macos12
Reviewed-by: azvegint
2021-10-28 15:37:15 +00:00
Mandy Chung
309acbf0e8 8275703: System.loadLibrary fails on Big Sur for libraries hidden from filesystem
Reviewed-by: dholmes, alanb, mcimadamore
2021-10-28 15:27:26 +00:00
Ludvig Janiuk
abe52aea23 8275518: accessibility issue in Inet6Address docs
Reviewed-by: ihse, jjg
2021-10-28 14:40:53 +00:00
Thomas Schatzl
85d8cd8566 8276100: Remove G1SegmentedArray constructor name parameter
Reviewed-by: ayang
2021-10-28 12:58:03 +00:00
Volker Simonis
a343fa8766 8275865: Print deoptimization statistics in product builds
Reviewed-by: thartmann, kvn
2021-10-28 12:40:30 +00:00
Coleen Phillimore
bec977c778 8275917: Some locks shouldn't allow_vm_block
Reviewed-by: dholmes, pchilanomate
2021-10-28 11:57:21 +00:00
Hannes Wallnöfer
7c996d572c 8269401: Merge "Exceptions" and "Errors" into "Exception Classes"
Reviewed-by: jjg
2021-10-28 10:41:49 +00:00
Per Liden
d88b89f896 8276067: ZGC: Remove unused function alloc_high_address_at_most()
Reviewed-by: eosterlund, stefank
2021-10-28 10:10:05 +00:00
Andrey Turbanov
593401fe8b 8276042: Remove unused local variables in java.naming
Reviewed-by: aefimov, dfuchs, vtewari
2021-10-28 08:42:10 +00:00
Aleksey Shipilev
a2f2d8fcf5 8276057: Update JMH devkit to 1.33
Reviewed-by: aph, redestad, erikj
2021-10-28 08:27:44 +00:00
Per Liden
1750a6e2c0 8276055: ZGC: Defragment address space
Reviewed-by: eosterlund, stefank
2021-10-28 05:44:32 +00:00
Thomas Stuefe
d9b0138d7d 8275704: Metaspace::contains() should be threadsafe
Reviewed-by: coleenp, dholmes
2021-10-28 05:29:58 +00:00
Andrey Turbanov
9a3e954299 8274879: Replace uses of StringBuffer with StringBuilder within java.base classes
Reviewed-by: naoto
2021-10-27 16:18:12 +00:00
Daniel D. Daugherty
e6fa5fa37e 8276063: ProblemList gtest dll_address_to_function_and_library_name on macosx-generic
Reviewed-by: tschatzl
2021-10-27 14:24:02 +00:00
Thomas Stuefe
809488bf38 8276046: codestrings.validate_vm gtest fails on ppc64, s390
Reviewed-by: shade, mdoerr
2021-10-27 13:40:51 +00:00
Stefan Karlsson
93be099ccb 4718400: Many quantities are held as signed that should be unsigned
Reviewed-by: coleenp, rbackman, dholmes
2021-10-27 13:23:24 +00:00
Naoto Sato
168081efc8 8270490: Charset.forName() taking fallback default value
Reviewed-by: joehw, rriggs, serb, dfuchs
2021-10-27 12:39:46 +00:00
Tobias Hartmann
a29273336b 8275975: Remove dead code in ciInstanceKlass
Reviewed-by: chagedorn, kvn
2021-10-27 12:27:43 +00:00
Coleen Phillimore
40606021ee 8275800: Redefinition leaks MethodData::_extra_data_lock
Reviewed-by: sspitsyn, dholmes
2021-10-27 12:09:46 +00:00
Prasanta Sadhukhan
485d65865e 8275851: Deproblemlist open/test/jdk/javax/swing/JComponent/6683775/bug6683775.java
Reviewed-by: serb
2021-10-27 10:24:21 +00:00
Jayathirth D V
b3f45f868d 8275689: [TESTBUG] Use color tolerance only for XRender in BlitRotateClippedArea test
Reviewed-by: serb
2021-10-27 10:21:28 +00:00
Claes Redestad
6c05cc9d15 8275863: Use encodeASCII for ASCII-compatible DoubleByte encodings
Reviewed-by: naoto, rriggs, alanb
2021-10-27 10:07:46 +00:00
Jayathirth D V
2f979ecb5b 8213120: java/awt/TextArea/AutoScrollOnSelectAndAppend/AutoScrollOnSelectAndAppend.java fails on mac10.13
Reviewed-by: psadhukhan
2021-10-27 09:29:37 +00:00
Albert Mingkun Yang
9e831bccd2 8275886: G1: remove obsolete comment in HeapRegion::setup_heap_region_size
Reviewed-by: mli, tschatzl
2021-10-27 08:24:44 +00:00
Wang Huang
9f75d5ce50 8259948: Aarch64: Add cast nodes for Aarch64 Neon backend
Co-authored-by: Wang Huang <whuang@openjdk.org>
Co-authored-by: Wu Yan <wuyan@openjdk.org>
Co-authored-by: Miao Zhuojun <mouzhuojun@huawei.com>
Reviewed-by: aph, eliu, njian
2021-10-27 05:32:50 +00:00
Alexander Zvegintsev
d98b7c2591 8202926: Test java/awt/Focus/WindowUpdateFocusabilityTest/WindowUpdateFocusabilityTest.html fails
Reviewed-by: serb
2021-10-27 01:58:11 +00:00
Yi Yang
b0d1e4ff4d 8273585: String.charAt performance degrades due to JDK-8268698
Reviewed-by: roland, kvn
2021-10-27 01:21:12 +00:00
Daniel D. Daugherty
7addcd7cfb 8276034: ProblemList gtest dll_address_to_function_and_library_name on macosx-x64
Reviewed-by: prr
2021-10-26 22:03:18 +00:00
Doug Simon
2448b3f5f9 8275874: [JVMCI] only support aligned reads in c2v_readFieldValue
Reviewed-by: never, shade
2021-10-26 18:50:21 +00:00
Jiří Vaněk
f1f5e2690c 8275872: Sync J2DBench run and analyze Makefile targets with build.xml
Reviewed-by: ihse, andrew
2021-10-26 16:54:55 +00:00
Andrey Turbanov
19f76c215d 8275079: Remove unnecessary conversion to String in java.net.http
Reviewed-by: dfuchs
2021-10-26 16:40:55 +00:00
Calvin Cheung
e5cd2692da 8274944: AppCDS dump causes SEGV in VM thread while adjusting lambda proxy class info
Reviewed-by: minqi, dholmes
2021-10-26 16:26:57 +00:00
Roland Westrelin
82f4aacb42 8259609: C2: optimize long range checks in long counted loops
Co-authored-by: John R Rose <jrose@openjdk.org>
Reviewed-by: thartmann, jrose
2021-10-26 15:53:37 +00:00
Anton Tarasov
574f8903ee 8275720: CommonComponentAccessibility.createWithParent isWrapped causes mem leak
Reviewed-by: kizune, pbansal
2021-10-26 15:47:17 +00:00
Anton Tarasov
7c88a59b7b 8275809: crash in [CommonComponentAccessibility getCAccessible:withEnv:]
Reviewed-by: kizune, pbansal
2021-10-26 15:26:45 +00:00
Andrey Turbanov
c9dec2f984 8273299: Unnecessary Vector usage in java.security.jgss
Reviewed-by: weijun
2021-10-26 15:25:23 +00:00
Anton Tarasov
b98ed55060 8275819: [TableRowAccessibility accessibilityChildren] method is ineffective
Reviewed-by: pbansal, kizune
2021-10-26 15:23:43 +00:00
Coleen Phillimore
71d593ede6 8275162: Use varargs in 'def' macros in mutexLocker.cpp
Reviewed-by: dholmes, pchilanomate
2021-10-26 14:33:22 +00:00
Harold Seigel
7ca053de21 8251904: vmTestbase/nsk/sysdict/vm/stress/btree/btree010/btree010.java fails with ClassNotFoundException: nsk.sysdict.share.BTree0LLRLRLRRLR
Reviewed-by: dholmes, lmesnik
2021-10-26 12:37:54 +00:00
Jatin Bhateja
4be88d5482 8275047: Optimize existing fill stubs for AVX-512 target
Reviewed-by: kvn, redestad
2021-10-26 12:34:56 +00:00
Naoto Sato
63e0f344e9 8275767: JDK source code contains redundant boolean operations in jdk.charsets
Reviewed-by: lancea, rriggs, iris
2021-10-26 12:32:49 +00:00
Julia Boes
4961373a67 8275137: jdk.unsupported/sun.reflect.ReflectionFactory.readObjectNoDataForSerialization uses wrong signature
Reviewed-by: dfuchs
2021-10-26 12:17:47 +00:00
Harold Seigel
174f553f7e 8275869: Problem list applications/jcstress/copy.java on Linux-aarch64
Reviewed-by: lfoltan, dholmes
2021-10-26 12:05:09 +00:00
Thomas Stuefe
3ff085e296 8275582: Don't purge metaspace mapping lists
Reviewed-by: coleenp, lkorinth
2021-10-26 04:52:01 +00:00
Weijun Wang
10e1610f7b 8251134: Unwrapping a key with a Private Key generated by Microsoft CNG fails
Reviewed-by: valeriep
2021-10-26 02:45:23 +00:00
Weijun Wang
43619458d1 8185844: MSCAPI doesn't list aliases correctly
Reviewed-by: valeriep
2021-10-26 02:39:05 +00:00
Harold Seigel
337a9b73a7 8269853: Prefetch::read should accept pointer to const
Reviewed-by: coleenp
2021-10-25 19:44:25 +00:00
Clive Verghese
97d3280eb4 8275536: Add test to check that File::lastModified returns same time stamp as Files.getLastModifiedTime
Reviewed-by: alanb, bpb
2021-10-25 18:33:57 +00:00
Igor Veresov
89671aa164 8273712: C2: Add mechanism for rejecting inlining of low frequency call sites and deprecate MinInliningThreshold.
Reviewed-by: kvn, rbackman
2021-10-25 17:03:57 +00:00
Artem Semenov
3221a14f9e 8273678: TableAccessibility and TableRowAccessibility miss autorelease
Reviewed-by: ant, kizune, pbansal
2021-10-25 16:26:43 +00:00
Alexander Zvegintsev
7cf68b1901 8202932: java/awt/Component/NativeInLightShow/NativeInLightShow.java fails
Reviewed-by: serb
2021-10-25 14:34:36 +00:00
Alexander Zvegintsev
f610ef0dbc 8196440: Regression automated Test 'java/awt/TrayIcon/PopupMenuLeakTest/PopupMenuLeakTest.java' fails
Reviewed-by: serb, psadhukhan
2021-10-25 14:27:17 +00:00
Jaikiran Pai
f143d2a88e 8268595: java/io/Serializable/serialFilter/GlobalFilterTest.java#id1 failed in timeout
Reviewed-by: chegar, rriggs
2021-10-25 14:24:05 +00:00
Albert Mingkun Yang
7f94302cec 8275511: G1: Rename needs_remset_update to remset_is_tracked in G1HeapRegionAttr
Reviewed-by: tschatzl, sjohanss
2021-10-25 13:18:20 +00:00
Stefan Karlsson
0bcc1749ea 8275717: Reimplement STATIC_ASSERT to use static_assert
Reviewed-by: stuefe, eosterlund, kbarrett
2021-10-25 09:07:51 +00:00
Alexey Bakhtin
f6232982b9 8271199: Mutual TLS handshake fails signing client certificate with custom sensitive PKCS11 key
Reviewed-by: xuelei, valeriep
2021-10-25 08:00:40 +00:00
Christian Hagedorn
1da5e6b0e2 8275104: IR framework does not handle client VM builds correctly
Reviewed-by: kvn, thartmann
2021-10-25 07:25:19 +00:00
Hamlin Li
5dab76b939 8275381: G1: refactor 2 constructors of G1CardSetConfiguration
Reviewed-by: tschatzl, ayang
2021-10-25 01:03:51 +00:00
Sergey Tsypanov
5bbe4cae87 8275293: A change done with JDK-8268764 mismatches the java.rmi.server.ObjID.hashCode spec
Reviewed-by: rriggs, smarks
2021-10-23 21:07:58 +00:00
Igor Ignatyev
c94dc2ab60 8272854: split runtime/CommandLine/PrintTouchedMethods.java test
Reviewed-by: iklam
2021-10-23 03:59:55 +00:00
Hai-May Chao
fec470f262 8272163: Add -version option to keytool and jarsigner
Reviewed-by: weijun
2021-10-22 20:53:38 +00:00
Phil Race
6523c558d9 8198336: java/awt/FontMetrics/FontCrash.java fails in headless mode
Reviewed-by: serb
2021-10-22 17:22:12 +00:00
Wu Yan
88bbf3c2e6 8273111: Default timezone should return zone ID if /etc/localtime is valid but not canonicalization on linux
Co-authored-by: Sun Jianye <sunjianye@huawei.com>
Reviewed-by: naoto, mli
2021-10-22 16:23:25 +00:00
Doug Simon
4dec8fc4cc 8275645: [JVMCI] avoid unaligned volatile reads on AArch64
Reviewed-by: kvn, never
2021-10-22 16:20:31 +00:00
Albert Mingkun Yang
4e647aa584 8275416: G1: remove unnecessary make_referent_alive in precleaning phase
Reviewed-by: tschatzl, sjohanss
2021-10-22 13:01:24 +00:00
Albert Mingkun Yang
dd622e55c0 8275783: G1: fix incorrect region type documentation in HeapRegionType
Reviewed-by: tschatzl
2021-10-22 12:47:35 +00:00
Andy Herrick
b2128a9667 8263155: Allow additional contents for DMG
Reviewed-by: asemenyuk, almatvee
2021-10-22 12:17:45 +00:00
Stefan Karlsson
1efe946db7 8275712: Hashtable literal_size functions are broken
Reviewed-by: coleenp, zgu
2021-10-22 08:20:43 +00:00
David Holmes
fab3d6c612 8275761: Backout: JDK-8274794 Print all owned locks in hs_err file
Reviewed-by: mikael
2021-10-22 04:47:53 +00:00
Sergey Bylokhov
c978ca87de 8275344: -Xcheck:jni produces some warnings in the LCMS.c
Reviewed-by: azvegint, prr, kizune
2021-10-22 03:05:16 +00:00
Joe Darcy
6a466fe7ae 8202056: Expand serial warning to check for bad overloads of serial-related methods and ineffectual fields
8160675: Issue lint warning for non-serializable non-transient instance fields in serializable type

Reviewed-by: erikj, sspitsyn, jlahoda, vromero, rriggs, smarks
2021-10-21 21:11:01 +00:00
Andrey Turbanov
4e9dd4bddb 8275384: Change nested classes in jdk.jconsole to static nested classes
Reviewed-by: alanb, sspitsyn, mchung
2021-10-21 20:52:31 +00:00
Dean Long
0961de47de 8275347: ciReplay: staticfield lines not properly terminated
Reviewed-by: neliasso, chagedorn
2021-10-21 19:02:38 +00:00
Yumin Qi
7dd823740f 8275084: CDS warning when building with LOG=debug
Reviewed-by: dholmes, iklam
2021-10-21 18:30:21 +00:00
Sean Mullan
49f9d8031e 8243585: AlgorithmChecker::check throws confusing exception when it rejects the signer key
Reviewed-by: ascarpino
2021-10-21 17:28:40 +00:00
Albert Mingkun Yang
bef8cf1ba1 8275714: G1: remove unused variable in G1Policy::transfer_survivors_to_cset
Reviewed-by: tschatzl
2021-10-21 15:49:21 +00:00
Mikhailo Seledtsov
af14650127 8275569: Add linux-aarch64 to test-make profiles
Reviewed-by: ihse
2021-10-21 15:31:03 +00:00
Joe Darcy
0761a4b915 8275688: Suppress warnings on non-serializable non-transient instance fields in DualPivotQuicksort
Reviewed-by: rriggs
2021-10-21 15:26:07 +00:00
Joe Darcy
3cb241a91f 8275686: Suppress warnings on non-serializable non-transient instance fields in java.rmi
Reviewed-by: bpb, iris, rriggs
2021-10-21 15:25:10 +00:00
Christian Hagedorn
3b0ce23bcd 8274888: Dump "-DReproduce=true" to the test VM command line output
Reviewed-by: thartmann, kvn
2021-10-21 14:05:45 +00:00
Weijun Wang
d589b664cc 8270380: Change the default value of the java.security.manager system property to disallow
Reviewed-by: lancea, mullan, rriggs
2021-10-21 14:04:48 +00:00
Harold Seigel
e39bdc9ddb 8274714: Incorrect verifier protected access error message
Reviewed-by: dholmes, coleenp
2021-10-21 13:50:32 +00:00
Evan Whelan
45ce06c9f3 8274779: HttpURLConnection: HttpClient and HttpsClient incorrectly check request method when set to POST
Reviewed-by: dfuchs, coffeys, vtewari, michaelm
2021-10-21 13:33:21 +00:00
Kim Barrett
60cb27dcda 8275426: PretouchTask num_chunks calculation can overflow
Reviewed-by: ayang, tschatzl
2021-10-21 13:28:25 +00:00
Coleen Phillimore
cd07b3cab0 8257534: misc tests failed with "NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom"
Reviewed-by: hseigel
2021-10-21 11:46:24 +00:00
Coleen Phillimore
819d2df8b0 8274794: Print all owned locks in hs_err file
Reviewed-by: stuefe, dholmes
2021-10-21 11:28:22 +00:00
Markus Grönlund
c41ce6d159 8275415: Prepare Leak Profiler for Lilliput
Reviewed-by: rkennke
2021-10-21 10:12:19 +00:00
Alexander Zuev
0c3eaea11c 8168388: GetMousePositionTest fails with the message "Mouse position should not be null"
Reviewed-by: psadhukhan, serb
2021-10-21 09:51:18 +00:00
Stefan Karlsson
09f5235c65 8275405: Linking error for classes with lambda template parameters and virtual functions
Reviewed-by: ihse, pliden
2021-10-21 07:47:10 +00:00
Hamlin Li
a120937e81 8274988: G1: refine G1SegmentedArrayAllocOptions and G1CardSetAllocOptions
Reviewed-by: tschatzl, ayang
2021-10-21 01:17:52 +00:00
Hamlin Li
c7a80e60e2 8275607: G1: G1CardSetAllocator::drop_all needs to call G1SegmentedArray::drop_all
Reviewed-by: tschatzl, ayang
2021-10-21 01:16:10 +00:00
vamsi-parasa
af7c56b85b 8275167: x86 intrinsic for unsignedMultiplyHigh
Reviewed-by: kvn, sviswanathan
2021-10-20 22:40:51 +00:00
Igor Ignatyev
cea3f01046 8275666: serviceability/jvmti/GetObjectSizeClass.java shouldn't have vm.flagless
Reviewed-by: lmesnik
2021-10-20 19:24:46 +00:00
Alisen Chung
d1e3ca4ee3 8233558: [TESTBUG] WindowOwnedByEmbeddedFrameTest.java fails on macos
Reviewed-by: serb, kizune, prr
2021-10-20 18:51:00 +00:00
Markus Karg
913f9281ad 8273507: Convert test/jdk/java/nio/channels/Channels/TransferTo.java to TestNG test
Reviewed-by: shade, bpb
2021-10-20 18:30:52 +00:00
Mikhailo Seledtsov
0021a2f462 8275449: Add linux-aarch64-zero build profile
Reviewed-by: erikj
2021-10-20 18:16:58 +00:00
Alexander Zvegintsev
46b5bfbc38 8233648: [TESTBUG] DefaultMenuBarTest.java failing on macos
Reviewed-by: pbansal, serb, psadhukhan, prr
2021-10-20 16:44:47 +00:00
Harold Seigel
bbc606117f 8272614: Unused parameters in MethodHandleNatives linking methods
Reviewed-by: dholmes, lfoltan
2021-10-20 15:48:43 +00:00
Thomas Schatzl
7e28bdd1eb 8275055: Improve HeapRegionRemSet::split_card()
Reviewed-by: sjohanss, ayang
2021-10-20 15:33:50 +00:00
Jaikiran Pai
35e5bb5f59 8269336: Malformed jdk.serialFilter incorrectly handled
Reviewed-by: rriggs
2021-10-20 15:10:28 +00:00
Daniel Jelinski
043cde22d4 8275319: java.net.NetworkInterface throws java.lang.Error instead of SocketException
Reviewed-by: alanb, dfuchs
2021-10-20 14:06:08 +00:00
Harold Seigel
a91a0a523a 8233724: Remove -Wc++14-compat warning suppression in operator_new.cpp
Reviewed-by: coleenp
2021-10-20 12:20:50 +00:00
Harold Seigel
1271fbf3d4 8248584: Enable CHECK_UNHANDLED_OOPS for Windows fastdebug builds
Reviewed-by: dholmes, erikj
2021-10-20 12:15:40 +00:00
Zhengyu Gu
135cf3c94d 8275439: Remove PrintVtableStats
Reviewed-by: coleenp, dholmes
2021-10-20 11:46:13 +00:00
Thomas Schatzl
50a57238a8 8274910: Compile in G1 evacuation failure injection code based on define
Reviewed-by: sjohanss, ayang
2021-10-20 11:42:58 +00:00
Hannes Wallnöfer
5454a76752 8275273: Add missing HtmlStyle documentation
Reviewed-by: jjg
2021-10-20 09:59:55 +00:00
sunguoyun
bd0bed71e5 8273317: crash in cmovP_cmpP_zero_zeroNode::bottom_type()
Reviewed-by: thartmann, kvn
2021-10-20 06:37:20 +00:00
Prasanta Sadhukhan
77b2789396 7124287: [macosx] JTableHeader doesn't get focus after pressing F8 key
Reviewed-by: kizune
2021-10-20 06:31:59 +00:00
Weijun Wang
c24fb852f2 8275512: Upgrade required version of jtreg to 6.1
Reviewed-by: ihse, iignatyev, joehw, lancea, jjg, mchung
2021-10-19 21:04:14 +00:00
Joe Darcy
926966be7a 8275003: Suppress warnings on non-serializable non-transient instance fields in windows mscapi
Reviewed-by: valeriep
2021-10-19 20:53:23 +00:00
Valerie Peng
e63c1486dc 8264849: Add KW and KWP support to PKCS11 provider
Reviewed-by: ascarpino
2021-10-19 20:50:56 +00:00
Weijun Wang
bd2b41dd70 8275252: Migrate cacerts from JKS to password-less PKCS12
Reviewed-by: erikj, ihse, mullan
2021-10-19 20:48:17 +00:00
Phil Race
54a29a4470 8192931: Regression test java/awt/font/TextLayout/CombiningPerf.java fails
Reviewed-by: serb, jdv, kizune
2021-10-19 20:45:27 +00:00
Ian Graves
4b9303b77b 8273308: PatternMatchTest.java fails on CI
Reviewed-by: dfuchs, smarks
2021-10-19 18:26:04 +00:00
Jamsheed Mohammed C M
25c8584879 8271723: Unproblemlist runtime/InvocationTests/invokevirtualTests.java
Reviewed-by: thartmann
2021-10-19 18:26:03 +00:00
Harold Seigel
76373ae3c8 8270404: Better canonicalization
Reviewed-by: coleenp, rhalade, mschoene
2021-10-19 18:26:03 +00:00
Harold Seigel
24b588eddb 8270398: Enhance canonicalization
Reviewed-by: rhalade, mschoene, coleenp
2021-10-19 18:26:03 +00:00
Weijun Wang
b774d31c48 8266689: More Constrained Delegation
Reviewed-by: valeriep, rhalade, ahgross
2021-10-19 18:26:03 +00:00
Prasanta Sadhukhan
333b9d5715 8265580: Enhanced style for RTF kit
Reviewed-by: rhalade, azvegint, prr, mschoene
2021-10-19 18:26:02 +00:00
Prasanta Sadhukhan
4e4a3cf657 8269763: The JEditorPane is blank after JDK-8265167
Reviewed-by: azvegint, prr
2021-10-19 18:26:02 +00:00
Jamsheed Mohammed C M
af82404b3c 8269624: Enhance method selection support
Reviewed-by: vlivanov, rhalade, thartmann, iignatyev, jwilhelm, ahgross
2021-10-19 18:26:02 +00:00
Prasanta Sadhukhan
3ab356335d 8265574: Improve handling of sheets
Reviewed-by: azvegint, prr, rhalade, mschoene, ahgross
2021-10-19 18:26:02 +00:00
Jamil Nimeh
f2c5728a86 8268199: Correct certificate requests
Reviewed-by: xuelei, ahgross, rhalade
2021-10-19 18:26:02 +00:00
Jamil Nimeh
44ce867314 8270105: Fix ServerKeyExchange copyright
Reviewed-by: jnimeh, weijun
2021-10-19 18:26:01 +00:00
Jamil Nimeh
9c4988daeb 8268193: Improve requests of certificates
Reviewed-by: xuelei, rhalade, ahgross
2021-10-19 18:26:01 +00:00
Xue-Lei Andrew Fan
c714707eac 8268205: Enhance DTLS client handshake
Reviewed-by: jnimeh, ahgross, rhalade
2021-10-19 18:26:01 +00:00
Xue-Lei Andrew Fan
365a2d428c 8269618: Better session identification
Reviewed-by: jnimeh, rhalade, ahgross
2021-10-19 18:26:01 +00:00
Hai-May Chao
20e1a273c2 8268500: Better specified ParameterSpecs
Reviewed-by: weijun, ahgross, rhalade
2021-10-19 18:26:01 +00:00
Hai-May Chao
790dcc667d 8268506: More Manifest Digests
Reviewed-by: xuelei, ahgross, weijun, rhalade
2021-10-19 18:26:00 +00:00
Weijun Wang
ab9170957f 8270212: ArrayIndexOutOfBoundsException in java.security.KeyFactory.generatePublic
Reviewed-by: ahgross, valeriep
2021-10-19 18:26:00 +00:00
Jayathirth D V
c70f7cad47 8267735: Better BMP support
Reviewed-by: prr, rhalade, azvegint, ahgross, mschoene
2021-10-19 18:26:00 +00:00
Weijun Wang
3470e7b300 8266109: More Resilient Classloading
Reviewed-by: lancea, rhalade, mschoene, bchristi
2021-10-19 18:26:00 +00:00
Xue-Lei Andrew Fan
a07a046c92 8267729: Improve TLS client handshaking
Reviewed-by: ahgross, jnimeh, rhalade
2021-10-19 18:25:59 +00:00
Prasanta Sadhukhan
fde3839c0c 8265167: Richer Text Editors
Reviewed-by: prr, rhalade, mschoene, azvegint
2021-10-19 18:25:59 +00:00
Hai-May Chao
a48251cb4a 8266137: Improve Keystore integrity
Reviewed-by: mschoene, rhalade, weijun
2021-10-19 18:25:59 +00:00
Aleksei Efimov
bddcc8ea9d 8267712: Better LDAP reference processing
Reviewed-by: dfuchs, ahgross, rhalade
2021-10-19 18:25:59 +00:00
Valerie Peng
470e8a0fda 8266103: Better specified spec values
Reviewed-by: mullan, rhalade, mschoene
2021-10-19 18:25:59 +00:00
Julia Boes
dd199ee063 8266097: Better hashing support
Reviewed-by: chegar, dfuchs, ahgross, smarks, rhalade
2021-10-19 18:25:58 +00:00
Michael McMahon
3a7b663b6f 8265776: Improve Stream handling for SSL
Reviewed-by: dfuchs, chegar, rhalade, ahgross
2021-10-19 18:25:58 +00:00
Weijun Wang
34628ff8ac 8266115: More Manifest Jar Loading
Reviewed-by: mschoene, ahgross, mullan, rhalade
2021-10-19 18:25:58 +00:00
Weijun Wang
a26f9db704 8263314: Enhance XML Dsig modes
Reviewed-by: rhalade, mschoene, valeriep, mullan
2021-10-19 18:25:58 +00:00
Alexander Zvegintsev
895e2bd7c0 8274160: java/awt/Window/ShapedAndTranslucentWindows/Common.java delay is too high
Reviewed-by: psadhukhan, pbansal
2021-10-19 17:24:20 +00:00
Vicente Romero
fd10f1996e 8275302: unexpected compiler error: cast, intersection types and sealed
Reviewed-by: jlahoda
2021-10-19 16:46:14 +00:00
Markus Grönlund
99bf7dd8dd 8275517: Off-by-one error in allocation
Reviewed-by: tschatzl
2021-10-19 16:20:45 +00:00
Naoto Sato
8a3e0a1fc1 7008363: TEST_BUG: test/java/lang/StringCoding/CheckEncodings.sh does nothing and is very slow at that
Reviewed-by: iris, lancea, bpb, whuang
2021-10-19 15:54:14 +00:00
Andrey Turbanov
a579483c88 8274899: Replace usages of Collections.sort with List.sort call in jdk.hotspot.agent
Reviewed-by: sspitsyn, cjplummer, ayang
2021-10-19 14:46:30 +00:00
Zhengyu Gu
002c538bc0 8275287: Relax memory ordering constraints on updating instance class and array class counters
Reviewed-by: dholmes, rkennke
2021-10-19 14:14:23 +00:00
Markus Grönlund
98ab4b03b3 8275445: RunThese30M.java failed "assert(ZAddress::is_marked(addr)) failed: Should be marked"
Reviewed-by: egahlin, coleenp
2021-10-19 13:00:50 +00:00
Jayathirth D V
dcd6e0da24 8255724: [XRender] the BlitRotateClippedArea test fails on Linux in the XR pipeline
Reviewed-by: psadhukhan
2021-10-19 12:25:32 +00:00
Hamlin Li
d17d81a8b2 8273626: G1: Factor out concurrent segmented array from G1CardSetAllocator
Reviewed-by: tschatzl, ayang
2021-10-19 12:24:21 +00:00
Zhengyu Gu
a4491f2253 8275413: Remove unused InstanceKlass::set_array_klasses() method
Reviewed-by: coleenp
2021-10-19 12:00:30 +00:00
Julia Boes
9d191fce55 8245095: Implementation of JEP 408: Simple Web Server
Co-authored-by: Julia Boes <jboes@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Co-authored-by: Michael McMahon <michaelm@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Ivan Šipka <isipka@openjdk.org>
Reviewed-by: ihse, jlaskey, michaelm, chegar, dfuchs
2021-10-19 10:19:15 +00:00
Jayathirth D V
947d52c4c3 8255898: Test java/awt/FileDialog/FilenameFilterTest/FilenameFilterTest.java fails on Mac OS
Reviewed-by: prr, serb
2021-10-19 04:04:25 +00:00
Daniel D. Daugherty
a03119ce1a 8275436: [BACKOUT] JDK-8271949 dumppath in -XX:FlightRecorderOptions does not affect
Reviewed-by: mgronlun
2021-10-18 18:25:53 +00:00
Calvin Cheung
bad75e6796 8275150: URLClassLoaderTable should store OopHandle instead of Handle
Reviewed-by: stefank, minqi
2021-10-18 18:05:39 +00:00
Markus Grönlund
72a976ef05 8266936: Add a finalization JFR event
Reviewed-by: coleenp, mchung, egahlin
2021-10-18 16:52:36 +00:00
Gerard Ziemski
bcbe3845d9 8269175: [macosx-aarch64] wrong CPU speed in hs_err file
Reviewed-by: dholmes, dcubed, stuefe
2021-10-18 16:24:02 +00:00
Joe Darcy
426bcee927 8275360: Use @Override in javax.annotation.processing
Reviewed-by: iris
2021-10-18 16:11:16 +00:00
Albert Mingkun Yang
4d383b9fcd 8275298: Remove unnecessary weak_oops_do call in adjust weak roots phase
Reviewed-by: tschatzl, sjohanss
2021-10-18 16:02:22 +00:00
Joe Darcy
fb8e5cf4ec 8275368: Correct statement of kinds of elements Processor.process operates over
Reviewed-by: jlahoda
2021-10-18 15:48:59 +00:00
Andy Herrick
d548f2fc0d 8274346: Support for additional content in an app-image.
Reviewed-by: asemenyuk, almatvee
2021-10-18 13:28:41 +00:00
Weijun Wang
a619f8909b 8274721: UnixSystem fails to provide uid, gid or groups if no username is available
Reviewed-by: mullan
2021-10-18 13:24:39 +00:00
Andrey Turbanov
1afddb2560 8275322: Change nested classes in java.management to static nested classes
Reviewed-by: alanb, dfuchs, mchung, sspitsyn
2021-10-18 12:02:00 +00:00
Stefan Karlsson
45ebf85ca9 8275333: Print count in "Too many recored phases?" assert
Reviewed-by: eosterlund, tschatzl
2021-10-18 11:20:51 +00:00
Tobias Holenstein
ebb1363e5d 8251513: Code around Parse::do_lookupswitch/do_tableswitch should be cleaned up
Reviewed-by: roland, thartmann
2021-10-18 07:32:17 +00:00
Stefan Karlsson
bb7dacdc78 8275334: Move class loading Events to a separate section in hs_err files
Reviewed-by: stuefe, coleenp
2021-10-18 07:03:17 +00:00
Yasumasa Suenaga
31500692d1 8271949: dumppath in -XX:FlightRecorderOptions does not affect
Reviewed-by: ddong, mgronlun
2021-10-17 08:59:13 +00:00
Thomas Schatzl
bfcf6a29a1 8275277: assert(dest_attr.is_in_cset() == (obj->forwardee() == obj)) failed: Only evac-failed objects must be in the collection set here but <addr> is not
Reviewed-by: ayang, rkennke
2021-10-16 11:05:48 +00:00
Jonathan Gibbons
96fef40b82 8189591: No way to locally suppress doclint warnings
Reviewed-by: hannesw, prappo
2021-10-16 03:04:11 +00:00
Brian Burkhalter
7fc3a8d052 8275149: (ch) ReadableByteChannel returned by Channels.newChannel(InputStream) throws ReadOnlyBufferException
Reviewed-by: alanb
2021-10-15 22:58:21 +00:00
Lance Andersen
831802ddb1 8275163: Deflater::deflate methods omit javadoc for ReadOnlyBufferException
Reviewed-by: bpb, iris, naoto
2021-10-15 20:38:43 +00:00
Naoto Sato
ad9e234f5e 8275145: file.encoding system property has an incorrect value on Windows
Reviewed-by: mchung, iris, rriggs, alanb
2021-10-15 20:36:30 +00:00
Joe Darcy
f17818516c 8275249: Suppress warnings on non-serializable array component types in jdk.jlink
Reviewed-by: iris
2021-10-15 17:24:30 +00:00
Calvin Cheung
ee64ce9f14 8274937: Revert the timeout setting for DynamicLoaderConstraintsTest
Reviewed-by: dcubed, minqi
2021-10-15 16:53:00 +00:00
Joe Darcy
8c4da9c15f 8275013: Improve discussion of serialization method declarations in java.io.Object{Input, Output}Stream
Reviewed-by: smarks, rriggs
2021-10-15 16:17:29 +00:00
Alexander Zvegintsev
da8da3a161 8269698: Specification for methods of java.awt.im.InputContext should mention that they do nothing
Reviewed-by: serb
2021-10-15 14:03:55 +00:00
Weijun Wang
8e02064288 8049520: FileCredentialsCache loads cache once and is never refreshed
Reviewed-by: mullan
2021-10-15 13:51:52 +00:00
Coleen Phillimore
172aed1a2d 8274338: com/sun/jdi/RedefineCrossEvent.java failed "assert(m != __null) failed: NULL mirror"
Reviewed-by: dholmes, iklam
2021-10-15 12:10:27 +00:00
Aleksey Shipilev
ced79091f6 8275286: Check current thread when calling JRT methods that expect it
Reviewed-by: zgu, coleenp, dholmes
2021-10-15 11:15:49 +00:00
Artem Semenov
c0f3e1d6be 8271071: accessibility of a table on macOS lacks cell navigation
Reviewed-by: ant, kizune, pbansal
2021-10-15 09:51:28 +00:00
Christian Hagedorn
4cb7124c1e 8262912: ciReplay: replay does not simulate unresolved classes
Reviewed-by: kvn, dlong
2021-10-15 07:38:38 +00:00
Andrey Turbanov
322b130106 8275106: Cleanup Iterator usages in java.desktop
Reviewed-by: serb, pbansal
2021-10-15 07:09:11 +00:00
Sergey Bylokhov
c355704a4b 8041125: ColorConvertOp filter much slower in JDK 8 compared to JDK7
Reviewed-by: prr
2021-10-15 02:21:26 +00:00
Jie Fu
9623d5bb46 8275265: java/nio/channels tests needing large heap sizes fail on x86_32
Reviewed-by: alanb, bpb
2021-10-14 23:12:56 +00:00
Andrey Turbanov
21df412bd9 8275240: Change nested classes in jdk.attach to static nested classes
Reviewed-by: cjplummer, dholmes, sspitsyn
2021-10-14 23:12:05 +00:00
Fernando Guallini
a16f2d0a3c 8272908: Missing coverage for certain classes in com.sun.org.apache.xml.internal.security
Reviewed-by: rhalade
2021-10-14 18:26:27 +00:00
Bernhard Urban-Forster
ede3f4e94c 8274795: AArch64: avoid spilling and restoring r18 in macro assembler
Reviewed-by: aph
2021-10-14 16:58:14 +00:00
Jaikiran Pai
40d69f0c41 8254267: javax/xml/crypto/dsig/LogParameters.java failed with "RuntimeException: Unexpected log output:"
Reviewed-by: weijun, dfuchs
2021-10-14 14:38:16 +00:00
Per Liden
54b8870766 8275035: Clean up worker thread infrastructure
Reviewed-by: stefank, ayang
2021-10-14 14:05:36 +00:00
Zhengyu Gu
3b0b6adc3d 8275226: Shenandoah: Relax memory constraint for worker claiming tasks/ranges
Reviewed-by: shade
2021-10-14 12:52:12 +00:00
Hannes Wallnöfer
8d9004b7f4 8274781: Use monospace font for enclosing interface
Reviewed-by: prappo
2021-10-14 12:19:26 +00:00
Nick Gasson
333c4692d8 8275262: [BACKOUT] AArch64: Implement string_compare intrinsic in SVE
Reviewed-by: dholmes, tschatzl
2021-10-14 09:35:48 +00:00
TatWai Chong
8b1b6f9fb3 8269559: AArch64: Implement string_compare intrinsic in SVE
Reviewed-by: ngasson, aph
2021-10-14 05:27:12 +00:00
Joe Darcy
d9e03e42af 8275244: Suppress warnings on non-serializable array component types in jdk.management
Reviewed-by: alanb
2021-10-13 20:19:04 +00:00
lawrence.andrews
7dc2db4aac 8274032: Remove jtreg tag manual=yesno for java/awt/print/PrinterJob/ImagePrinting/ImageTypes.java & show test UI
Reviewed-by: serb, pbansal
2021-10-13 20:06:35 +00:00
lawrence.andrews
1e0184d142 8275234: java/awt/GraphicsDevice/DisplayModes/CycleDMImage.java is entered twice in ProblemList
Reviewed-by: serb, pbansal
2021-10-13 20:04:30 +00:00
Joe Darcy
d15fbc28af 8275187: Suppress warnings on non-serializable array component types in java.sql.rowset
Reviewed-by: lancea
2021-10-13 16:53:46 +00:00
Fairoz Matte
d8f6b6c19a 8274718: runtime/cds/appcds/LambdaEagerInit.java fails with -XX:-CompactStrings
Reviewed-by: iklam, ccheung
2021-10-13 15:38:36 +00:00
Jie Fu
451a296510 8275173: testlibrary_tests/ir_framework/tests/TestCheckedTests.java fails after JDK-8274911
Reviewed-by: chagedorn, thartmann
2021-10-13 14:30:11 +00:00
Andrey Turbanov
5ffb5d100f 8272992: Replace usages of Collections.sort with List.sort call in jdk.* modules
Reviewed-by: cjplummer, prappo
2021-10-13 11:34:24 +00:00
Jan Lahoda
b8cb76ad21 8273682: Upgrade Jline to 3.20.0
Reviewed-by: sundar
2021-10-13 10:15:54 +00:00
Andrey Turbanov
dcf428c7a7 8275075: Remove unnecessary conversion to String in jdk.hotspot.agent
Reviewed-by: sspitsyn, cjplummer
2021-10-13 09:07:07 +00:00
Thomas Schatzl
c3b75c6cdf 8274516: [REDO] JDK-8271880: Tighten condition for excluding regions from collecting cards with cross-references
Reviewed-by: sjohanss, ayang
2021-10-13 08:10:55 +00:00
Niklas Radomski
337b73a459 8274851: [PPC64] Port zgc to linux on ppc64le
Reviewed-by: ihse, pliden, mdoerr, eosterlund
2021-10-13 07:36:52 +00:00
Martin Doerr
cf828673a9 8275049: [ZGC] missing null check in ZNMethod::log_register
Reviewed-by: nradomski, eosterlund, pliden
2021-10-13 07:12:52 +00:00
Joe Darcy
ab34cced3b 8275186: Suppress warnings on non-serializable array component types in xml
Reviewed-by: joehw
2021-10-13 05:26:33 +00:00
Daniel D. Daugherty
b1b83500a9 8275171: ProblemList compiler/codegen/aes/TestAESMain.java on linux-x64 and windows-x64 in -Xcomp mode
Reviewed-by: iignatyev
2021-10-12 23:43:40 +00:00
Magnus Ihse Bursie
03c2b73e21 8275128: Build hsdis using normal build system
Reviewed-by: erikj
2021-10-12 23:28:53 +00:00
Sergey Tsypanov
124f82377b 8268764: Use Long.hashCode() instead of int-cast where applicable
Reviewed-by: kevinw, prr, kizune, serb
2021-10-12 19:13:17 +00:00
Daniel D. Daugherty
8657f77608 8271514: support JFR use of new ThreadsList::Iterator
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Reviewed-by: sspitsyn, mgronlun
2021-10-12 17:05:47 +00:00
Evgeny Astigeevich
b8bd259bb8 8271737: Only normalize the cached user.dir property once
Reviewed-by: phh
2021-10-12 16:56:06 +00:00
Dmitry Batrak
89999f70e0 8275131: Exceptions after a touchpad gesture on macOS
Reviewed-by: dmarkov, prr
2021-10-12 15:36:41 +00:00
Brian Burkhalter
07b1f1c282 8274548: (fc) FileChannel gathering write fails with IOException "Invalid argument" on macOS 11.6
Reviewed-by: alanb
2021-10-12 15:25:53 +00:00
Christian Hagedorn
f623460668 8274911: testlibrary_tests/ir_framework/tests/TestIRMatching.java fails with "java.lang.RuntimeException: Should have thrown exception"
Reviewed-by: kvn, thartmann
2021-10-12 13:21:35 +00:00
Roman Kennke
e393c5ea9d 8275074: Cleanup unused code in JFR LeakProfiler
Reviewed-by: mgronlun
2021-10-12 13:16:20 +00:00
Martin Doerr
e16b93ad52 8274770: [PPC64] resolve_jobject needs a generic implementation to support load barriers
Reviewed-by: goetz, nradomski
2021-10-12 12:18:49 +00:00
Zhengyu Gu
1ab64143c0 8275051: Shenandoah: Correct ordering of requested gc cause and gc request flag
Reviewed-by: shade
2021-10-12 11:58:35 +00:00
kabutz
b460d6ddaf 8275091: /src/jdk.management.jfr/share/classes/module-info.java has non-canonical order
Reviewed-by: mgronlun
2021-10-12 11:38:21 +00:00
Andrey Turbanov
d04d4ee2c1 8274894: Use Optional.empty() instead of ofNullable(null) in HttpResponse.BodySubscribers.discarding
Reviewed-by: dfuchs
2021-10-12 11:14:31 +00:00
Doug Simon
33050f8013 8274986: max code printed in hs-err logs should be configurable
Reviewed-by: never, dholmes
2021-10-12 09:49:50 +00:00
Kim Barrett
8de26361f7 8274615: Support relaxed atomic add for linux-aarch64
Reviewed-by: aph, dholmes
2021-10-12 09:40:35 +00:00
Andrey Turbanov
7d2633f795 8275002: Remove unused AbstractStringBuilder.MAX_ARRAY_SIZE
Reviewed-by: prappo, jlaskey, martin
2021-10-12 09:37:54 +00:00
Aleksey Shipilev
cfe7471f17 8177814: jdk/editpad is not in jdk TEST.groups
Reviewed-by: serb
2021-10-12 07:24:15 +00:00
Aleksey Shipilev
a5f09d1088 8275031: runtime/ErrorHandling/MachCodeFramesInErrorFile.java fails when hsdis is present
Reviewed-by: dholmes, dnsimon
2021-10-12 06:22:13 +00:00
Aleksey Shipilev
ef0922e885 8274560: JFR: Add test for OldObjectSample event when using Shenandoah
Reviewed-by: mgronlun
2021-10-12 05:56:15 +00:00
Hamlin Li
1e3069593e 8274466: G1: use field directly rather than method in G1CollectorState::in_mixed_phase
Reviewed-by: ayang, sjohanss
2021-10-12 01:25:00 +00:00
Sergey Bylokhov
dd93c6e27b 8272167: AbsPathsInImage.java should skip *.dSYM directories
Reviewed-by: ihse, erikj
2021-10-12 00:14:00 +00:00
Andrey Turbanov
829dea45c9 8274945: Cleanup unnecessary calls to Throwable.initCause() in java.desktop
Reviewed-by: jdv, serb, pbansal
2021-10-11 19:19:39 +00:00
Zhengyu Gu
75f5145e21 8274925: Shenandoah: shenandoah/TestAllocHumongousFragment.java test failed on lock rank check
Reviewed-by: shade
2021-10-11 16:58:53 +00:00
Thomas Stuefe
83c3771929 8273881: Metaspace: test repeated deallocations
Reviewed-by: dholmes, shade
2021-10-11 15:48:10 +00:00
Lin Zang
3f01d03a10 8275021: Test serviceability/sa/TestJmapCore.java fails with: java.io.IOException: Stack frame 0x4 not found
Reviewed-by: dholmes, dcubed
2021-10-11 15:27:28 +00:00
Zhengyu Gu
3f07337722 8273614: Shenandoah: intermittent timeout with ConcurrentGCBreakpoint tests
Reviewed-by: shade
2021-10-11 15:10:57 +00:00
Patricio Chilano Mateo
0d80f6cf82 8274379: Allow process of unsafe access errors in check_special_condition_for_native_trans
Reviewed-by: rehn, dholmes
2021-10-11 13:34:42 +00:00
Jan Lahoda
b870468bdc 8274347: Passing a *nested* switch expression as a parameter causes an NPE during compile
Reviewed-by: vromero
2021-10-11 12:38:08 +00:00
Coleen Phillimore
110e38ded8 8274753: ZGC: SEGV in MetaspaceShared::link_shared_classes
8274935: dumptime_table has stale entry

Reviewed-by: eosterlund, iklam
2021-10-11 12:11:11 +00:00
Thomas Schatzl
b7af890574 8274430: Remove some debug error printing code added in JDK-8017163
Reviewed-by: sjohanss, ayang
2021-10-11 11:48:50 +00:00
Thomas Schatzl
aaf2401bc7 8274927: Remove unnecessary G1ArchiveAllocator code
Reviewed-by: kbarrett, ayang
2021-10-11 11:46:46 +00:00
Jie Fu
c55dd365e3 8275008: gtest build failure due to stringop-overflow warning with gcc11
Reviewed-by: dholmes, ihse
2021-10-11 10:51:39 +00:00
Roman Kennke
3edee1e1fe 8272723: Don't use Access API to access primitive fields
Reviewed-by: stefank, eosterlund
2021-10-11 10:37:54 +00:00
Martin Doerr
49f8ce6e9c 8274773: [TESTBUG] UnsafeIntrinsicsTest intermittently fails on weak memory model platform
Reviewed-by: eosterlund, goetz
2021-10-11 10:31:54 +00:00
Fei Gao
c032186b42 8272968: AArch64: Remove redundant matching rules for commutative ops
Reviewed-by: ngasson
2021-10-11 06:59:37 +00:00
Ao Qi
a05873a225 8274952: jdk/jfr/api/consumer/TestRecordedFrameType.java failed when c1 disabled
Reviewed-by: egahlin, jiefu
2021-10-11 02:17:56 +00:00
Lin Zang
5ecc99bbf5 8274620: resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java is timing out
Reviewed-by: cjplummer, dholmes
2021-10-11 01:56:34 +00:00
Jie Fu
2ff3977a66 8275004: CDS build failure with gcc11
Reviewed-by: shade
2021-10-10 14:00:58 +00:00
lawrence.andrews
296f8537f7 8274029: Remove jtreg tag manual=yesno for java/awt/print/Dialog/DialogOrient.java
Reviewed-by: serb
2021-10-10 08:46:04 +00:00
Andrey Turbanov
2c83559eda 8274882: Cleanup redundant boxing in java.desktop
Reviewed-by: serb, pbansal
2021-10-10 08:41:52 +00:00
Wang Huang
6d1d4d5292 8268231: Aarch64: Use ldp in intrinsics for String.compareTo
Co-authored-by: Wang Huang <whuang@openjdk.org>
Co-authored-by: Sun Jianye <sunjianye@huawei.com>
Co-authored-by: Wu Yan <wuyan@openjdk.org>
Reviewed-by: ngasson, aph
2021-10-09 08:19:17 +00:00
Pankaj Bansal
aac6c4ea70 8272229: BasicSplitPaneDivider:oneTouchExpandableChanged() returns leftButton and rightButton as null with GTKLookAndFeel
Reviewed-by: serb, jdv, kizune
2021-10-09 03:52:53 +00:00
Andrey Turbanov
f640c7aaa8 8274806: Simplify equals() call on nullable variable and a constant in java.desktop
Reviewed-by: serb, pbansal
2021-10-09 00:46:20 +00:00
Andrey Turbanov
9c431dd168 8274900: Too weak variable type leads to unnecessary cast in jdk.javadoc
Reviewed-by: prappo
2021-10-08 23:08:05 +00:00
Coleen Phillimore
3cb9724ed9 8274934: Attempting to acquire lock JNICritical_lock/41 out of order with lock MultiArray_lock/41
Reviewed-by: dcubed, iklam
2021-10-08 21:10:42 +00:00
Brian Burkhalter
239a35aa91 8233749: Files.exists javadoc doesn't mention eating IOException
Reviewed-by: lancea, alanb
2021-10-08 16:43:16 +00:00
Naoto Sato
ec199072c5 8274864: Remove Amman/Cairo hacks in ZoneInfoFile
Reviewed-by: iris, joehw
2021-10-08 16:11:22 +00:00
Sergey Tsypanov
ccbce107f2 8272756: Remove unnecessary explicit initialization of volatile variables in java.desktop
Reviewed-by: jdv, aivanov
2021-10-08 15:58:36 +00:00
Christian Hagedorn
36b89a1893 8274785: ciReplay: Potential crash due to uninitialized Compile::_ilt variable
Reviewed-by: neliasso, kvn
2021-10-08 14:51:18 +00:00
Roland Westrelin
2aacd4220a 8274145: C2: condition incorrectly made redundant with dominating main loop exit condition
Reviewed-by: kvn, neliasso
2021-10-08 14:48:35 +00:00
Coleen Phillimore
6364719cd1 8274004: Change 'nonleaf' rank name
8273956: Add checking for rank values

Reviewed-by: dholmes, pchilanomate
2021-10-08 12:23:19 +00:00
Doug Simon
b60837a7d5 8272586: emit abstract machine code in hs-err logs
Reviewed-by: kvn, dholmes
2021-10-08 08:06:53 +00:00
Matthias Baesken
97ea9dd2f2 8274840: Update OS detection code to recognize Windows 11
Co-authored-by: Arno Zeller <arno.zeller@sap.com>
Reviewed-by: clanger, dholmes
2021-10-08 06:40:18 +00:00
Yumin Qi
8de77634c4 8273152: Refactor CDS FileMapHeader loading code
Reviewed-by: ccheung, iklam
2021-10-07 21:33:32 +00:00
Daniel D. Daugherty
920e70701d 8274920: ProblemList 2 VectorAPI tests failing due to "assert(!vbox->is_Phi()) failed"
Reviewed-by: kvn
2021-10-07 17:14:26 +00:00
Andrey Turbanov
7de2cf852d 8273910: Redundant condition and assignment in java.net.URI
Reviewed-by: dfuchs
2021-10-07 16:55:45 +00:00
Naoto Sato
8ca084617f 8274407: (tz) Update Timezone Data to 2021c
8274467: TestZoneInfo310.java fails with tzdata2021b
8274468: TimeZoneTest.java fails with tzdata2021b

Reviewed-by: rriggs, iris, coffeys
2021-10-07 15:32:11 +00:00
Coleen Phillimore
4ab274ac1a 8274858: Remove unused dictionary_classes_do functions
Reviewed-by: dholmes, hseigel
2021-10-07 15:24:00 +00:00
Sean Coffey
03a8d342b8 8273826: Correct Manifest file name and NPE checks
Reviewed-by: weijun, hchao, mullan
2021-10-07 15:12:13 +00:00
Jie Fu
722d639fad 8274838: runtime/cds/appcds/TestSerialGCWithCDS.java fails on Windows
Reviewed-by: iklam, hseigel
2021-10-07 12:42:16 +00:00
Lin Zang
340c715c3b 8273929: Remove GzipRandomAccess in heap dump test
Reviewed-by: cjplummer, sspitsyn
2021-10-07 11:57:18 +00:00
Yude Lin
8319836152 8274546: Shenandoah: Remove unused ShenandoahUpdateRootsTask copy
Reviewed-by: zgu, tschatzl
2021-10-07 11:28:49 +00:00
Andrey Turbanov
d5ccfa2ae9 8274755: Replace 'while' cycles with iterator with enhanced-for in jdk.jdi
Reviewed-by: alanb, amenkov, sspitsyn, cjplummer
2021-10-07 09:38:42 +00:00
Richard Reingruber
29dcbb72a2 8274716: JDWP Spec: the description for the Dispose command confuses suspend with resume.
Reviewed-by: alanb, cjplummer, sspitsyn
2021-10-07 08:20:20 +00:00
Florian Weimer
5762ec2587 8274780: ChannelInputStream.readNBytes(int) incorrectly calls readAllBytes()
Reviewed-by: alanb, bpb
2021-10-07 07:02:01 +00:00
Andrey Turbanov
4e960fe53f 8274497: Unnecessary Vector usage in AquaFileSystemModel
Reviewed-by: serb, pbansal
2021-10-07 03:42:50 +00:00
Jie Fu
c833b4d130 8274329: Fix non-portable HotSpot code in MethodMatcher::parse_method_pattern
Reviewed-by: iklam, ihse, kvn
2021-10-06 23:22:04 +00:00
lawrence.andrews
d57fb6f684 8274456: Remove jtreg tag manual=yesno java/awt/print/PrinterJob/PageDialogTest.java
Reviewed-by: serb
2021-10-06 23:12:56 +00:00
Jonathan Gibbons
734d1fbd33 8274211: Test man page that options are documented
Reviewed-by: prappo
2021-10-06 22:40:44 +00:00
Sergey Bylokhov
9561fea790 8273102: Delete deprecated for removal the empty finalize() in java.desktop module
Reviewed-by: pbansal, aivanov, iris, prr
2021-10-06 22:31:23 +00:00
Andrey Turbanov
9945f7a074 8274318: Replace 'for' cycles with iterator with enhanced-for in java.management
Reviewed-by: cjplummer, sspitsyn, dfuchs
2021-10-06 18:23:46 +00:00
Andrey Turbanov
754bc82c4c 8274525: Replace uses of StringBuffer with StringBuilder in java.xml
Reviewed-by: joehw, iris, naoto, dfuchs
2021-10-06 18:20:18 +00:00
Andrey Turbanov
4e7d7caa0c 8273711: Remove redundant stream() call before forEach in jdk.jlink
Reviewed-by: alanb, psandoz, dfuchs
2021-10-06 18:17:58 +00:00
Andrey Turbanov
f3cedbe928 8274464: Remove redundant stream() call before forEach in java.* modules
Reviewed-by: dfuchs, amenkov, vtewari
2021-10-06 18:11:07 +00:00
Christian Stein
c10de3538b 8262944: Improve exception message when automatic module lists provider class not in JAR file
Reviewed-by: dfuchs, jvernee, alanb, lancea, mchung
2021-10-06 15:11:28 +00:00
Coleen Phillimore
b8af6a9bfb 8273917: Remove 'leaf' ranking for Mutex
Reviewed-by: eosterlund, dholmes
2021-10-06 12:14:33 +00:00
Kim Barrett
c80a612709 8273381: Assert in PtrQueueBufferAllocatorTest.stress_free_list_allocator_vm
Reviewed-by: sjohanss, tschatzl
2021-10-06 11:14:26 +00:00
Andrey Turbanov
9759fcb17b 8274496: Use String.contains() instead of String.indexOf() in java.desktop
Reviewed-by: pbansal, serb
2021-10-06 10:50:38 +00:00
Hannes Wallnöfer
cdf89304ea 8274625: Search field placeholder behavior
Reviewed-by: prappo
2021-10-06 09:28:37 +00:00
Christian Hagedorn
df125f680b 8273410: IR verification framework fails with "Should find method name in validIrRulesMap"
Reviewed-by: thartmann, neliasso
2021-10-06 08:21:18 +00:00
Andrew Haley
c74726dbd0 8274730: AArch64: AES/GCM acceleration is broken by the fix for JDK-8273297
Reviewed-by: adinn, roland, kvn
2021-10-06 08:18:10 +00:00
Per Liden
2faced09ce 8274738: ZGC: Use relaxed atomic load when reading bits in the live map
Reviewed-by: stefank, eosterlund
2021-10-06 07:44:47 +00:00
Andrey Turbanov
8a4d2b4aa7 8274680: Remove unnecessary conversion to String in java.desktop
Reviewed-by: pbansal, jdv, serb, kizune
2021-10-06 02:53:09 +00:00
Yasumasa Suenaga
986ee5d0bf 8274670: Improve version string handling in SA
Reviewed-by: cjplummer, sspitsyn
2021-10-06 00:36:50 +00:00
Sergey Tsypanov
df7b0c7077 8274715: Implement forEach in Collections.CopiesList
Reviewed-by: martin
2021-10-05 22:19:35 +00:00
Daniel D. Daugherty
d4e8712c0a 8274797: ProblemList resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java on macosx-x64
Reviewed-by: darcy
2021-10-05 21:47:18 +00:00
Christoph Langer
47262670f3 8274642: jdk/jshell/CommandCompletionTest.java fails with NoSuchElementException after JDK-8271287
Reviewed-by: jlahoda
2021-10-05 21:06:52 +00:00
Igor Veresov
83b2219220 8273612: Fix for JDK-8272873 causes timeout in running some tests with -Xcomp
Reviewed-by: kvn, neliasso
2021-10-05 19:44:17 +00:00
Joe Darcy
d34ec6ccfc 8274793: Suppress warnings on non-serializable non-transient instance fields in sun.net
Reviewed-by: alanb
2021-10-05 19:10:29 +00:00
Jonathan Gibbons
332f067388 8274729: Define Position.NOPOS == Diagnostic.NOPOS
Reviewed-by: jlahoda
2021-10-05 18:54:19 +00:00
Weijun Wang
1e75203356 8274656: Remove default_checksum and safe_checksum_type from krb5.conf
Reviewed-by: valeriep
2021-10-05 18:19:45 +00:00
Weijun Wang
03d3c03384 8273670: Remove weak etypes from default krb5 etype list
Reviewed-by: valeriep, mullan
2021-10-05 18:18:51 +00:00
Joe Darcy
c391e59ea6 8274244: ReportOnImportedModuleAnnotation.java fails on rerun
Reviewed-by: jjg
2021-10-05 17:31:57 +00:00
Phil Race
37890650a7 8274397: [macOS] Stop setting env. var JAVA_MAIN_CLASS_<pid> in launcher code
Reviewed-by: rriggs, serb
2021-10-05 17:30:31 +00:00
Hannes Wallnöfer
e1f0df0de3 8267853: Remove unused styles from stylesheet
Reviewed-by: prappo
2021-10-05 16:57:12 +00:00
Jonathan Gibbons
4e3948f18b 8274744: TestSnippetTag test fails after recent integration
Reviewed-by: prappo
2021-10-05 15:27:02 +00:00
Jonathan Gibbons
92b64a2053 8273745: VerifyLocale.java occasionally times out
Reviewed-by: prappo
2021-10-05 15:21:44 +00:00
Coleen Phillimore
90a5ae802e 8274282: Clarify special wait assert
Reviewed-by: dholmes, pchilanomate
2021-10-05 15:13:54 +00:00
Albert Mingkun Yang
bb0bab57a1 8274286: Skip null for make_referent_alive in referenceProcessor
Reviewed-by: kbarrett, tschatzl
2021-10-05 14:31:17 +00:00
Peter Levart
7ad74d82d7 8274299: Make Method/Constructor/Field accessors @Stable
Reviewed-by: redestad, mchung
2021-10-05 14:16:20 +00:00
Andrey Turbanov
1459180f35 8274079: Cleanup unnecessary calls to Throwable.initCause() in java.base module
Reviewed-by: weijun
2021-10-05 13:36:37 +00:00
Harold Seigel
8609ea55ac 8273342: Null pointer dereference in classFileParser.cpp:2817
Reviewed-by: coleenp, dholmes
2021-10-05 12:39:56 +00:00
Jan Lahoda
a5080effc7 8272564: Incorrect attribution of method invocations of Object methods on interfaces
Reviewed-by: jlaskey, mcimadamore, vromero
2021-10-05 10:17:24 +00:00
Kim Barrett
a914ee7216 8274632: Possible pointer overflow in PretouchTask chunk claiming
Reviewed-by: tschatzl, ayang
2021-10-05 08:07:02 +00:00
Matthias Baesken
8f7a37c92f 8274434: move os::get_default_process_handle and os::dll_lookup to os_posix for POSIX platforms
Reviewed-by: dholmes, lucy
2021-10-05 07:25:00 +00:00
Christian Hagedorn
3953e0774c 8271459: C2: Missing NegativeArraySizeException when creating StringBuilder with negative capacity
Reviewed-by: roland, thartmann, neliasso
2021-10-05 07:02:06 +00:00
Andrey Turbanov
53d7e95bc6 8274635: Use String.equals instead of String.compareTo in jdk.accessibility
Reviewed-by: serb
2021-10-05 06:39:29 +00:00
Andrey Turbanov
e43f540cde 8274651: Possible race in FontDesignMetrics.KeyReference.dispose
Reviewed-by: prr, serb
2021-10-05 00:53:17 +00:00
David Holmes
2e542e33b8 8274349: ForkJoinPool.commonPool() does not work with 1 CPU
Co-authored-by: Doug Lea <dl@openjdk.org>
Reviewed-by: shade, martin
2021-10-04 23:14:12 +00:00
Erik Gahlin
7e757f6a2c 8274559: JFR: Typo in 'jfr help configure' text
Reviewed-by: iris, mikael
2021-10-04 21:19:19 +00:00
Jonathan Gibbons
75d6688df9 8274745: ProblemList TestSnippetTag.java
Reviewed-by: prappo
2021-10-04 19:00:21 +00:00
Mikhailo Seledtsov
9914e5c416 8274610: Add linux-aarch64 to bootcycle build profiles
Reviewed-by: erikj
2021-10-04 17:20:05 +00:00
Jonathan Gibbons
0ca094bc5f 8273244: Improve diagnostic output related to ErroneousTree
Reviewed-by: prappo
2021-10-04 16:59:30 +00:00
Jonathan Gibbons
6f727d831d 8274666: rename HtmlStyle.descfrmTypeLabel to be less cryptic
Reviewed-by: hannesw
2021-10-04 16:58:23 +00:00
Adam Sotona
139a8334cb 8268869: java in source-file mode suggests javac-only Xlint flags
Reviewed-by: jjg
2021-10-04 15:48:09 +00:00
Weijun Wang
f63c4a832a 8274471: Verification of OCSP Response signed with RSASSA-PSS fails
Reviewed-by: hchao, jnimeh
2021-10-04 15:30:44 +00:00
Naoto Sato
f2404d60de 8274658: ISO 4217 Amendment 170 Update
Reviewed-by: lancea, iris
2021-10-04 15:06:48 +00:00
Alex Kasko
7eb0372e55 8274606: Fix jaxp/javax/xml/jaxp/unittest/transform/SurrogateTest.java test
Reviewed-by: joehw, shade
2021-10-04 12:38:34 +00:00
Aleksey Shipilev
47bfc8aa93 8274563: jfr/event/oldobject/TestClassLoaderLeak.java fails when GC cycles are not happening
Reviewed-by: egahlin
2021-10-04 12:35:58 +00:00
Aleksey Shipilev
0828273b89 8274521: jdk/jfr/event/gc/detailed/TestGCLockerEvent.java fails when other GC is selected
Reviewed-by: kbarrett, tschatzl
2021-10-04 12:22:55 +00:00
Andrey Turbanov
6726c592ed 8274634: Use String.equals instead of String.compareTo in java.desktop
Reviewed-by: serb, pbansal
2021-10-04 10:27:20 +00:00
Prasanta Sadhukhan
32811026ce 8268084: [macos] Disabled JMenuItem arrow is not disabled
Reviewed-by: serb, jdv
2021-10-04 06:49:10 +00:00
Robbin Ehn
7957994273 8273695: Safepoint deadlock on VMOperation_lock
Reviewed-by: dcubed, pchilanomate, eosterlund
2021-10-04 06:47:27 +00:00
Andrey Turbanov
9ca6bf0d22 8274505: Too weak variable type leads to unnecessary cast in java.desktop
Reviewed-by: serb, kizune, pbansal
2021-10-02 03:06:29 +00:00
Brian Burkhalter
0786d8b7b3 8268435: (ch) ChannelInputStream could override readAllBytes
Reviewed-by: alanb, lancea
2021-10-01 20:15:44 +00:00
Alexey Ivanov
bb4500d0d2 8274465: Fix javax/swing/text/ParagraphView/6364882/bug6364882.java failures
Reviewed-by: jiefu, serb
2021-10-01 18:41:51 +00:00
Pavel Rappo
05d38604a2 8274605: Fix predicate guarantees on returned values in (Doc)SourcePositions
Reviewed-by: jlahoda, jjg
2021-10-01 16:15:48 +00:00
Brian Burkhalter
3d7671b65e 8274562: (fs) UserDefinedFileAttributeView doesn't correctly determine if supported when using OverlayFS
Reviewed-by: alanb
2021-10-01 15:30:55 +00:00
Ekaterina Vergizova
c05dc268ac 8274435: EXCEPTION_ACCESS_VIOLATION in BFSClosure::closure_impl
Reviewed-by: stefank
2021-10-01 12:53:08 +00:00
Aleksei Efimov
cc14c6f076 8274227: Remove "impl.prefix" jdk system property usage from InetAddress
Reviewed-by: alanb, dfuchs
2021-10-01 09:48:09 +00:00
Jan Lahoda
292d7bb1d5 8274363: Transitively sealed classes not considered exhaustive in switches
Reviewed-by: vromero
2021-10-01 08:54:18 +00:00
Jan Lahoda
1887028408 8269113: Javac throws when compiling switch (null)
Co-authored-by: Guoxiong Li <gli@openjdk.org>
Reviewed-by: vromero
2021-10-01 08:53:04 +00:00
Ao Qi
b7b78ff1f3 8274561: sun/net/ftp/TestFtpTimeValue.java timed out on slow machines
Reviewed-by: jiefu, dfuchs
2021-10-01 08:52:04 +00:00
Martin Doerr
5e4b514e6e 8274550: c2i entry barriers read int as long on PPC
Reviewed-by: eosterlund, shade
2021-10-01 08:20:51 +00:00
Kim Barrett
2e690ba8bd 8274322: Problems with oopDesc construction
Reviewed-by: dholmes, stefank
2021-10-01 00:25:35 +00:00
Jie Fu
a8edd1b360 8274527: Minimal VM build fails after JDK-8273459
Reviewed-by: kvn
2021-09-30 23:11:56 +00:00
Joe Darcy
7326481143 8274393: Suppress more warnings on non-serializable non-transient instance fields in security libs
Reviewed-by: weijun
2021-09-30 17:39:05 +00:00
Joe Darcy
8215b2eb61 8274398: Suppress more warnings on non-serializable non-transient instance fields in management libs
Reviewed-by: sspitsyn
2021-09-30 16:58:53 +00:00
Patricio Chilano Mateo
9573022978 8253197: vmTestbase/nsk/jvmti/StopThread/stopthrd007/TestDescription.java fails with "ERROR: DebuggeeSleepingThread: ThreadDeath lost"
Reviewed-by: dholmes, cjplummer, sspitsyn
2021-09-30 16:02:14 +00:00
Erik Österlund
f08180f35f 8274501: c2i entry barriers read int as long on AArch64
Reviewed-by: shade, kbarrett, aph
2021-09-30 15:52:36 +00:00
Bradford Wetmore
c57ed22e77 8274528: Add comment to explain an HKDF optimization in SSLSecretDerivation
Reviewed-by: jnimeh
2021-09-30 15:46:29 +00:00
Severin Gehwolf
9180d9a2f9 8273216: JCMD does not work across container boundaries with Podman
Reviewed-by: mseledtsov, hseigel
2021-09-30 15:23:44 +00:00
Alex Kasko
3e0d7c33d4 8270290: NTLM authentication fails if HEAD request is used
Reviewed-by: dfuchs, michaelm
2021-09-30 15:21:18 +00:00
Lin Zang
bfd6163471 8274196: Crashes in VM_HeapDumper::work after JDK-8252842
8274245: sun/tools/jmap/BasicJMapTest.java Mutex rank failures

Reviewed-by: coleenp, pliden, cjplummer
2021-09-30 14:44:59 +00:00
Masanori Yano
bb95dda0ac 8248001: javadoc generates invalid HTML pages whose ftp:// links are broken
Reviewed-by: hannesw
2021-09-30 11:33:21 +00:00
Mahendra Chhipa
2f955d6f5b 8273142: Remove dependancy of TestHttpServer, HttpTransaction, HttpCallback from open/test/jdk/sun/net/www/protocol/http/ tests
Reviewed-by: michaelm
2021-09-30 11:29:20 +00:00
Severin Gehwolf
94e31e5ca5 8274506: TestPids.java and TestPidsLimit.java fail with podman run as root
Reviewed-by: mbaesken, cjplummer
2021-09-30 08:53:31 +00:00
Martin Doerr
a8210c53e7 8274401: C2: GraphKit::load_array_element bypasses Access API
Reviewed-by: kvn, goetz, thartmann
2021-09-30 08:41:03 +00:00
Christian Hagedorn
dfc557cbea 8274406: RunThese30M.java failed "assert(!LCA_orig->dominates(pred_block) || early->dominates(pred_block)) failed: early is high enough"
Reviewed-by: kvn, thartmann
2021-09-30 08:29:43 +00:00
Aleksey Shipilev
c0533ef2d8 8274522: java/lang/management/ManagementFactory/MXBeanException.java test fails with Shenandoah
Reviewed-by: alanb, mchung
2021-09-30 06:55:24 +00:00
Aleksey Shipilev
f8415a9b2f 8274523: java/lang/management/MemoryMXBean/MemoryTest.java test should handle Shenandoah
Reviewed-by: mchung, cjplummer
2021-09-30 06:54:13 +00:00
Andrey Turbanov
355356c405 8273435: Remove redundant zero-length check in ClassDesc.of
Reviewed-by: rriggs
2021-09-29 23:08:23 +00:00
Joe Darcy
97385d4f16 8274405: Suppress warnings on non-serializable non-transient instance fields in javac and javadoc
Reviewed-by: prappo, jjg
2021-09-29 23:02:20 +00:00
Andrey Turbanov
79cebe2c1b 8274050: Unnecessary Vector usage in javax.crypto
Reviewed-by: valeriep
2021-09-29 18:22:40 +00:00
Pavel Rappo
97b28742b4 8274509: Remove stray * and stylistic . from doc comments
Reviewed-by: alanb, dfuchs, lancea, iris, bpb
2021-09-29 17:09:08 +00:00
Aleksey Shipilev
b1b66965f1 8274453: (sctp) com/sun/nio/sctp/SctpChannel/CloseDescriptors.java test should be resilient to lsof warnings
Reviewed-by: dfuchs
2021-09-29 16:57:40 +00:00
Weijun Wang
edd9d1c97b 8274330: Incorrect encoding of the DistributionPointName object in IssuingDistributionPointExtension
Reviewed-by: ascarpino
2021-09-29 15:37:16 +00:00
Roland Westrelin
980c50dc60 8272562: C2: assert(false) failed: Bad graph detected in build_loop_late
Reviewed-by: chagedorn, kvn
2021-09-29 14:51:33 +00:00
Thomas Schatzl
1dc8fa9902 8274340: [BACKOUT] JDK-8271880: Tighten condition for excluding regions from collecting cards with cross-references
Reviewed-by: kbarrett, ayang
2021-09-29 13:59:58 +00:00
Claes Redestad
aaa36cc006 8274242: Implement fast-path for ASCII-compatible CharsetEncoders on x86
Reviewed-by: naoto, thartmann
2021-09-29 12:58:14 +00:00
Martin Doerr
c4d115701d 8271855: [TESTBUG] Wrong weakCompareAndSet assumption in UnsafeIntrinsicsTest
Reviewed-by: goetz, thartmann
2021-09-29 09:54:59 +00:00
Aleksey Shipilev
756d22c356 8274130: C2: MulNode::Ideal chained transformations may act on wrong nodes
Reviewed-by: thartmann, kvn
2021-09-29 05:41:34 +00:00
Jonathan Gibbons
5b0c9ccc49 8274172: Convert JavadocTester to use NIO
Reviewed-by: prappo
2021-09-28 23:53:49 +00:00
David Holmes
2657bcbd99 8274136: -XX:+ExitOnOutOfMemoryError calls exit while threads are running
Reviewed-by: stuefe, hseigel
2021-09-28 23:24:23 +00:00
Scott Gibbons
53b25bce87 8273459: Update code segment alignment to 64 bytes
Reviewed-by: kvn, sviswanathan
2021-09-28 23:03:01 +00:00
Andrey Turbanov
1a29b1e95e 8274016: Replace 'for' cycles with iterator with enhanced-for in java.desktop
Reviewed-by: serb
2021-09-28 23:01:57 +00:00
Joe Darcy
d8a278f394 8274396: Suppress more warnings on non-serializable non-transient instance fields in client libs
Reviewed-by: bpb, naoto, serb, iris
2021-09-28 21:48:33 +00:00
Sergey Bylokhov
e49e5b5a7e 8273972: Multi-core choke point in CMM engine (LCMSTransform.doTransform)
Reviewed-by: prr
2021-09-28 21:38:40 +00:00
Joe Darcy
2072bc77b4 8274391: Suppress more warnings on non-serializable non-transient instance fields in java.util.concurrent
Reviewed-by: lancea, bpb, alanb, iris
2021-09-28 21:21:53 +00:00
Joe Darcy
6a477bda85 8274415: Suppress warnings on non-serializable non-transient instance fields in java.xml
Reviewed-by: joehw
2021-09-28 21:02:19 +00:00
Alexey Ivanov
67e52a3078 8273634: [TEST_BUG] Improve javax/swing/text/ParagraphView/6364882/bug6364882.java
Reviewed-by: serb
2021-09-28 19:16:58 +00:00
Alexey Ivanov
b7425b63f6 8239502: [TEST_BUG] Test javax/swing/text/FlowView/6318524/bug6318524.java never fails
Reviewed-by: serb
2021-09-28 19:15:33 +00:00
Jesper Steen Møller
c57a6c62ba 8274265: Suspicious string concatenation in logTestUtils.inline.hpp
Reviewed-by: clanger, mbaesken
2021-09-28 18:22:15 +00:00
Andrey Turbanov
6f4cefbcba 8274394: Use Optional.isEmpty instead of !Optional.isPresent in jdk.jlink
Reviewed-by: alanb, mchung
2021-09-28 17:22:27 +00:00
Sergey Tsypanov
94f5e807c9 8274276: Cache normalizedBase URL in URLClassPath.FileLoader
Reviewed-by: dfuchs
2021-09-28 17:18:55 +00:00
Artem Semenov
b36881fa3b 8274383: JNI call of getAccessibleSelection on a wrong thread
Reviewed-by: kizune, ant
2021-09-28 16:40:47 +00:00
Artem Semenov
be40373745 8274381: missing CAccessibility definitions in JNI code
Reviewed-by: pbansal, ant, kizune
2021-09-28 16:08:30 +00:00
Tongbao Zhang
79865cd797 8274259: G1: assert(check_alignment(result)) failed: address not aligned: 0x00000008baadbabe after JDK-8270009
Reviewed-by: tschatzl, sjohanss
2021-09-28 12:32:39 +00:00
Alexander Scherbatiy
961dcffc86 8273581: Change the mechanism by which JDK loads the platform-specific FontManager class
Reviewed-by: prr, psadhukhan, azvegint, aivanov, serb
2021-09-28 09:26:51 +00:00
Ioi Lam
6a573b888d 8273508: Support archived heap objects in SerialGC
Reviewed-by: tschatzl, ccheung
2021-09-28 06:23:47 +00:00
Kim Barrett
3eca9c36a6 8264707: HotSpot Style Guide should permit use of lambda
Reviewed-by: stefank, dholmes, coleenp, iklam, sjohanss, eosterlund, iveresov, kvn
2021-09-28 05:56:34 +00:00
Jaikiran Pai
af50772d39 8231640: (prop) Canonical property storage
Reviewed-by: rriggs, smarks, dfuchs, ihse
2021-09-28 05:17:31 +00:00
Jaikiran Pai
ddc262746a 8273790: Potential cyclic dependencies between Gregorian and CalendarSystem
Reviewed-by: naoto, yyang, rriggs
2021-09-28 05:00:27 +00:00
Jaikiran Pai
633eab23f0 8174819: java/nio/file/WatchService/LotsOfEvents.java fails intermittently
Reviewed-by: alanb
2021-09-28 04:54:58 +00:00
Lin Zang
8876eae429 8269685: Optimize HeapHprofBinWriter implementation
8262386: resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java timed out

Reviewed-by: sspitsyn, amenkov
2021-09-28 02:59:14 +00:00
Pavel Rappo
c880b87a20 8274367: Re-indent stack-trace examples for Throwable.printStackTrace
Reviewed-by: mchung, iris, darcy, bpb
2021-09-27 22:32:49 +00:00
Yumin Qi
c4b52c7378 8271303: jcmd VM.cds {static, dynamic}_dump should print more info
Reviewed-by: iklam, ccheung
2021-09-27 21:27:00 +00:00
Joe Darcy
5b660f3347 8274392: Suppress more warnings on non-serializable non-transient instance fields in java.sql.rowset
Reviewed-by: bpb, lancea
2021-09-27 19:57:26 +00:00
bobpengxie
0865120e95 8274345: make build-test-lib is broken
Reviewed-by: erikj
2021-09-27 18:16:51 +00:00
Mikael Vidstedt
75404ea25e 8267636: Bump minimum boot jdk to JDK 17
Reviewed-by: darcy, erikj, iris
2021-09-27 18:07:26 +00:00
Mikhailo Seledtsov
14100d55dc 8274170: Add hooks for custom makefiles to augment jtreg test execution
Reviewed-by: erikj
2021-09-27 18:06:21 +00:00
Mandy Chung
daaa47e200 8274311: Make build.tools.jigsaw.GenGraphs more configurable
Reviewed-by: alanb, iris
2021-09-27 16:56:33 +00:00
Phil Race
2cffe4c8e0 8274326: [macos] Ensure initialisation of sun/lwawt/macosx/CAccessibility in JavaComponentAccessibility.m
Reviewed-by: serb, pbansal, aivanov
2021-09-27 16:41:00 +00:00
Joe Darcy
172900dab1 8274255: Update javac messages to use "enum class" rather than "enum type"
Reviewed-by: vromero
2021-09-27 16:28:17 +00:00
Christian Hagedorn
b0983df5a4 8274074: SIGFPE with C2 compiled code with -XX:+StressGCM
Reviewed-by: roland, thartmann
2021-09-27 14:05:51 +00:00
Andrey Turbanov
7436a77e3d 8274317: Unnecessary reentrant synchronized block in java.awt.Cursor
Reviewed-by: serb, pbansal, prr
2021-09-27 12:07:29 +00:00
Jie Fu
7426fd4c9c 8274325: C4819 warning at vm_version_x86.cpp on Windows after JDK-8234160
Reviewed-by: dholmes
2021-09-27 09:38:16 +00:00
Erik Gahlin
e3aff8f8d8 8274289: jdk/jfr/api/consumer/TestRecordedFrameType.java failed with "RuntimeException: assertNotEquals: expected Interpreted to not equal Interpreted"
Reviewed-by: mgronlun
2021-09-27 04:02:36 +00:00
bobpengxie
252aaa9249 8274293: Build failure on macOS with Xcode 13.0 as vfork is deprecated
Reviewed-by: alanb, stuefe, rriggs
2021-09-26 14:48:19 +00:00
seanwxiang
7700b25460 8273401: Disable JarIndex support in URLClassPath
Reviewed-by: dfuchs, lancea, alanb, mchung
2021-09-26 11:43:40 +00:00
Pavel Rappo
5ec1cdcaf3 8274321: Standardize values of @since tags in javax.lang.model
Reviewed-by: darcy
2021-09-25 21:04:17 +00:00
Daniel Jelinski
4838a2ca7c 8274143: Disable "invalid entry for security.provider.X" error message in log file when security.provider.X is empty
Reviewed-by: weijun
2021-09-25 15:37:21 +00:00
Daniel D. Daugherty
ab28db1428 8274312: ProblemList 2 serviceability/dcmd/gc tests with ZGC on macos-all
8274313: ProblemList sun/tools/jmap/BasicJMapTest.java subtests

Reviewed-by: stuefe, sspitsyn, dholmes
2021-09-25 13:38:00 +00:00
Jaikiran Pai
8c122af6d8 8274314: Typo in WatchService#poll(long timeout, TimeUnit unit) javadoc
Reviewed-by: alanb, lancea
2021-09-25 12:42:03 +00:00
Andrey Turbanov
9bc865d38c 8273960: Redundant condition in Metadata.TypeComparator.compare
Reviewed-by: egahlin
2021-09-25 11:42:03 +00:00
Jie Fu
5756385c2b 8274273: Update testing docs for MacOS with Non-US locale
Reviewed-by: erikj
2021-09-24 23:12:31 +00:00
Alex Menkov
61ac53f6e5 8210927: JDB tests do not update source path after doing a redefine class
Reviewed-by: sspitsyn
2021-09-24 21:50:39 +00:00
Thomas Schatzl
341de49f8f 8273492: Move evacuation failure handling into G1YoungCollector
Reviewed-by: sjohanss, ayang
2021-09-24 19:30:21 +00:00
Smita Kamath
13e9ea9e92 8273297: AES/GCM non-AVX512+VAES CPUs suffer after 8267125
Reviewed-by: ascarpino, sviswanathan, aph
2021-09-24 19:21:32 +00:00
Phil Race
753b25633b 8274296: Update or Problem List tests which may fail with uiScale=2 on macOS
Reviewed-by: jdv
2021-09-24 17:31:19 +00:00
Andrey Turbanov
baafa6059e 8274237: Replace 'for' cycles with iterator with enhanced-for in java.base
Reviewed-by: dfuchs, weijun
2021-09-24 16:46:52 +00:00
Daniel D. Daugherty
0c050be64b 8274294: ProblemList sun/tools/jmap/BasicJMapTest.java
Reviewed-by: rriggs
2021-09-24 15:46:18 +00:00
Jonathan Gibbons
e741a18062 8274233: Minor cleanup for ToolBox
Reviewed-by: iris
2021-09-24 15:44:13 +00:00
Aleksey Shipilev
718eff2bb6 8273380: ARM32: Default to {ldrexd,strexd} in StubRoutines::atomic_{load|store}_long
Reviewed-by: dlong, dsamersoff
2021-09-24 15:31:35 +00:00
Andrey Turbanov
f214d6e873 8274234: Remove unnecessary boxing via primitive wrapper valueOf(String) methods in java.sql.rowset
Reviewed-by: lancea, bpb
2021-09-24 14:09:34 +00:00
Andy Herrick
f36a2bbd15 8274087: Windows DLL path not set correctly.
Reviewed-by: almatvee, asemenyuk
2021-09-24 12:43:25 +00:00
Alexey Bakhtin
5ba0d09fe4 8274205: Handle KDC_ERR_SVC_UNAVAILABLE error code from KDC
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: weijun
2021-09-24 12:09:38 +00:00
Thomas Schatzl
5a12af762d 8271880: Tighten condition for excluding regions from collecting cards with cross-references
Reviewed-by: ayang, sjohanss
2021-09-24 12:07:43 +00:00
Thomas Schatzl
db23ecdfae 8274191: Improve g1 evacuation failure injector performance
Reviewed-by: kbarrett, ayang
2021-09-24 12:06:17 +00:00
Masanori Yano
d91e227abb 8238274: (sctp) JDK-7118373 is not fixed for SctpChannel
Reviewed-by: dfuchs
2021-09-24 11:17:26 +00:00
Aleksey Shipilev
971aa353aa 8274083: Update testing docs to mention tiered testing
Reviewed-by: dholmes, jiefu, stuefe, ihse, mseledtsov, alanb
2021-09-24 09:03:33 +00:00
Hannes Wallnöfer
1d44014171 8273034: Make javadoc navigation collapsible on small displays
Reviewed-by: jjg
2021-09-24 08:51:55 +00:00
Julia Boes
bb74ae87ab 8274171: java/nio/file/Files/probeContentType/Basic.java failed on "Content type" mismatches
Reviewed-by: rriggs, bpb
2021-09-24 08:08:27 +00:00
Andrey Turbanov
56b8b35286 8273261: Replace 'while' cycles with iterator with enhanced-for in java.base
Reviewed-by: dfuchs, rriggs, iris, mullan
2021-09-23 20:04:36 +00:00
Daniel D. Daugherty
0aa63feca8 8274216: ProblemList 2 serviceability/dcmd/gc tests with ZGC on linux-all and windows-all
Reviewed-by: darcy, tschatzl
2021-09-23 17:14:49 +00:00
Pavel Rappo
5ffbe75557 8274195: Doc cleanup in java.nio.file
Reviewed-by: alanb, lancea, bpb
2021-09-23 16:18:07 +00:00
Brian Burkhalter
1fdc656084 8274175: (fc) java/nio/channels/FileChannel/Transfer2GPlus.java still failed in timeout
Reviewed-by: alanb
2021-09-23 15:57:12 +00:00
Roger Riggs
3b1b8fc646 8269850: Most JDK releases report macOS version 12 as 10.16 instead of 12.0
Reviewed-by: naoto, clanger
2021-09-23 15:01:25 +00:00
Liam Miller-Cushon
1b7f4b7dd8 8274169: HotSpot Style Guide has stale link to chromium style guide
Reviewed-by: dholmes, ihse
2021-09-23 13:41:10 +00:00
Tobias Holenstein
653a612a5a 8270156: Add "randomness" and "stress" keys to JTreg tests which use StressGCM, StressLCM and/or StressIGVN
Reviewed-by: thartmann, chagedorn
2021-09-23 12:59:22 +00:00
Tobias Holenstein
66ce09f51e 8272703: StressSeed should be set via FLAG_SET_ERGO
Reviewed-by: chagedorn, thartmann
2021-09-23 12:55:42 +00:00
Naoto Sato
c43452859d 8273546: DecimalFormat documentation contains literal HTML character references
Reviewed-by: joehw, bpb, iris, lancea
2021-09-23 12:48:49 +00:00
Coleen Phillimore
d098751366 8273916: Remove 'special' ranking
Reviewed-by: dholmes, pchilanomate
2021-09-23 11:21:02 +00:00
Andrew Haley
4f3b626a36 8271567: AArch64: AES Galois CounterMode (GCM) interleaved implementation using vector instructions
Reviewed-by: ngasson, adinn, xliu
2021-09-23 09:00:46 +00:00
Pavel Rappo
8799856528 8274075: Fix miscellaneous typos in java.base
Reviewed-by: dfuchs, darcy, iris, lancea, bpb
2021-09-23 08:08:39 +00:00
Andrey Turbanov
8b833bbea8 8274048: IGV: Replace usages of Collections.sort with List.sort call
Reviewed-by: chagedorn
2021-09-23 07:47:04 +00:00
Lin Zang
a74c099d67 8252842: Extend jmap to support parallel heap dump
Reviewed-by: rschmelter, cjplummer
2021-09-23 07:00:06 +00:00
Jaikiran Pai
2166ed1369 8273894: ConcurrentModificationException raised every time ReferralsCache drops referral
Reviewed-by: shade
2021-09-23 05:37:19 +00:00
Matthias Baesken
1c6fa113bd 8273979: move some os time related functions to os_posix for POSIX platforms
Reviewed-by: dholmes, lucy
2021-09-23 05:34:18 +00:00
Prasanta Sadhukhan
45adc9227a 8273578: javax/swing/JMenu/4515762/bug4515762.java fails on macOS 12
Reviewed-by: jdv, serb
2021-09-23 05:15:37 +00:00
Ioi Lam
0fbbe4c9a7 8274033: Some tier-4 CDS EpsilonGC tests throw OOM
Reviewed-by: dholmes, ccheung, minqi
2021-09-23 03:49:06 +00:00
Ningsheng Jian
9d3379b975 8267356: AArch64: Vector API SVE codegen support
Co-authored-by: Xiaohong Gong <xgong@openjdk.org>
Co-authored-by: Wang Huang <whuang@openjdk.org>
Co-authored-by: Ningsheng Jian <njian@openjdk.org>
Co-authored-by: Xuejin He <xhe@openjdk.org>
Co-authored-by: Ai Jiaming <aijiaming1@huawei.com>
Co-authored-by: Eric Liu <eliu@openjdk.org>
Reviewed-by: aph, ngasson
2021-09-23 02:58:59 +00:00
Erik Gahlin
603138895f 8273714: jdk/jfr/api/consumer/TestRecordedFrame.java still times out after JDK-8273047
Reviewed-by: mgronlun
2021-09-22 21:28:11 +00:00
Alisen Chung
8821b00041 8205137: Remove Applet support from SwingSet2
8205139: Remove Applet support from J2Ddemo

Reviewed-by: aivanov, kizune
2021-09-22 18:32:05 +00:00
Tom Rodriguez
57fe11c9a3 8274120: [JVMCI] CompileBroker should resolve parameter types for JVMCI compiles
Reviewed-by: dnsimon, thartmann
2021-09-22 17:16:41 +00:00
Brian Burkhalter
81d416477f 8272759: (fc) java/nio/channels/FileChannel/Transfer2GPlus.java failed in timeout
Reviewed-by: alanb
2021-09-22 16:29:04 +00:00
Raffaello Giulietti
da38ced329 8271602: Add Math.ceilDiv() family parallel to Math.floorDiv() family
Reviewed-by: bpb
2021-09-22 16:16:14 +00:00
Naoto Sato
d39aad9230 8273924: ArrayIndexOutOfBoundsException thrown in java.util.JapaneseImperialCalendar.add()
Reviewed-by: rriggs, iris, joehw
2021-09-22 15:50:49 +00:00
Patric Hedlin
c9de80635e 8274039: codestrings gtest fails when hsdis is present
Reviewed-by: shade
2021-09-22 14:20:17 +00:00
Roger Riggs
33df388a24 8274003: ProcessHandleImpl.Info toString has an if check which is always true
Reviewed-by: bpb, naoto, iris
2021-09-22 13:57:37 +00:00
Roger Riggs
0a361638c5 8272600: (test) Use native "sleep" in Basic.java
Reviewed-by: iklam, dholmes
2021-09-22 13:55:19 +00:00
Pavel Rappo
c6df3c9571 8274071: Clean up java.lang.ref comments and documentation
Reviewed-by: rriggs, kbarrett, mchung, iris, lancea
2021-09-22 13:42:23 +00:00
Jan Lahoda
71788c69db 8271287: jdk/jshell/CommandCompletionTest.java fails with "lists don't have the same size expected"
Reviewed-by: vromero
2021-09-22 12:53:57 +00:00
Jan Lahoda
ba7d550c6e 8270139: jshell InternalError crash for import of @Repeatable followed by unresolved ref
Reviewed-by: vromero
2021-09-22 12:52:31 +00:00
Erik Gahlin
aefd4ac4a3 8258734: jdk/jfr/event/oldobject/TestClassLoaderLeak.java failed with "RuntimeException: Could not find class leak"
Reviewed-by: mgronlun
2021-09-22 11:45:29 +00:00
Thomas Schatzl
d245a8cc85 8274069: Clean up g1ParScanThreadState a bit
Reviewed-by: sjohanss, ayang, kbarrett
2021-09-22 11:43:13 +00:00
Thomas Schatzl
3f73ca7fcd 8274068: Rename G1ScanInYoungSetter to G1SkipCardEnqueueSetter
Reviewed-by: sjohanss, ayang
2021-09-22 11:41:13 +00:00
sunxu
7f78803b09 8273961: jdk/nio/zipfs/ZipFSTester.java fails if file path contains '+' character
Reviewed-by: clanger, lancea
2021-09-22 11:38:29 +00:00
Thomas Schatzl
51085b523e 8274054: Add custom enqueue calls during reference processing
Reviewed-by: ayang, kbarrett, sjohanss
2021-09-22 10:17:31 +00:00
Aleksey Shipilev
c77ebe8874 8274060: C2: Incorrect computation after JDK-8273454
Reviewed-by: thartmann, neliasso, chagedorn
2021-09-22 08:40:04 +00:00
Thomas Schatzl
d9872ba3d6 8273590: Move helper classes in G1 post evacuation sub tasks to cpp files
Reviewed-by: sjohanss, kbarrett
2021-09-22 08:07:03 +00:00
Prasanta Sadhukhan
688b3fe2eb 8274070: Rectify problemlist platform for failing test on macos12
Reviewed-by: azvegint
2021-09-22 08:02:13 +00:00
Daniel D. Daugherty
eeaf43b229 8274114: ProblemList serviceability/sa/TestJhsdbJstackMixed.java on linux-aarch64 in -Xcomp mode
Reviewed-by: cjplummer
2021-09-22 02:53:02 +00:00
Ao Qi
517405e462 8273965: some testlibrary_tests/ir_framework tests fail when c1 disabled
Reviewed-by: chagedorn, thartmann
2021-09-22 02:28:49 +00:00
Yi Yang
11cddd3261 8272114: Unused _last_state in osThread_windows
Reviewed-by: stuefe, dholmes
2021-09-22 02:20:30 +00:00
Andrey Turbanov
cbe57e8604 8273684: Replace usages of java.util.Stack with ArrayDeque
Reviewed-by: cjplummer, serb
2021-09-22 01:26:21 +00:00
Leonid Mesnik
a72c8aa6ad 8273921: Refactor NSK/JDI tests to create thread using factory
Reviewed-by: cjplummer, sspitsyn, amenkov
2021-09-21 23:36:16 +00:00
Lance Andersen
161fdb4afb 8273935: (zipfs) Files.getFileAttributeView() throws UOE instead of returning null when view not supported
Reviewed-by: alanb, bpb, sgehwolf
2021-09-21 19:23:49 +00:00
Pavel Rappo
0fc47e99d2 8266666: Implementation for snippets
Co-authored-by: Jonathan Gibbons <jjg@openjdk.org>
Co-authored-by: Hannes Wallnöfer <hannesw@openjdk.org>
Reviewed-by: jjg
2021-09-21 15:53:35 +00:00
Sean Mullan
6d91a3eb7b 8269039: Disable SHA-1 Signed JARs
Reviewed-by: weijun
2021-09-21 13:45:47 +00:00
Artem Semenov
42d5d2abaa 8274056: JavaAccessibilityUtilities leaks JNI objects
Reviewed-by: aivanov, ant
2021-09-21 12:38:29 +00:00
Erik Gahlin
57df0dbc45 8270873: JFR: Catch DirectoryIteratorException when scanning for .jfr files
Reviewed-by: mgronlun
2021-09-21 12:02:00 +00:00
Coleen Phillimore
111d5e1a93 8273915: Create 'nosafepoint' rank
Reviewed-by: dholmes, iklam
2021-09-21 11:37:49 +00:00
Aleksey Shipilev
7acec3f161 8236505: Mark jdk/editpad/EditPadTest.java as @headful
Reviewed-by: jlahoda
2021-09-21 11:26:28 +00:00
Thomas Schatzl
afd218d39a 8274053: [BACKOUT] JDK-8270842: G1: Only young regions need to redirty outside references in remset.
Reviewed-by: sjohanss
2021-09-21 09:20:21 +00:00
Thejasvi Voniadka
a5108a605e 8273646: Add openssl from path variable also in to Default System Openssl Path in OpensslArtifactFetcher
Reviewed-by: weijun
2021-09-21 09:01:09 +00:00
Julia Boes
65ed0a742e 8273655: content-types.properties files are missing some common types
Reviewed-by: bpb, dfuchs
2021-09-21 08:07:25 +00:00
Stefan Karlsson
c60bcd09b7 8273928: Use named run ids when problem listing tests
Reviewed-by: pliden, kbarrett, dholmes
2021-09-21 07:42:36 +00:00
Thomas Stuefe
6642d2eb8b 8273783: Simplify Metaspace arena guard handling
Reviewed-by: coleenp, lucy
2021-09-21 06:27:32 +00:00
Aleksey Shipilev
f242cb5ce0 8273797: Stop impersonating "server" VM in all VM variants
Reviewed-by: dholmes, erikj, ihse
2021-09-21 06:00:06 +00:00
Aleksey Shipilev
240fa6efa2 8273927: Enable hsdis for riscv64
Reviewed-by: ihse
2021-09-21 05:57:57 +00:00
Joe Darcy
9c91ff57e8 8274031: Typo in StringBuilder.readObject
Reviewed-by: bpb
2021-09-21 02:23:52 +00:00
Erik Gahlin
d16bf04c95 8273613: JFR: RemoteRecordingStream::start() blocks close()
Reviewed-by: mgronlun
2021-09-20 23:15:39 +00:00
Erik Gahlin
7ce60c6ff6 8273651: JFR: onMetadata(), setStartTime(), setEndTime() lacks test coverage
Reviewed-by: mgronlun, mseledtsov
2021-09-20 21:58:57 +00:00
Sergey Bylokhov
1bd11a7f2c 8273887: [macos] java/awt/color/ICC_ColorSpace/MTTransformReplacedProfile.java timed out
Reviewed-by: aivanov
2021-09-20 21:25:40 +00:00
Erik Gahlin
ee3576a48b 8256735: JFR: 'jfr' tool displays incorrect timestamps
Reviewed-by: mseledtsov, mgronlun
2021-09-20 20:43:22 +00:00
Alex Menkov
5fde4b64e2 8273909: vmTestbase/nsk/jdi/Event/request/request001 can still fail with "ERROR: new event is not ThreadStartEvent"
Reviewed-by: cjplummer, sspitsyn
2021-09-20 20:17:57 +00:00
Chris Plummer
04891c95e0 8273912: Add threadControl_dumpThread(jthread) function
Reviewed-by: kevinw, sspitsyn
2021-09-20 20:10:10 +00:00
Mikhailo Seledtsov
5c21c00441 8267163: Rename anonymous loader tests to hidden loader tests
Reviewed-by: dholmes, hseigel
2021-09-20 19:03:34 +00:00
Andrey Turbanov
b3b4b1cc21 8273907: Cleanup redundant Math.max/min calls in DefaultHighlighter
Reviewed-by: pbansal, aivanov, azvegint
2021-09-20 17:23:02 +00:00
Calvin Cheung
a67f0f9dc0 8273505: runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java#default-cl crashed with SIGSEGV in MetaspaceShared::link_shared_classes
Reviewed-by: iklam, minqi
2021-09-20 16:56:32 +00:00
Erik Gahlin
26e5e9ae8c 8273654: JFR: Remove unused SecuritySupport.setAccessible(Field)
Reviewed-by: mseledtsov, shade
2021-09-20 16:53:20 +00:00
Thomas Schatzl
4b3a4fff39 8273940: vmTestbase/vm/mlvm/meth/stress/gc/callSequencesDuringGC/Test.java crashes in full gc during VM exit
Reviewed-by: lkorinth
2021-09-20 16:17:52 +00:00
Erik Gahlin
dad5d27172 8272867: JFR: ManagementSupport.removeBefore() lost coverage
Reviewed-by: mseledtsov, mgronlun
2021-09-20 15:59:02 +00:00
Erik Gahlin
48aff23165 8272515: JFR: Names should only be valid Java identifiers
Reviewed-by: mgronlun
2021-09-20 15:44:46 +00:00
Nils Eliasson
4d95a5d6dc 8273933: [TESTBUG] Test must run without preallocated exceptions
Reviewed-by: chagedorn, thartmann
2021-09-20 14:59:44 +00:00
Nils Eliasson
9aa12daa15 8273934: Remove unused perfcounters
Reviewed-by: chagedorn
2021-09-20 14:11:16 +00:00
lawrence.andrews
4da45c4301 8270609: [TESTBUG] java/awt/print/Dialog/DialogCopies.java does not show instruction
Reviewed-by: aivanov
2021-09-20 14:07:50 +00:00
Aleksey Shipilev
544193a3bb 8247980: Exclusive execution of java/util/stream tests slows down tier1
Reviewed-by: iignatyev
2021-09-20 14:05:03 +00:00
Aleksey Shipilev
1f8af524ff 8273314: Add tier4 test groups
Reviewed-by: serb, iignatyev
2021-09-20 14:02:07 +00:00
Jan Lahoda
699865f76c 8259039: Passing different version to --release flag than javac version output warning
Reviewed-by: jjg
2021-09-20 13:43:14 +00:00
Naoto Sato
f71df142a9 8273187: jtools tests fail with missing markerName check
Reviewed-by: iris, sspitsyn, joehw
2021-09-20 13:38:38 +00:00
Christian Hagedorn
6f3e40c16d 8273825: TestIRMatching.java fails after JDK-8266550
Reviewed-by: thartmann, roland
2021-09-20 12:56:08 +00:00
Christian Hagedorn
a561eac912 8273895: compiler/ciReplay/TestVMNoCompLevel.java fails due to wrong data size with TieredStopAtLevel=2,3
Reviewed-by: kvn, dlong
2021-09-20 12:53:56 +00:00
Thomas Stuefe
d2388b7a0f 8273959: Some metaspace diagnostic switches should be develop
Reviewed-by: dholmes, jiefu
2021-09-20 08:46:44 +00:00
Matthias Baesken
dc7f452acb 8273815: move have_special_privileges to os_posix for POSIX platforms
Reviewed-by: mdoerr, stuefe, dholmes
2021-09-20 08:29:12 +00:00
Zhengyu Gu
7c9868c0b3 8273454: C2: Transform (-a)*(-b) into a*b
Reviewed-by: thartmann, eliu, chagedorn
2021-09-18 23:11:06 +00:00
Thomas Stuefe
bb9d142759 8273958: gtest/MetaspaceGtests executes unnecessary tests in debug builds
Reviewed-by: jiefu
2021-09-18 08:29:48 +00:00
lawrence.andrews
2a2e9190d4 8273685: Remove jtreg tag manual=yesno for java/awt/Graphics/LCDTextAndGraphicsState.java & show test instruction
Reviewed-by: aivanov, pbansal
2021-09-17 18:11:23 +00:00
sunxu
83020617e7 8273774: CDSPluginTest should only expect classes_nocoops.jsa exists on supported 64-bit platforms
Reviewed-by: ccheung, mchung
2021-09-17 16:41:51 +00:00
Kartik Ohri
2f8c2211c8 8273681: Add Vector API vs Arrays.mismatch intrinsic benchmark
Reviewed-by: psandoz
2021-09-17 15:12:34 +00:00
Phil Race
17f7a45ce4 8273913: Problem list some headful client jtreg tests that fail on macOS 12
Reviewed-by: pbansal, aivanov
2021-09-17 15:00:52 +00:00
Matthias Baesken
27d747ad4f 8273877: os::unsetenv unused
Reviewed-by: mdoerr, stuefe
2021-09-17 12:53:38 +00:00
Matthias Baesken
35f6f1d69f 8273808: Cleanup AddFontsToX11FontPath
Reviewed-by: pbansal, lucy
2021-09-17 08:20:10 +00:00
Per Liden
1890d85c0e 8273872: ZGC: Explicitly use 2M large pages
Reviewed-by: eosterlund, tschatzl, stefank
2021-09-17 07:51:45 +00:00
Aleksey Shipilev
54b456764b 8273880: Zero: Print warnings when unsupported intrinsics are enabled
Reviewed-by: dholmes
2021-09-17 06:44:18 +00:00
Guoxiong Li
e07ab82ee5 8273408: java.lang.AssertionError: typeSig ERROR on generated class property of record
Reviewed-by: vromero
2021-09-17 05:34:25 +00:00
Alex Menkov
8c022e2c17 8270434: JDI+UT: Unexpected event in JDI tests
Reviewed-by: sspitsyn, kevinw
2021-09-16 23:45:08 +00:00
Ioi Lam
b98290444a 8271073: Improve testing with VM option VerifyArchivedFields
Reviewed-by: ccheung, minqi
2021-09-16 23:26:55 +00:00
Volker Simonis
bc48a0ac29 8273902: Memory leak in OopStorage due to bug in OopHandle::release()
Reviewed-by: sspitsyn, coleenp
2021-09-16 19:56:12 +00:00
Yumin Qi
9c5441c9c4 8271569: Clean up the use of CDS constants and field offsets
Reviewed-by: iklam, dholmes
2021-09-16 17:56:07 +00:00
Calvin Cheung
12fa7073c5 8261941: Use ClassLoader for unregistered classes during -Xshare:dump
Reviewed-by: iklam, minqi
2021-09-16 17:32:02 +00:00
Andrey Turbanov
7e92abe7a4 8273710: Remove redundant stream() call before forEach in jdk.jdeps
Reviewed-by: dfuchs, shade
2021-09-16 15:17:28 +00:00
Roland Westrelin
59b2478abd 8273659: Replay compilation crashes with SIGSEGV since 8271911
Reviewed-by: kvn, dlong
2021-09-16 12:02:46 +00:00
Coleen Phillimore
5e4d09c229 8273300: Check Mutex ranking during a safepoint
Reviewed-by: eosterlund, dholmes, pchilanomate
2021-09-16 12:01:49 +00:00
Christian Hagedorn
c86e24d4be 8271954: C2: assert(false) failed: Bad graph detected in build_loop_late
Reviewed-by: roland, kvn
2021-09-16 11:57:30 +00:00
Albert Mingkun Yang
14dc5178cf 8273372: Remove scavenge trace message in psPromotionManager
Reviewed-by: tschatzl, lkorinth
2021-09-16 11:41:15 +00:00
Aleksey Shipilev
241ac89f12 8273606: Zero: SPARC64 build fails with si_band type mismatch
Reviewed-by: stuefe
2021-09-16 08:53:22 +00:00
Aleksey Shipilev
181292d48c 8273801: Handle VMTYPE for "core" VM variant
Reviewed-by: dholmes, erikj
2021-09-16 08:25:43 +00:00
Aleksey Shipilev
09ecb11927 8273806: compiler/cpuflags/TestSSE4Disabled.java should test for CPU feature explicitly
Reviewed-by: thartmann
2021-09-16 08:23:55 +00:00
Aleksey Shipilev
99cfc160af 8273805: gc/g1/TestGCLogMessages.java test should handle non-JFR configs
Reviewed-by: tschatzl, ayang
2021-09-16 08:22:48 +00:00
Aleksey Shipilev
1c5de8b86b 8273807: Zero: Drop incorrect test block from compiler/startup/NumCompilerThreadsCheck.java
Reviewed-by: thartmann
2021-09-16 08:12:31 +00:00
Aleksey Shipilev
46af82e5b0 8273804: Platform.isTieredSupported should handle the no-compiler case
Reviewed-by: dholmes
2021-09-16 07:52:24 +00:00
Aleksey Shipilev
2d13fb21af 8273803: Zero: Handle "zero" variant in CommandLineOptionTest.java
Reviewed-by: dholmes
2021-09-16 07:51:17 +00:00
Matthias Baesken
d4546b6b36 8273526: Extend the OSContainer API pids controller with pids.current
Reviewed-by: sgehwolf, iklam
2021-09-16 07:08:19 +00:00
Serguei Spitsyn
74ffe12267 8273575: memory leak in appendBootClassPath(), paths must be deallocated
Reviewed-by: dholmes, amenkov
2021-09-15 20:00:21 +00:00
Thomas Schatzl
cbffecc61e 8273832: gc/shenandoah/TestJcmdHeapDump.java does not have a @requires vm.gc.shenandoah
Reviewed-by: zgu
2021-09-15 17:21:44 +00:00
Thomas Schatzl
7b2beb6ba6 8273823: Problemlist gc/stringdedup tests timing out on ZGC
Reviewed-by: zgu, lkorinth
2021-09-15 15:49:15 +00:00
Tobias Holenstein
82904246cd 8272771: frame::pd_ps() is not implemented on any platform
Reviewed-by: shade, dholmes, thartmann
2021-09-15 13:58:28 +00:00
Alexey Semenyuk
a3ca770227 8272815: jpackage --type rpm produces an error: Invalid or unsupported type: [null]
Reviewed-by: herrick, almatvee
2021-09-15 13:22:26 +00:00
Zhengyu Gu
8132bfd23f 8273559: Shenandoah: Shenandoah should support multi-threaded heap dump
Reviewed-by: shade, rkennke, sgehwolf
2021-09-15 13:10:13 +00:00
Ian Graves
f531b5c796 8273514: java/util/DoubleStreamSums/CompensatedSums.java failure
Reviewed-by: rriggs, darcy
2021-09-15 13:08:15 +00:00
Sergey Tsypanov
4c673df31e 8273656: Improve java.lang.invoke.MethodType.parameterList() and its usage
Reviewed-by: jvernee, vlivanov, mchung
2021-09-15 11:11:15 +00:00
Aleksey Shipilev
8fbcc8239a 8273494: Zero: Put libjvm.so into "zero" folder, not "server"
Reviewed-by: ihse, sgehwolf
2021-09-15 08:56:53 +00:00
Thomas Schatzl
92c30c941b 8273599: Remove cross_threshold method usage around GC
Reviewed-by: sjohanss, ayang
2021-09-15 08:28:47 +00:00
Thomas Schatzl
02af541b74 8273605: VM Exit does not abort concurrent mark
Reviewed-by: kbarrett, sjohanss
2021-09-15 08:27:43 +00:00
Prasanta Sadhukhan
febcc72a54 8273366: [testbug] javax/swing/UIDefaults/6302464/bug6302464.java fails on macOS12
Reviewed-by: aivanov, serb
2021-09-15 05:43:03 +00:00
Sergey Bylokhov
1017a2c2d7 8273135: java/awt/color/ICC_ColorSpace/MTTransformReplacedProfile.java crashes in liblcms.dylib with NULLSeek+0x7
Reviewed-by: aivanov, azvegint
2021-09-15 05:18:35 +00:00
Sergey Bylokhov
6cf70f5f08 8273638: javax/swing/JTable/4235420/bug4235420.java fails in GTK L&F
Reviewed-by: pbansal, psadhukhan, azvegint
2021-09-15 05:15:44 +00:00
Leo Korinth
e66bf47248 8273414: ResourceObj::operator delete should handle nullptr in debug builds
Reviewed-by: stuefe
2021-09-14 21:17:59 +00:00
casparcwang
16c3ad1ff4 8272574: C2: assert(false) failed: Bad graph detected in build_loop_late
Co-authored-by: Hui Shi <hshi@openjdk.org>
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: thartmann, chagedorn, kvn
2021-09-14 20:55:01 +00:00
Brian Burkhalter
e7ab3724e7 8273641: (bf) Buffer subclasses documentation contains template strings
Reviewed-by: rriggs, alanb
2021-09-14 19:12:53 +00:00
Andy Herrick
22a7191f70 8273040: Turning off JpAllowDowngrades (or Upgrades)
Reviewed-by: asemenyuk
2021-09-14 17:45:49 +00:00
Jonathan Dowland
394ebc8642 8270553: Tests should not use (real, in-use, routable) 1.1.1.1 as dummy IP value
Reviewed-by: shade, dfuchs
2021-09-14 17:12:49 +00:00
Aleksey Shipilev
0f31d0fb2c 8273373: Zero: Cannot invoke JVM in primordial threads on Zero
Reviewed-by: stuefe
2021-09-14 15:49:00 +00:00
Guoxiong Li
fe89dd3b0d 8271254: javac generates unreachable code when using empty semicolon statement
Reviewed-by: vromero
2021-09-14 14:46:21 +00:00
Coleen Phillimore
8974b95886 8273730: WorkGangBarrierSync constructor unused
Reviewed-by: tschatzl, eosterlund
2021-09-14 13:17:27 +00:00
Coleen Phillimore
1d3eb147ee 8273635: Attempting to acquire lock StackWatermark_lock/9 out of order with lock tty_lock/3
Reviewed-by: dholmes, eosterlund
2021-09-14 13:09:46 +00:00
Naoto Sato
31667daa50 8273491: java.util.spi.LocaleServiceProvider spec contains statement that is too strict
Reviewed-by: joehw, lancea
2021-09-14 12:46:08 +00:00
Magnus Ihse Bursie
ed7789d6a0 8256977: Bump minimum GCC from 5.x to 6 for JDK
Reviewed-by: erikj, shade
2021-09-14 11:29:16 +00:00
Magnus Ihse Bursie
5bfd043e16 8273497: building.md should link to both md and html
Reviewed-by: erikj, shade
2021-09-14 11:28:19 +00:00
Per Liden
3884580591 8273597: Rectify Thread::is_ConcurrentGC_thread()
Reviewed-by: stefank, coleenp
2021-09-14 10:28:31 +00:00
Per Liden
f52728993d 8273639: tests fail with "assert(_handle_mark_nesting > 1) failed: memory leak: allocating handle outside HandleMark"
Reviewed-by: coleenp, dholmes
2021-09-14 08:36:39 +00:00
Roland Westrelin
1d2458db34 8266550: C2: mirror TypeOopPtr/TypeInstPtr/TypeAryPtr with TypeKlassPtr/TypeInstKlassPtr/TypeAryKlassPtr
Reviewed-by: vlivanov, thartmann
2021-09-14 08:35:09 +00:00
Aleksey Shipilev
a143372818 8273438: Enable parallelism in vmTestbase/metaspace/stressHierarchy tests
Reviewed-by: mseledtsov, iignatyev
2021-09-14 08:18:21 +00:00
Aleksey Shipilev
86a8e5524d 8273486: Zero: Handle DiagnoseSyncOnValueBasedClasses VM option
Reviewed-by: dholmes
2021-09-14 08:14:35 +00:00
Yasumasa Suenaga
8d73ee684a 8273471: Add foldmultilines to UL for stdout/err
Reviewed-by: dholmes, iklam
2021-09-14 05:12:36 +00:00
David Holmes
c54a918a0e 8273691: Missing comma after 2021 in GraphemeTestAccessor.java copyright notice
Reviewed-by: psandoz
2021-09-14 01:01:07 +00:00
Ian Graves
3d9dc8f824 8273430: Suspicious duplicate condition in java.util.regex.Grapheme#isExcludedSpacingMark
Reviewed-by: naoto
2021-09-13 21:48:28 +00:00
Coleen Phillimore
5095068d3b 8273675: Remove unused Universe::_verify_in_progress flag
Reviewed-by: hseigel
2021-09-13 20:35:19 +00:00
Weijun Wang
fc0f8542c3 8246797: A convenient method to read OPTIONAL element
Reviewed-by: jnimeh, valeriep
2021-09-13 18:05:27 +00:00
Brian Burkhalter
6cf5079d8e 8273513: Make java.io.FilterInputStream specification more precise about overrides
Reviewed-by: dfuchs, naoto
2021-09-13 17:50:10 +00:00
Pavel Rappo
b4b121018d 8273616: Fix trivial doc typos in the java.base module
Reviewed-by: jrose, iris, lancea, dfuchs, rriggs
2021-09-13 17:46:13 +00:00
Mikhailo Seledtsov
7c26ddb575 8195809: [TESTBUG] jps and jcmd -l support for containers is not tested
Reviewed-by: hseigel, kevinw
2021-09-13 17:36:23 +00:00
Naoto Sato
4cfa230e2d 8273259: Character.getName doesn't follow Unicode spec for ideographs
Reviewed-by: bpb, lancea, iris, darcy
2021-09-13 16:06:10 +00:00
Zhengyu Gu
f9b2507f3e 8271834: TestStringDeduplicationAgeThreshold intermittent failures on Shenandoah
Reviewed-by: shade, pliden
2021-09-13 12:23:12 +00:00
Jie Fu
261cb44b13 8273629: compiler/uncommontrap/TestDeoptOOM.java fails with release VMs
Reviewed-by: shade
2021-09-13 12:10:56 +00:00
Jan Lahoda
b0d04976bd 8273584: TypeElement.getSuperclass crashes for a record TypeElement when j.l.Record is not available
Reviewed-by: vromero
2021-09-13 09:24:06 +00:00
Prasanta Sadhukhan
4efcd2006f 8273478: [macos11] JTabbedPane selected and pressed tab is not legible
Reviewed-by: kizune, aivanov, serb
2021-09-13 04:44:01 +00:00
Yi Yang
a73c06de2a 8273021: C2: Improve Add and Xor ideal optimizations
Co-authored-by: yulei <lei.yul@alibaba-inc.com>
Reviewed-by: thartmann, kvn
2021-09-13 02:10:45 +00:00
Ioi Lam
9f86082fd5 8273610: LogTestFixture::restore_config() should not restore options
Reviewed-by: ysuenaga, dholmes
2021-09-13 01:57:04 +00:00
Andrey Turbanov
2ee1f96c14 8273484: Cleanup unnecessary null comparison before instanceof check in java.naming
Reviewed-by: aefimov, dfuchs
2021-09-12 13:48:24 +00:00
Ao Qi
f189dff5cb 8273595: tools/jpackage tests do not work on apt-based Linux distros like Debian
Co-authored-by: Sun Xu <sunxu01@loongson.cn>
Reviewed-by: asemenyuk, herrick
2021-09-10 23:13:18 +00:00
Ioi Lam
922e86f4ff 8273522: Rename test property vm.cds.archived.java.heap to vm.cds.write.archived.java.heap
Reviewed-by: minqi, ccheung, mseledtsov
2021-09-10 22:45:26 +00:00
Pavel Rappo
f42b92790a 8273609: Fix trivial doc typos in the compiler area
Reviewed-by: rriggs, vromero, iris
2021-09-10 19:33:54 +00:00
Coleen Phillimore
e4cd2097a5 8273611: Remove unused ProfilePrint_lock
Reviewed-by: iklam
2021-09-10 19:23:58 +00:00
jovanstevanovic
f690a01f1e 8273278: Support XSLT on GraalVM Native Image--deterministic bytecode generation in XSLT
Reviewed-by: joehw
2021-09-10 19:13:20 +00:00
Jim Laskey
5e1df2c7d7 8273162: AbstractSplittableWithBrineGenerator does not create a random salt
Reviewed-by: rriggs, bpb
2021-09-10 18:03:45 +00:00
Jim Laskey
d4177a98c1 8273351: bad tag in jdk.random module-info.java
Reviewed-by: rriggs, bpb
2021-09-10 17:58:33 +00:00
Mandy Chung
ec9d1bebd7 8273194: Document the two possible cases when Lookup::ensureInitialized returns
Reviewed-by: alanb
2021-09-10 17:17:31 +00:00
Naoto Sato
81d2acee57 8273369: Computing micros between two instants unexpectedly overflows for some cases
Reviewed-by: lancea, rriggs, joehw
2021-09-10 16:36:57 +00:00
Phil Race
efe3ed1e70 8273358: macOS Monterey does not have the font Times needed by Serif
Reviewed-by: kizune, aivanov
2021-09-10 16:36:06 +00:00
Sandhya Viswanathan
e58c12e618 8273512: Fix the copyright header of x86 macroAssembler files
Reviewed-by: dholmes, thartmann
2021-09-10 15:39:48 +00:00
Coleen Phillimore
461a467f91 8273456: Do not hold ttyLock around stack walking
Reviewed-by: dholmes, eosterlund
2021-09-10 14:54:47 +00:00
Daniel D. Daugherty
695b434b44 Merge 2021-09-10 14:34:27 +00:00
Andy Herrick
4afbcaf553 8273592: Backout JDK-8271868
Reviewed-by: kcr, asemenyuk
2021-09-10 14:17:45 +00:00
Aleksei Efimov
c464f09056 8273402: Use derived NamingExceptions in com.sun.jndi.ldap.Connection#readReply
Reviewed-by: dfuchs
2021-09-10 14:15:45 +00:00
kabutz
4e6de5f9de 8273541: Cleaner Thread creates with normal priority instead of MAX_PRIORITY - 2
Reviewed-by: shade, alanb, lancea
2021-09-10 14:13:59 +00:00
Per Liden
c1e39faaa9 8273482: Remove "foreground work" concept from WorkGang
Reviewed-by: tschatzl, kbarrett
2021-09-10 09:49:45 +00:00
Tobias Holenstein
2eaf374c5c 8272698: LoadNode::pin is unused
Reviewed-by: roland, thartmann
2021-09-10 07:44:12 +00:00
Tobias Holenstein
792281d559 8264517: C2: make MachCallNode::return_value_is_used() only available for x86
Reviewed-by: kvn, thartmann
2021-09-10 07:43:15 +00:00
Pankaj Bansal
70c9e026b6 8272148: JDesktopPane:getComponentCount() returns one extra than expected with GTKLookAndFeel
Reviewed-by: prr, serb
2021-09-10 06:13:32 +00:00
matias9927
08f0be8388 8272608: java_lang_System::allow_security_manager() doesn't set its initialization flag
Reviewed-by: coleenp, dholmes
2021-09-10 01:05:37 +00:00
Andrey Turbanov
2e321dc782 8273528: Avoid ByteArrayOutputStream.toByteArray when converting stream to String
Reviewed-by: bpb, xuelei, serb, aivanov
2021-09-09 21:47:59 +00:00
Naoto Sato
54dee132d1 8273188: java/lang/instrument/BootClassPath/BootClassPathTest.sh fails with "FATAL ERROR in native method: processing of -javaagent failed, processJavaStart failed"
Reviewed-by: dholmes, alanb
2021-09-09 19:41:56 +00:00
Andy Herrick
a37254c79f 8271868: Warn user when using mac-sign option with unsigned app-image.
Reviewed-by: asemenyuk
2021-09-09 19:31:35 +00:00
Per Liden
4020a60cbb 8273550: Replace os::cgc_thread/pgc_thread with os::gc_thread
Reviewed-by: stefank, coleenp
2021-09-09 19:21:55 +00:00
Per Liden
185eacacdd 8273545: Remove Thread::is_GC_task_thread()
Reviewed-by: stefank, coleenp, shade
2021-09-09 19:19:39 +00:00
Vicente Romero
dd1209e4ae 8268885: duplicate checkcast when destination type is not first type of intersection type
Reviewed-by: jlahoda
2021-09-09 18:36:17 +00:00
Saravana Kumar Vijayasekaran
ef4a532802 8263773: Reenable German localization for builds at Oracle
Reviewed-by: erikj, ihse
2021-09-09 18:24:26 +00:00
Maurizio Cimadamore
96614da025 8272903: Missing license header in ArenaAllocator.java
Reviewed-by: bpb, lancea
2021-09-09 17:28:06 +00:00
Aleksey Shipilev
e3bda63ce2 8273489: Zero: Handle UseHeavyMonitors on all monitorenter paths
Reviewed-by: coleenp
2021-09-09 17:19:14 +00:00
Tobias Hartmann
c81690d716 8273498: compiler/c2/Test7179138_1.java timed out
Reviewed-by: roland
2021-09-09 13:54:47 +00:00
Tobias Hartmann
4866eaa997 8273409: Receiver type narrowed by CCP does not always trigger post-parse call devirtualization
Reviewed-by: vlivanov, neliasso
2021-09-09 13:44:05 +00:00
Aleksey Shipilev
5ca26cbddb 8273433: Enable parallelism in vmTestbase_nsk_sysdict tests
Reviewed-by: mseledtsov, dholmes
2021-09-09 13:41:46 +00:00
Martin Doerr
f6cc1732f4 8273539: [PPC64] gtest build error after JDK-8264207
Reviewed-by: shade, stuefe
2021-09-09 10:48:02 +00:00
Hamlin Li
9690df7fb9 8273476: G1: refine G1CollectedHeap::par_iterate_regions_array_part_from
Reviewed-by: ayang, tschatzl
2021-09-09 10:41:27 +00:00
Evan Whelan
00e059ddb3 8133686: HttpURLConnection.getHeaderFields and URLConnection.getRequestProperties methods return field values in reverse order
Reviewed-by: dfuchs
2021-09-09 10:23:12 +00:00
Aleksey Shipilev
aa9311182a 8273483: Zero: Clear pending JNI exception check in native method handler
Reviewed-by: aph
2021-09-09 09:46:16 +00:00
Aleksey Shipilev
8c16f485b3 8273487: Zero: Handle "zero" variant in runtime tests
Reviewed-by: alanb, dholmes
2021-09-09 08:07:00 +00:00
Aleksey Shipilev
dc33bd8b6c 8273315: Parallelize and increase timeouts for java/foreign/TestMatrix.java test
Reviewed-by: mcimadamore
2021-09-09 07:43:22 +00:00
Thomas Schatzl
5b1dfe4e35 8273439: Fix G1CollectedHeap includes and forward declarations
Reviewed-by: ayang, kbarrett
2021-09-09 07:28:23 +00:00
Matthias Baesken
6eba443428 8273387: remove some unreferenced gtk-related functions
Reviewed-by: pbansal, clanger
2021-09-09 06:15:15 +00:00
Hamlin Li
5df2648086 8273218: G1: Rename g1EvacuationInfo to g1EvacInfo
Reviewed-by: tschatzl, ayang
2021-09-09 00:41:28 +00:00
Daniel D. Daugherty
12f0b77179 8273516: ProblemList compiler/c2/Test7179138_1.java in -Xcomp mode on win-X64
Reviewed-by: dholmes
2021-09-09 00:39:40 +00:00
Roger Riggs
7fd6b0bfd8 8273242: (test) Refactor to use TestNG for RuntimeTests ExecCommand tests
Reviewed-by: naoto, lancea
2021-09-08 20:53:25 +00:00
Leonid Mesnik
a5e4def526 8265489: Stress test times out because of long ObjectSynchronizer::monitors_iterate(...) operation
Reviewed-by: dcubed
2021-09-08 19:31:18 +00:00
Leonid Mesnik
9b5991e811 8273451: Remove unreachable return in mutexLocker::wait
Reviewed-by: minqi, coleenp
2021-09-08 19:30:17 +00:00
Thomas Schatzl
e6805032ff 8273185: Rename the term "atomic" in ReferenceProcessor
Reviewed-by: ayang, shade
2021-09-08 19:02:49 +00:00
Daniel D. Daugherty
ba31eee4fc 8273109: runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest times out
Reviewed-by: bpb
2021-09-08 18:33:04 +00:00
Jonathan Gibbons
4d5e1ed958 8272375: Improve phrasing of synthesized descriptions in JavaFX docs
Reviewed-by: kcr, prappo
2021-09-08 17:38:05 +00:00
Aleksey Shipilev
267c61a16a 8273361: InfoOptsTest is failing in tier1
Reviewed-by: jpai, ihse, jlahoda
2021-09-08 16:36:31 +00:00
Vladimir Ivanov
f7e9f56e23 8273359: CI: ciInstanceKlass::get_canonical_holder() doesn't respect instance size
Reviewed-by: kvn
2021-09-08 16:17:56 +00:00
Sandhya Viswanathan
d7efd0e8cf 8273450: Fix the copyright header of SVML files
Reviewed-by: dholmes, psandoz
2021-09-08 16:07:45 +00:00
Sergey Tsypanov
e5f298a7f1 8273329: Remove redundant null check from String.getBytes(String charsetName)
Reviewed-by: rriggs, iris, naoto
2021-09-08 15:54:36 +00:00
Masanori Yano
cb112affd6 8269373: some tests in jdk/tools/launcher/ fails on localized Windows platform
Reviewed-by: naoto
2021-09-08 15:46:33 +00:00
Wang Huang
7e662e7b9d 8272413: Incorrect num of element count calculation for vector cast
Co-authored-by: Wang Huang <whuang@openjdk.org>
Co-authored-by: Miu Zhuojun <mouzhuojun@huawei.com>
Co-authored-by: Wu Yan <wuyan@openjdk.org>
Reviewed-by: eliu, kvn
2021-09-08 14:39:23 +00:00
jtfuller111
f2f8136cc9 8265443: IGV: disambiguate groups by emiting additional properties
Reviewed-by: thartmann
2021-09-08 14:38:21 +00:00
Andrey Turbanov
59c9f75041 8273375: Remove redundant 'new String' calls after concatenation in java.desktop
Reviewed-by: aivanov
2021-09-08 14:28:07 +00:00
Vladimir Ivanov
faa942c8ba 8273000: Remove WeakReference-based class initialisation barrier implementation
Reviewed-by: psandoz, mchung
2021-09-08 11:28:17 +00:00
Vladimir Ivanov
21012f2bbe 8078641: MethodHandle.asTypeCache can retain classes from unloading
Co-authored-by: Peter Levart <plevart@openjdk.org>
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Reviewed-by: psandoz, mchung, plevart
2021-09-08 11:27:14 +00:00
Markus Karg
185557423d 8273038: ChannelInputStream.transferTo() uses FileChannel.transferTo(FileChannel)
Reviewed-by: alanb
2021-09-08 11:22:47 +00:00
Andrew Haley
6750c34c92 8270533: AArch64: size_fits_all_mem_uses should return false if its output is a CAS
Reviewed-by: adinn, ngasson
2021-09-08 10:08:30 +00:00
Hamlin Li
a66629a464 8254167: G1: Record regions where evacuation failed to provide targeted iteration
Reviewed-by: tschatzl, ayang
2021-09-08 08:01:18 +00:00
Aleksey Shipilev
286a1f6b7c 8273440: Zero: Disable runtime/Unsafe/InternalErrorTest.java
Reviewed-by: dholmes
2021-09-08 07:44:35 +00:00
Aleksey Shipilev
7d24a33421 8273318: Some containers/docker/TestJFREvents.java configs are running out of memory
Reviewed-by: ngasson, sgehwolf, mseledtsov
2021-09-08 07:43:28 +00:00
Andrey Turbanov
1513dc7afc 8271603: Unnecessary Vector usage in java.desktop
Reviewed-by: prr, serb
2021-09-08 04:36:41 +00:00
Daniel D. Daugherty
ea4907a878 8273047: test jfr/api/consumer/TestRecordedFrame.java timing out
Reviewed-by: dholmes
2021-09-08 02:13:41 +00:00
Yasumasa Suenaga
4eacdb38a8 8273104: Refactoring option parser for UL
Reviewed-by: iklam, dholmes
2021-09-08 01:27:13 +00:00
Daniel D. Daugherty
8884d2f854 8273462: ProblemList vmTestbase/vm/mlvm/anonloader/stress/oome/heap/Test.java in -Xcomp mode
Reviewed-by: dholmes
2021-09-08 00:34:11 +00:00
Mark Sheppard
d6d6c0692b 8273246: Amend the test java/nio/channels/DatagramChannel/ManySourcesAndTargets.java to execute in othervm mode
Reviewed-by: alanb
2021-09-07 22:18:23 +00:00
Andrey Turbanov
708407eddc 8273168: Remove superfluous use of boxing in java.desktop
Reviewed-by: aivanov
2021-09-07 21:12:35 +00:00
Alexey Ivanov
270a9d9293 8273043: [TEST_BUG] Automate NimbusJTreeSelTextColor.java
Reviewed-by: serb
2021-09-07 19:05:35 +00:00
Prasanta Sadhukhan
df05b4d1a1 8271923: [macos] the text color on the selected disabled tabbed pane button remains white making text unreadable
Reviewed-by: jdv
2021-09-07 15:50:27 +00:00
Roland Westrelin
2abf3b3b27 8271340: Crash PhaseIdealLoop::clone_outer_loop
Reviewed-by: kvn, thartmann
2021-09-07 15:15:17 +00:00
Roland Westrelin
99fb12c798 8271341: Opcode() != Op_If && Opcode() != Op_RangeCheck) || outcnt() == 2 assert failure with Test7179138_1.java
Reviewed-by: kvn, thartmann
2021-09-07 15:13:12 +00:00
Fernando Guallini
041ae20b10 8268558: [TESTBUG] Case 2 in TestP11KeyFactoryGetRSAKeySpec is skipped
Reviewed-by: mullan, rhalade
2021-09-07 14:36:15 +00:00
Vladimir Ivanov
377b186724 8269119: C2: Avoid redundant memory barriers in Unsafe.copyMemory0 intrinsic
Reviewed-by: thartmann, roland
2021-09-07 11:35:31 +00:00
Jan Lahoda
70157c78a8 8272135: jshell: Method cannot use its overloaded version
Reviewed-by: vromero
2021-09-07 09:50:10 +00:00
Ivan Šipka
5caa77b043 8263364: sun/net/www/http/KeepAliveStream/KeepAliveStreamCloseWithWrongContentLength.java wedged in getInputStream
Reviewed-by: dfuchs
2021-09-07 09:46:27 +00:00
Aleksey Shipilev
a522d6b53c 8273376: Zero: Disable vtable/itableStub gtests
Reviewed-by: jiefu, stuefe
2021-09-07 08:52:53 +00:00
Leo Korinth
3cd95a2932 8231356: Fix broken ResourceObj::operator new[] in debug builds
Reviewed-by: kbarrett, iklam
2021-09-07 08:23:32 +00:00
Aleksey Shipilev
81c719be39 8273333: Zero should warn about unimplemented -XX:+LogTouchedMethods
Reviewed-by: minqi, dholmes
2021-09-07 07:35:23 +00:00
Wang Huang
649c22c5b1 8270832: Aarch64: Update algorithm annotations for MacroAssembler::fill_words
Co-authored-by: Wang Huang <whuang@openjdk.org>
Co-authored-by: Miu Zhuojun <mouzhuojun@huawei.com>
Co-authored-by: Wu Yan <wuyan@openjdk.org>
Reviewed-by: ngasson, aph
2021-09-07 01:40:24 +00:00
Kim Barrett
eb221812b2 8273386: Remove duplicated code in G1DCQS::abandon_completed_buffers
Reviewed-by: tschatzl
2021-09-06 18:19:58 +00:00
Aleksey Shipilev
fc546d6de9 8273378: Shenandoah: Remove the remaining uses of os::is_MP
Reviewed-by: aph, zgu
2021-09-06 16:00:12 +00:00
Patric Hedlin
7bd4f496b4 8264207: CodeStrings does not honour fixed address assumption.
Reviewed-by: redestad, neliasso
2021-09-06 14:43:54 +00:00
Thomas Schatzl
2cabec8ddc 8253343: Extract G1 Young GC algorithm related code from G1CollectedHeap
Reviewed-by: ayang, sjohanss
2021-09-06 14:28:54 +00:00
Dan Heidinga
44c5c23b96 8272164: DumpAllocStats shouldn't subclass from ResourceObj
Reviewed-by: shade, iklam, dholmes
2021-09-06 13:39:03 +00:00
Markus Grönlund
1bf5bda291 8269418: jdk/jfr/event/oldobject/TestObjectSize.java failed with "RuntimeException: No events: expected false, was true"
Reviewed-by: jbachorik
2021-09-06 09:13:35 +00:00
Thomas Schatzl
fb5b144eca 8272985: Reference discovery is confused about atomicity and degree of parallelism
Reviewed-by: ayang, kbarrett
2021-09-06 09:07:43 +00:00
Daniel Gredler
70ed6c5b8c 8272878: JEP 381 cleanup: Remove unused Solaris code in sun.font.TrueTypeGlyphMapper
Reviewed-by: prr, jdv
2021-09-06 08:13:22 +00:00
Albert Mingkun Yang
b4e5b28b86 8273221: Guard GCIdMark against nested calls
Reviewed-by: tschatzl, kbarrett
2021-09-06 08:11:34 +00:00
Aleksey Shipilev
4d25e6f6c7 8273335: compiler/blackhole tests should not run with interpreter-only VMs
Reviewed-by: kvn
2021-09-06 08:08:05 +00:00
lawrence.andrews
c640fe42c2 7188098: TEST_BUG: closed/javax/sound/midi/Synthesizer/Receiver/bug6186488.java fails
Reviewed-by: serb
2021-09-05 09:15:38 +00:00
Prasanta Sadhukhan
cec6c068b0 8272232: javax/swing/JTable/4275046/bug4275046.java failed with "Expected value in the cell: 'rededited' but found 'redEDITED'."
8257540: javax/swing/JFileChooser/8041694/bug8041694.java failed with "RuntimeException: The selected directory name is not the expected 'd ' but 'D '."

Reviewed-by: serb
2021-09-04 11:04:22 +00:00
Dean Long
14a3ac09fe 8271911: replay compilations of methods which use JSR292 (easy cases)
8012267: ciReplay: fails to resolve @SignaturePolymorphic methods in replay data
8012268: ciReplay: process_ciInstanceKlass: JVM_CONSTANT_MethodHandle not supported

Reviewed-by: kvn, vlivanov
2021-09-03 23:23:10 +00:00
Yumin Qi
d414a88d88 8273240: Dynamic test ArchiveConsistency.java should use CDSArchiveUtils
Reviewed-by: iklam
2021-09-03 20:36:48 +00:00
Albert Mingkun Yang
23fa0dcff0 8272905: Consolidate discovered lists processing
Reviewed-by: tschatzl, kbarrett
2021-09-03 16:53:53 +00:00
Vicente Romero
ff4018bc86 8268148: unchecked warnings handle ? and ? extends Object differently
Reviewed-by: jlahoda
2021-09-03 15:20:23 +00:00
Vicente Romero
8c37909274 8273234: extended 'for' with expression of type tvar causes the compiler to crash
Reviewed-by: jlahoda
2021-09-03 13:11:27 +00:00
Vladimir Ivanov
28ba78e647 8244675: assert(IncrementalInline || (_late_inlines.length() == 0 && !has_mh_late_inlines()))
Reviewed-by: dlong
2021-09-03 12:05:00 +00:00
Guoxiong Li
d05494f98b 8266239: Some duplicated javac command-line options have repeated effect
Reviewed-by: vromero
2021-09-03 09:33:17 +00:00
Jan Lahoda
93eec9a103 8272776: NullPointerException not reported
Reviewed-by: vromero
2021-09-03 09:31:54 +00:00
Jan Lahoda
7b023a3f60 8273257: jshell doesn't compile a sealed hierarchy with a sealed interface and a non-sealed leaf
Reviewed-by: vromero
2021-09-03 09:30:56 +00:00
Jan Lahoda
f17ee0c5c7 8273263: Incorrect recovery attribution of record component type when j.l.Record is unavailable
Reviewed-by: vromero
2021-09-03 09:29:45 +00:00
Xiaowei Lu
fa9c8657df 8273112: -Xloggc:<filename> should override -verbose:gc
Reviewed-by: iklam, dholmes
2021-09-03 05:29:02 +00:00
Ian Graves
dd871819a0 8214761: Bug in parallel Kahan summation implementation
Reviewed-by: darcy
2021-09-03 00:50:11 +00:00
Sergey Bylokhov
7fff22afe7 8272805: Avoid looking up standard charsets
Reviewed-by: weijun, naoto, dfuchs, azvegint, erikj
2021-09-02 22:56:20 +00:00
Patricio Chilano Mateo
92b05fe0f4 8273251: Call check_possible_safepoint() from SafepointMechanism::process_if_requested()
Reviewed-by: coleenp, dholmes
2021-09-02 21:22:47 +00:00
Jamil Nimeh
29e0f1386d 8272385: Enforce ECPrivateKey d value to be in the range [1, n-1] for SunEC provider
Reviewed-by: ascarpino, weijun
2021-09-02 17:54:08 +00:00
Lance Andersen
aaa6f696b0 8273250: Address javadoc issues in Deflater::setDictionationary
Reviewed-by: rriggs, naoto, iris, bpb
2021-09-02 16:06:55 +00:00
Aleksey Shipilev
5ee5dd9b18 8272914: Create hotspot:tier2 and hotspot:tier3 test groups
Reviewed-by: dholmes, coleenp, iignatyev
2021-09-02 15:43:21 +00:00
Thomas Schatzl
5245c1cf02 8273147: Update and restructure TestGCLogMessages log message list
Reviewed-by: iwalulya, ayang
2021-09-02 11:57:55 +00:00
Vladimir Ivanov
632a7e0885 8273165: GraphKit::combine_exception_states fails with "matching stack sizes" assert
Reviewed-by: thartmann, kvn
2021-09-02 11:46:19 +00:00
Matthias Baesken
c2e015c3c1 8273229: Update OS detection code to recognize Windows Server 2022
Reviewed-by: alanb, dholmes
2021-09-02 11:22:49 +00:00
Aleksei Efimov
0c1b16b75a 8273243: Fix indentations in java.net.InetAddress methods
Reviewed-by: dfuchs, bpb
2021-09-02 10:36:08 +00:00
Sergey Tsypanov
152e66923d 8273140: Replace usages of Enum.class.getEnumConstants() with Enum.values() where possible
Reviewed-by: tschatzl
2021-09-02 08:10:40 +00:00
Aleksey Shipilev
857a930bde 8263375: Support stack watermarks in Zero VM
Reviewed-by: eosterlund
2021-09-02 08:00:45 +00:00
Aleksey Shipilev
6cfe314262 8272970: Parallelize runtime/InvocationTests/
Reviewed-by: dholmes, iignatyev
2021-09-02 07:56:56 +00:00
Jie Fu
a9a83b248e 8273256: runtime/cds/appcds/TestEpsilonGCWithCDS.java fails due to Unrecognized VM option 'ObjectAlignmentInBytes=64' on x86_32
Reviewed-by: dholmes, iklam
2021-09-02 04:10:46 +00:00
Valerie Peng
1a5a2b6b15 8271745: Correct block size for KW,KWP mode and use fixed IV for KWP mode for SunJCE
Reviewed-by: xuelei, mullan
2021-09-01 22:17:49 +00:00
Joe Darcy
2f01a6f8b6 8273157: Add convenience methods to Messager
Reviewed-by: jjg
2021-09-01 20:28:05 +00:00
Coleen Phillimore
9689f61520 8272788: Nonleaf ranked locks should not be safepoint_check_never
Reviewed-by: eosterlund, pchilanomate
2021-09-01 18:39:10 +00:00
Daniel D. Daugherty
4ee0dacecd 8273248: ProblemList java/lang/instrument/BootClassPath/BootClassPathTest.sh on all configs
Reviewed-by: naoto
2021-09-01 17:45:39 +00:00
Ioi Lam
655ea6d42a 8270489: Support archived heap objects in EpsilonGC
Reviewed-by: shade, ccheung
2021-09-01 16:50:11 +00:00
Coleen Phillimore
dacd197897 8273217: Make ParHeapInspectTask _safepoint_check_never
Reviewed-by: dholmes, pchilanomate
2021-09-01 16:48:06 +00:00
Yi Yang
02822e1398 8272377: assert preconditions that are ensured when created in add_final_edges
Reviewed-by: thartmann, kvn
2021-09-01 10:41:03 +00:00
Fairoz Matte
a58cf16509 8272563: assert(is_double_stack() && !is_virtual()) failed: type check
Reviewed-by: thartmann, iveresov
2021-09-01 10:12:25 +00:00
Matthias Baesken
0e14bf70cf 8273176: handle latest VS2019 in abstract_vm_version
Reviewed-by: kevinw, dholmes
2021-09-01 07:59:10 +00:00
Jie Fu
f1c5e26e48 8273206: jdk/jfr/event/gc/collection/TestG1ParallelPhases.java fails after JDK-8159979
Reviewed-by: dholmes, ayang
2021-09-01 07:55:20 +00:00
Jan Lahoda
e600fe1a1a 8272618: Unnecessary Attr.visitIdent.noOuterThisPath
Reviewed-by: vromero
2021-09-01 06:06:17 +00:00
David Holmes
2fce7cb4d2 8272963: Update the java manpage markdown source
Reviewed-by: ysuenaga
2021-08-31 23:51:10 +00:00
Alex Menkov
18a731a3e4 8269770: nsk tests should start IOPipe channel before launch debuggee - Debugee.prepareDebugee
Reviewed-by: sspitsyn, kevinw
2021-08-31 22:43:12 +00:00
Daniel D. Daugherty
9c392d008a 8273197: ProblemList 2 jtools tests due to JDK-8273187
8273198: ProblemList java/lang/instrument/BootClassPath/BootClassPathTest.sh due to JDK-8273188

Reviewed-by: naoto
2021-08-31 20:12:19 +00:00
Weijun Wang
3d657eb0a6 8262186: Call X509KeyManager.chooseClientAlias once for all key types
Reviewed-by: xuelei
2021-08-31 20:07:02 +00:00
Thomas Schatzl
c1e0aac846 8273186: Remove leftover comment about sparse remembered set in G1 HeapRegionRemSet
Reviewed-by: ayang
2021-08-31 19:46:55 +00:00
bobpengxie
683e30db79 8273169: java/util/regex/NegativeArraySize.java failed after JDK-8271302
Reviewed-by: jiefu, serb
2021-08-31 17:31:03 +00:00
Ioi Lam
1996f649a3 8273092: Sort classlist in JDK image
Reviewed-by: redestad, ihse, dfuchs
2021-08-31 16:33:02 +00:00
Thomas Schatzl
ba3587e524 8273144: Remove unused top level "Sample Collection Set Candidates" logging
Reviewed-by: iwalulya, ayang
2021-08-31 15:45:56 +00:00
Vicente Romero
75d987a0dd 8262095: NPE in Flow$FlowAnalyzer.visitApply: Cannot invoke getThrownTypes because tree.meth.type is null
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Reviewed-by: jlahoda
2021-08-31 15:40:17 +00:00
Brian Burkhalter
e551852801 8271225: Add floorDivExact() method to java.lang.[Strict]Math
Reviewed-by: darcy
2021-08-31 14:42:14 +00:00
Ivan Walulya
e67125512f 8237567: Refactor G1-specific code in shared VM_CollectForMetadataAllocation
Reviewed-by: ayang, tschatzl
2021-08-31 13:32:31 +00:00
Albert Mingkun Yang
9bc7cc5651 8273033: SerialGC: remove obsolete comments
Reviewed-by: sjohanss, tschatzl
2021-08-31 12:51:27 +00:00
Ivan Walulya
841e3943c4 8159979: During initial mark, preparing all regions for marking may take a significant amount of time
Reviewed-by: tschatzl, ayang
2021-08-31 12:30:14 +00:00
Claes Redestad
98fa53357a 8273100: Improve AbstractStringBuilder.append(String) when using CompactStrings
Reviewed-by: rriggs, alanb
2021-08-31 11:32:33 +00:00
Yumin Qi
9732fbe428 8273153: Consolidate file_exists into os:file_exists
Reviewed-by: iklam, ccheung
2021-08-31 00:24:05 +00:00
Vicente Romero
0609421d4b 8272347: ObjectMethods::bootstrap should specify NPE if any argument except lookup is null
Reviewed-by: mchung, chegar
2021-08-30 21:16:46 +00:00
Naoto Sato
7fc8540907 8260265: UTF-8 by Default
Reviewed-by: alanb, rriggs
2021-08-30 21:13:59 +00:00
Ioi Lam
32048536e9 8272343: Remove MetaspaceClosure::FLAG_MASK
Reviewed-by: ccheung, minqi
2021-08-30 21:06:26 +00:00
Ian Graves
fecefb8541 8271302: Regex Test Refresh
Reviewed-by: bchristi, smarks
2021-08-30 17:37:29 +00:00
Fernando Guallini
f18c0fac11 8271560: sun/security/ssl/DHKeyExchange/LegacyDHEKeyExchange.java still fails due to "An established connection was aborted by the software in your host machine"
Reviewed-by: xuelei, rhalade
2021-08-30 17:28:49 +00:00
Sandhya Viswanathan
5aaa20f898 8272861: Add a micro benchmark for vector api
Reviewed-by: psandoz
2021-08-30 16:48:28 +00:00
Thomas Schatzl
7a01ba6528 8272093: Extract evacuation failure injection from G1CollectedHeap
Reviewed-by: ayang, sjohanss
2021-08-30 15:54:47 +00:00
Coleen Phillimore
98b9d98032 8272797: Mutex with rank safepoint_check_never imply allow_vm_block
Reviewed-by: dholmes, pchilanomate
2021-08-30 14:47:24 +00:00
Stefan Johansson
f11e099a14 8272651: G1 heap region info print order changed by JDK-8269914
Reviewed-by: tschatzl, iwalulya, ayang
2021-08-30 14:37:03 +00:00
Magnus Ihse Bursie
fbffa54efe 8270438: "Cores to use" output in configure is misleading
Reviewed-by: erikj
2021-08-30 13:41:54 +00:00
Andrey Turbanov
5185dbde67 8273098: Unnecessary Vector usage in java.naming
Reviewed-by: aefimov, dfuchs
2021-08-30 13:12:42 +00:00
Lutz Schmidt
276b07b36a 8271490: [ppc] [s390]: Crash in JavaThread::pd_get_top_frame_for_profiling
Reviewed-by: stuefe, mbaesken
2021-08-30 12:31:08 +00:00
Thomas Schatzl
bb7aa1c6a4 8272161: Make evacuation failure data structures local to collection
Reviewed-by: iwalulya, sjohanss
2021-08-30 12:08:12 +00:00
Magnus Ihse Bursie
9ede41bf89 8229031: Exporting CLASSPATH from shell can result in build failures
Reviewed-by: erikj
2021-08-30 11:37:47 +00:00
Michael McMahon
16e83058ca 8273059: Redundant Math.min call in Http2ClientImpl#getConnectionWindowSize
Reviewed-by: dfuchs
2021-08-30 08:57:17 +00:00
Aleksey Shipilev
f55d5ab517 8272838: Move CriticalJNI tests out of tier1
Reviewed-by: dholmes
2021-08-30 06:41:40 +00:00
Guoxiong Li
a9188f237e 8268894: forged ASTs can provoke an AIOOBE at com.sun.tools.javac.jvm.ClassWriter::writePosition
Reviewed-by: vromero
2021-08-29 07:26:08 +00:00
Bradford Wetmore
1fb798d320 8272915: (doc) package-info typo in extLink
Reviewed-by: xuelei
2021-08-27 23:01:51 +00:00
Raffaello Giulietti
51167846cb 8273091: Doc of [Strict]Math.floorDiv(long,int) erroneously documents int in @return tag
Reviewed-by: darcy, bpb
2021-08-27 22:48:52 +00:00
Jim Laskey
e66c8afb59 8272866: java.util.random package summary contains incorrect mixing function in table
Reviewed-by: rriggs
2021-08-27 18:45:52 +00:00
Brian Burkhalter
d1aeca117c 8272541: Incorrect overflow test in Toom-Cook branch of BigInteger multiplication
Reviewed-by: darcy
2021-08-27 16:09:28 +00:00
Brian Burkhalter
dfeb4132e4 8272964: java/nio/file/Files/InterruptCopy.java fails with java.lang.RuntimeException: Copy was not interrupted
Reviewed-by: dfuchs
2021-08-27 16:08:29 +00:00
Magnus Ihse Bursie
a033aa5a3d 8273072: Avoid using += in configure
Reviewed-by: dholmes, jiefu
2021-08-27 13:53:33 +00:00
Coleen Phillimore
b92214a8d0 8272480: Remove Mutex::access rank
Reviewed-by: dholmes, eosterlund
2021-08-27 13:51:39 +00:00
Magnus Ihse Bursie
596b075591 8258465: Headless build fails due to missing X11 headers on linux
Reviewed-by: shade
2021-08-27 13:13:36 +00:00
Kim Barrett
a49a0c5866 8273062: Generation::refs_discovery_is_xxx functions are unused
Reviewed-by: ayang
2021-08-27 10:32:46 +00:00
Aleksey Shipilev
ebd62bc043 8272846: Move some runtime/Metaspace/elastic/ tests out of tier1
Reviewed-by: mseledtsov, stuefe
2021-08-27 09:35:26 +00:00
Lin Zang
46684a4efa 8262386: resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java timed out
Reviewed-by: cjplummer, sspitsyn
2021-08-27 09:02:23 +00:00
Tobias Hartmann
c925c7f3e8 8273020: LibraryCallKit::sharpen_unsafe_type does not handle narrow oop array
Reviewed-by: chagedorn
2021-08-27 05:38:24 +00:00
Bradford Wetmore
76baace2f0 8273045: Fix misc javadoc bugs in the java.security and javax.net.ssl code
Reviewed-by: xuelei
2021-08-27 05:11:25 +00:00
Yasumasa Suenaga
b16a04ebf7 8271186: Add UL option to replace newline char
Reviewed-by: iklam, dholmes
2021-08-27 05:06:52 +00:00
Andrey Turbanov
d732c3091f 8272863: Replace usages of Collections.sort with List.sort call in public java modules
Reviewed-by: serb, dfuchs, naoto
2021-08-26 20:47:02 +00:00
Naoto Sato
fe7d70886c 8272473: Parsing epoch seconds at a DST transition with a non-UTC parser is wrong
Reviewed-by: joehw, rriggs, iris, lancea, scolebourne
2021-08-26 16:21:23 +00:00
Ivan Walulya
845e1cea8d 8272983: G1 Add marking details to eager reclaim logging
Reviewed-by: tschatzl, ayang
2021-08-26 13:41:46 +00:00
Alexey Ushakov
c420530549 8272481: [macos] javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.java fails
Reviewed-by: serb, jdv
2021-08-26 12:56:03 +00:00
Prasanta Sadhukhan
e43a907f20 8271315: Redo: Nimbus JTree renderer properties persist across L&F changes
Reviewed-by: aivanov
2021-08-26 12:04:10 +00:00
Albert Mingkun Yang
11c9fd8298 8272975: ParallelGC: add documentation to heap memory layout
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Reviewed-by: tschatzl, kbarrett
2021-08-26 10:06:38 +00:00
Magnus Ihse Bursie
b94fd32f08 8272859: Javadoc external links should only have feature version number in URL
Reviewed-by: iris
2021-08-26 10:00:21 +00:00
Tobias Hartmann
9166ba37b6 8272973: Incorrect compile command used by TestIllegalArrayCopyBeforeInfiniteLoop
Reviewed-by: chagedorn, jiefu, neliasso
2021-08-26 08:34:46 +00:00
Alexey Ushakov
49b2789a49 8262751: RenderPipelineState assertion error in J2DDemo
Reviewed-by: jdv
2021-08-26 07:28:26 +00:00
Aleksey Shipilev
a3308af060 8272836: Limit run time for java/lang/invoke/LFCaching tests
Reviewed-by: redestad, iignatyev
2021-08-26 06:51:19 +00:00
David Holmes
c4c76e2f34 8272811: Document the effects of building with _GNU_SOURCE in os_posix.hpp
Reviewed-by: iklam
2021-08-26 02:24:36 +00:00
Igor Veresov
673ce7efa5 8272873: C2: Inlining should not depend on absolute call site counts
Reviewed-by: kvn, vlivanov, dlong
2021-08-26 00:17:15 +00:00
Zhengyu Gu
7212561dd1 8267188: gc/stringdedup/TestStringDeduplicationInterned.java fails with Shenandoah
Reviewed-by: rkennke, shade
2021-08-25 20:16:25 +00:00
Ivan Walulya
e36cbd8e05 8242847: G1 should not clear mark bitmaps with no marks
Reviewed-by: tschatzl, sjohanss
2021-08-25 14:33:34 +00:00
Coleen Phillimore
2ef6871118 8272447: Remove 'native' ranked Mutex
Reviewed-by: stuefe, pchilanomate
2021-08-25 13:25:34 +00:00
Ivan Walulya
63e062fb78 8236176: Parallel GC SplitInfo comment should be updated for shadow regions
Reviewed-by: tschatzl, ayang
2021-08-25 10:18:54 +00:00
Aleksey Shipilev
c5a271259d 8272850: Drop zapping values in the Zap* option descriptions
Reviewed-by: stefank, kbarrett
2021-08-25 08:05:47 +00:00
Albert Mingkun Yang
1e3e333f73 8272884: Make VoidClosure::do_void pure virtual
Reviewed-by: kbarrett, dholmes
2021-08-25 07:33:18 +00:00
casparcwang
0f428ca533 8272570: C2: crash in PhaseCFG::global_code_motion
Co-authored-by: Hui Shi <hshi@openjdk.org>
Reviewed-by: thartmann, rbackman
2021-08-25 01:16:48 +00:00
Andy Herrick
b17b821a57 8272639: jpackaged applications using microphone on mac
Reviewed-by: almatvee, serb
2021-08-24 20:59:43 +00:00
Smita Kamath
0e7288ffbf 8267125: AES Galois CounterMode (GCM) interleaved implementation using AVX512 + VAES instructions
Co-authored-by: Smita Kamath <svkamath@openjdk.org>
Co-authored-by: Tomasz Kantecki <tomasz.kantecki@intel.com>
Co-authored-by: Anthony Scarpino <ascarpino@openjdk.org>
Reviewed-by: kvn, valeriep
2021-08-24 18:48:31 +00:00
Igor Ignatyev
6ace805f8c 8272856: DoubleFlagWithIntegerValue uses G1GC-only flag
Reviewed-by: dholmes, kbarrett
2021-08-24 18:43:54 +00:00
Calvin Cheung
c547ead493 8272916: Copyright year was modified unintentionally in jlink.properties and ImagePluginStack.java
Reviewed-by: bpb
2021-08-24 18:09:56 +00:00
Brian Burkhalter
aaedac635a 8265261: java/nio/file/Files/InterruptCopy.java fails with java.lang.RuntimeException: Copy was not interrupted
Reviewed-by: dfuchs
2021-08-24 17:04:35 +00:00
Jonathan Gibbons
d34f17c697 8270195: Add missing links between methods of JavaFX properties
Reviewed-by: kcr, hannesw
2021-08-24 16:10:25 +00:00
Calvin Cheung
f608e81ad8 8264322: Generate CDS archive when creating custom JDK image
Reviewed-by: mchung, alanb
2021-08-24 15:31:20 +00:00
Phil Race
f681d6544a 8272806: [macOS] "Apple AWT Internal Exception" when input method is changed
Reviewed-by: serb, dmarkov, azvegint
2021-08-24 15:23:15 +00:00
Albert Mingkun Yang
6e0328f582 8272725: G1: add documentation on needs_remset_update_t vs bool
Reviewed-by: tschatzl, iwalulya
2021-08-24 15:21:14 +00:00
Sergei Ustimenko
2309b7d8fc 8253178: Replace LinkedList Impl in net.http.FilterFactory
Reviewed-by: dfuchs
2021-08-24 14:49:56 +00:00
Jonathan Gibbons
94f5e441f6 8271258: @param with non-ascii variable names produces incorrect results
Reviewed-by: hannesw
2021-08-24 14:41:24 +00:00
Patricio Chilano Mateo
7454306920 8272526: Cleanup ThreadStateTransition class
Reviewed-by: dholmes, rehn, coleenp
2021-08-24 14:09:59 +00:00
Kim Barrett
0597cde87d 8221360: Eliminate Shared_DirtyCardQ_lock
Reviewed-by: tschatzl, iwalulya
2021-08-24 13:17:37 +00:00
Albert Mingkun Yang
928b9724c9 8271930: Simplify end_card calculation in G1BlockOffsetTablePart::verify
Reviewed-by: tschatzl, iwalulya
2021-08-24 12:14:07 +00:00
Aleksey Shipilev
7f80683cfe 8272783: Epsilon: Refactor tests to improve performance
Reviewed-by: tschatzl
2021-08-24 10:08:18 +00:00
Prasanta Sadhukhan
22ef4f0653 5015261: NPE may be thrown if JDesktopIcon is set to null on a JInternalFrame
Reviewed-by: serb, prr, aivanov
2021-08-24 04:02:03 +00:00
Maxim Kartashev
9bc023220f 8269223: -Xcheck:jni WARNINGs working with fonts on Linux
Reviewed-by: prr, serb
2021-08-23 20:28:17 +00:00
Vladimir Ivanov
2ff4c01d42 8271600: C2: CheckCastPP which should closely follow Allocate is sunk of a loop
Reviewed-by: chagedorn, roland
2021-08-23 20:23:41 +00:00
Tom Rodriguez
ad92033fcc 8272736: [JVMCI] Add API for reading and writing JVMCI thread locals
Reviewed-by: kvn, dnsimon
2021-08-23 18:43:34 +00:00
Igor Ignatyev
709b5910c3 8272553: several hotspot runtime/CommandLine tests don't check exit code
Reviewed-by: dholmes
2021-08-23 18:03:13 +00:00
Jonathan Gibbons
1884072474 8265253: javac -Xdoclint:all gives "no comment" warning for code that can't be commented
Reviewed-by: hannesw
2021-08-23 17:31:29 +00:00
Albert Mingkun Yang
594e5161b4 8272778: Consolidate is_instance and is_instance_inlined in java_lang_String
Reviewed-by: coleenp, redestad
2021-08-23 14:00:31 +00:00
Ivan Walulya
d542745dbe 8267894: Skip work for empty regions in G1 Full GC
Reviewed-by: sjohanss, tschatzl
2021-08-23 12:58:48 +00:00
Tongbao Zhang
741f58c18c 8272417: ZGC: fastdebug build crashes when printing ClassLoaderData
Reviewed-by: stefank, pliden
2021-08-23 11:54:52 +00:00
Matthias Baesken
b7f75c0a73 8271142: package help is not displayed for missing X11/extensions/Xrandr.h
Reviewed-by: clanger
2021-08-23 06:39:46 +00:00
Denghui Dong
e8a289e77d 8272609: Add string deduplication support to SerialGC
Reviewed-by: kbarrett, iwalulya
2021-08-23 06:12:01 +00:00
Alan Hayward
b690f29699 8269687: pauth_aarch64.hpp include name is incorrect
Reviewed-by: rbackman, ngasson
2021-08-23 01:41:27 +00:00
David Holmes
f77a1a156f 8272472: StackGuardPages test doesn't build with glibc 2.34
Reviewed-by: shade, stuefe, jiefu
2021-08-22 01:13:27 +00:00
Sean Coffey
04a806ec86 8270344: Session resumption errors
Reviewed-by: xuelei
2021-08-20 20:10:42 +00:00
lawrence.andrews
d85560ed0f 8267161: Write automated test case for JDK-4479161
Reviewed-by: serb, aivanov
2021-08-20 17:45:46 +00:00
Jie Fu
1ea437a4b8 8272720: Fix the implementation of loop unrolling heuristic with LoopPercentProfileLimit
Reviewed-by: thartmann, rbackman
2021-08-20 12:43:29 +00:00
Vladimir Ivanov
86add21a85 8223923: C2: Missing interference with mismatched unsafe accesses
Reviewed-by: thartmann
2021-08-20 12:41:20 +00:00
Zhengyu Gu
c701f6e538 8272739: Misformatted error message in EventHandlerCreator
Reviewed-by: mgronlun
2021-08-20 12:23:10 +00:00
Ivan Walulya
fb1dfc6f49 8267185: Add string deduplication support to ParallelGC
Reviewed-by: kbarrett, ayang
2021-08-20 11:30:00 +00:00
Hamlin Li
d874e9616f 8271579: G1: Move copy before CAS in do_copy_to_survivor_space
8272070: G1: Simplify age calculation after JDK-8271579

Co-authored-by: shoubing ma <mashoubing1@huawei.com>
Reviewed-by: tschatzl, ayang
2021-08-20 11:26:11 +00:00
Roman Kennke
92bde6738a 8271946: Cleanup leftovers in Space and subclasses
Reviewed-by: stefank, tschatzl
2021-08-20 10:12:01 +00:00
Daniel Fuchs
db9834ff82 8258951: java/net/httpclient/HandshakeFailureTest.java failed with "RuntimeException: Not found expected SSLHandshakeException in java.io.IOException"
Reviewed-by: chegar
2021-08-20 09:05:00 +00:00
Aleksey Shipilev
a81e5e9353 8272654: Mark word accesses should not use Access API
Reviewed-by: stefank, rkennke, eosterlund
2021-08-20 07:34:41 +00:00
Thejasvi Voniadka
4bd37c3153 8272708: [Test]: Cleanup: test/jdk/security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java no longer needs ocspEnabled
Reviewed-by: rhalade
2021-08-20 03:15:04 +00:00
Phil Race
ddcd851c43 8272602: [macos] not all KEY_PRESSED events sent when control modifier is used
Reviewed-by: kizune
2021-08-20 00:08:42 +00:00
Jie Fu
d007be0952 8272700: [macos] Build failure with Xcode 13.0 after JDK-8264848
Reviewed-by: dholmes
2021-08-19 23:11:31 +00:00
Roman Kennke
f4be211ae2 8270041: Consolidate oopDesc::cas_forward_to() and oopDesc::forward_to_atomic()
Reviewed-by: stefank, kbarrett
2021-08-19 19:54:19 +00:00
Roman Kennke
b40e8f0f9e 8271951: Consolidate preserved marks overflow stack in SerialGC
Reviewed-by: tschatzl, kbarrett
2021-08-19 19:51:34 +00:00
Roman Kennke
7eccbd4fde 8266519: Cleanup resolve() leftovers from BarrierSet et al
Reviewed-by: kbarrett, stefank
2021-08-19 19:50:25 +00:00
Weijun Wang
9569159d25 8272674: Logging missing keytab file in Krb5LoginModule
Reviewed-by: coffeys
2021-08-19 19:02:22 +00:00
Andrey Turbanov
51c1b9a687 8272616: Strange code in java.text.DecimalFormat#applyPattern
Reviewed-by: bpb, naoto, iris
2021-08-19 15:57:18 +00:00
Roman Kennke
03b5e99d99 8272165: Consolidate mark_must_be_preserved() variants
Reviewed-by: tschatzl
2021-08-19 10:16:55 +00:00
Albert Mingkun Yang
ab41812951 8272576: G1: Use more accurate integer type for collection set length
Reviewed-by: iwalulya, sjohanss
2021-08-19 09:56:32 +00:00
Albert Mingkun Yang
82b2f21d17 8272579: G1: remove unnecesary null check for G1ParScanThreadStateSet::_states slots
Reviewed-by: iwalulya, kbarrett, sjohanss
2021-08-19 09:55:51 +00:00
Julia Boes
1c80f078f6 8272334: com.sun.net.httpserver.HttpExchange: Improve API doc of getRequestHeaders
Reviewed-by: dfuchs, michaelm, chegar
2021-08-19 09:09:36 +00:00
Jonathan Gibbons
6d3d47957e 8272667: substandard error messages from the docs build
Reviewed-by: darcy, iris
2021-08-18 23:40:44 +00:00
Ralf Schmelter
73da66ffb7 8272318: Improve performance of HeapDumpAllTest
Reviewed-by: lucy, sspitsyn
2021-08-18 18:30:26 +00:00
Vladimir Ivanov
96107e31df 8272573: Redundant unique_concrete_method_4 dependencies
Reviewed-by: kvn, thartmann
2021-08-18 16:45:29 +00:00
Harold Seigel
4d6593ce02 8272124: Cgroup v1 initialization causes NullPointerException when cgroup path contains colon
Reviewed-by: mseledtsov, sgehwolf
2021-08-18 14:24:58 +00:00
Claes Redestad
30b0f820ce 8272626: Avoid C-style array declarations in java.*
Reviewed-by: dfuchs, alanb
2021-08-18 10:47:03 +00:00
Vladimir Ivanov
e8f1219d6f 8271276: C2: Wrong JVM state used for receiver null check
Reviewed-by: kvn, thartmann
2021-08-18 10:31:24 +00:00
Christian Hagedorn
79a06df811 8272567: [IR Framework] Make AbstractInfo.getRandom() static
Reviewed-by: thartmann
2021-08-18 06:39:22 +00:00
Alexander Zuev
481c1f0549 8269951: [macos] Focus not painted in JButton when setBorderPainted(false) is invoked
Reviewed-by: serb, psadhukhan
2021-08-18 05:48:26 +00:00
Tobias Hartmann
5189047d09 8272558: IR Test Framework README misses some flags
Reviewed-by: chagedorn
2021-08-18 04:47:58 +00:00
Mikhailo Seledtsov
ec63957f9d 8272398: Update DockerTestUtils.buildJdkDockerImage()
Reviewed-by: iignatyev, hseigel
2021-08-17 23:22:44 +00:00
Vicente Romero
14623cde3a 8270835: regression after JDK-8261006
Reviewed-by: jlahoda
2021-08-17 20:47:36 +00:00
Igor Ignatyev
fe72197102 8272551: mark hotspot runtime/modules tests which ignore external VM flags
Reviewed-by: mseledtsov, jiefu
2021-08-17 19:37:45 +00:00
Igor Ignatyev
05d64da7f3 8272291: mark hotspot runtime/logging tests which ignore external VM flags
Reviewed-by: mseledtsov, dholmes
2021-08-17 19:36:44 +00:00
Brian Burkhalter
a68b5b9c1d 8272369: java/io/File/GetXSpace.java failed with "RuntimeException: java.nio.file.NoSuchFileException: /run/user/0"
Reviewed-by: alanb
2021-08-17 17:07:03 +00:00
Abdul Kolarkunnu
a199ebc017 8272581: sun/security/pkcs11/Provider/MultipleLogins.sh fails after JDK-8266182
Reviewed-by: weijun
2021-08-17 16:54:32 +00:00
Rajan Halade
1cbf41a87b 8225083: Remove Google certificate that is expiring in December 2021
Reviewed-by: xuelei, mullan
2021-08-17 16:01:42 +00:00
Jim Laskey
cf64c3e7e2 8272326: java/util/Random/RandomTestMoments.java had two Gaussian fails
Reviewed-by: rriggs, bpb
2021-08-17 15:53:41 +00:00
Albert Mingkun Yang
2ed7b709a1 8272521: Remove unused PSPromotionManager::_claimed_stack_breadth
Reviewed-by: kbarrett, iwalulya
2021-08-17 12:42:55 +00:00
Albert Mingkun Yang
2aaf795270 8272520: Inline GenericTaskQueue::initialize() to the constructor
Reviewed-by: kbarrett, iwalulya
2021-08-17 12:42:02 +00:00
Abdul Kolarkunnu
ed57cf1cf3 8266182: Automate manual steps listed in the test jdk/sun/security/pkcs12/ParamsTest.java
Reviewed-by: hchao, ssahoo, xuelei, weijun
2021-08-17 12:12:22 +00:00
Hannes Wallnöfer
0e3fde6c3c 8264274: Block tags in overview.html are ignored
Reviewed-by: jjg
2021-08-17 08:29:49 +00:00
lawrence.andrews
c5c84b8fdc 8270312: Error: Not a test or directory containing tests: java/awt/print/PrinterJob/XparColor.java
Reviewed-by: psadhukhan, jdv
2021-08-17 07:44:35 +00:00
Stefan Karlsson
df1427b72b 8272446: C1: Raw version of UnsafeGet generates load barriers
Reviewed-by: eosterlund, iveresov
2021-08-17 06:36:09 +00:00
Igor Ignatyev
989f39f810 8272552: mark hotspot runtime/cds tests which ignore external VM flags
Reviewed-by: mseledtsov, jiefu, dholmes, iklam
2021-08-17 03:45:26 +00:00
Zhengyu Gu
ee8bf10d32 8272327: Shenandoah: Avoid enqueuing duplicate string candidates
Reviewed-by: rkennke
2021-08-17 00:35:18 +00:00
Jonathan Gibbons
3fb19279da 8271227: Missing {@code } in com.sun.source.*
Reviewed-by: iris
2021-08-16 22:54:54 +00:00
Rajat Mahajan
a5ad7720d2 8272342: [TEST_BUG] java/awt/print/PrinterJob/PageDialogMarginTest.java catches all exceptions
Reviewed-by: aivanov, pbansal
2021-08-16 22:24:00 +00:00
Jonathan Gibbons
ae45592d33 8272374: doclint should report missing "body" comments
Reviewed-by: kcr, hannesw
2021-08-16 20:48:25 +00:00
Igor Ignatyev
b2c272d4e2 8272305: several hotspot runtime/modules don't check exit codes
Reviewed-by: dholmes, mseledtsov
2021-08-16 16:56:15 +00:00
Brian Burkhalter
82688258f6 8272297: FileInputStream should override transferTo() for better performance
Reviewed-by: alanb
2021-08-16 15:53:33 +00:00
Christian Hagedorn
3677734584 8271471: [IR Framework] Rare occurrence of "<!-- safepoint while printing -->" in PrintIdeal/PrintOptoAssembly can let tests fail
Reviewed-by: kvn, thartmann
2021-08-16 14:51:11 +00:00
Ivan Walulya
0a03481a65 8272231: G1: Refactor G1CardSet::get_card_set to return G1CardSetHashTableValue*
Reviewed-by: tschatzl, kbarrett
2021-08-16 13:09:48 +00:00
Ivan Walulya
83d0e128e3 8267833: Improve G1CardSetInlinePtr::add()
Reviewed-by: tschatzl, kbarrett
2021-08-16 13:08:36 +00:00
Albert Mingkun Yang
69cc588fce 8272235: G1: update outdated code root fixup
Reviewed-by: tschatzl, kbarrett
2021-08-16 09:40:56 +00:00
Hannes Wallnöfer
5db36cedc9 8272158: SoftReference related bugs under memory pressure
Reviewed-by: jjg
2021-08-16 07:46:29 +00:00
Albert Mingkun Yang
7a5b37b8ca 8272439: G1: add documentation to G1CardSetInlinePtr
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Reviewed-by: tschatzl, kbarrett
2021-08-16 07:35:43 +00:00
Albert Mingkun Yang
0209d9f382 8272461: G1: remove empty declaration of cleanup_after_scan_heap_roots
Reviewed-by: kbarrett
2021-08-16 07:34:32 +00:00
Ioi Lam
36e2ddad4d 8272348: Update CDS tests in anticipation of JDK-8270489
Reviewed-by: ccheung, minqi
2021-08-16 03:22:52 +00:00
Yi Yang
3f38a50c52 8271203: C2: assert(iff->Opcode() == Op_If || iff->Opcode() == Op_CountedLoopEnd || iff->Opcode() == Op_RangeCheck) failed: Check this code when new subtype is added
Reviewed-by: chagedorn, roland, thartmann
2021-08-16 02:30:57 +00:00
Phil Race
6a5241c3ad 8272491: Problem list javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.java on macos
Reviewed-by: pbansal
2021-08-15 16:50:38 +00:00
Alexey Ushakov
17b9350023 8266079: Lanai: AlphaComposite shows differences on Metal compared to OpenGL
Reviewed-by: serb
2021-08-14 10:40:37 +00:00
Marcus G K Williams
87d2761f1b 8271883: Math CopySign optimization for x86
Reviewed-by: jbhateja, sviswanathan, kvn
2021-08-14 00:34:51 +00:00
Xue-Lei Andrew Fan
6b8b160e37 8272396: mismatching debug output streams
Reviewed-by: mullan
2021-08-13 21:33:22 +00:00
Phil Race
0af645aa4f 8205138: Remove Applet references from Font2DTest
Reviewed-by: serb, psadhukhan
2021-08-13 19:30:20 +00:00
Daniel D. Daugherty
bd7f9b4fb9 8272459: ProblemList compiler/codecache/TestStressCodeBuffers.java on aarch64
Reviewed-by: iignatyev
2021-08-13 16:57:12 +00:00
Lance Andersen
717792c3b7 8263940: NPE when creating default file system when default file system provider is packaged as JAR file on class path
Reviewed-by: naoto, bpb, iris, joehw
2021-08-13 16:11:04 +00:00
Thomas Stuefe
d06d0b9e9d 8272112: Arena code simplifications
Reviewed-by: kbarrett, coleenp
2021-08-13 06:38:08 +00:00
Prasanta Sadhukhan
0c4be76f7f 8058704: Nimbus does not honor JTextPane background color
6789980: JEditorPane background color not honored with Nimbus L&F

Reviewed-by: aivanov, serb
2021-08-13 05:12:59 +00:00
Jatin Bhateja
020aec5318 8271366: [REDO] JDK-8266054 VectorAPI rotate operation optimization
Reviewed-by: sviswanathan, psandoz
2021-08-13 04:33:53 +00:00
Hui Shi
4d4ba5c5b4 8272116: Update PerfDisableSharedMem with FLAG_SET_ERGO in PerfMemory::create_memory_region
Reviewed-by: dholmes
2021-08-13 01:00:49 +00:00
Lin Zang
09ab86b40c 8269909: getStack method in hprof.parser.Reader should use try-with-resource
Reviewed-by: dholmes, cjplummer, sspitsyn
2021-08-12 23:16:24 +00:00
Xue-Lei Andrew Fan
e4766ee0aa 8272391: Undeleted debug information
Reviewed-by: wetmore
2021-08-12 19:28:01 +00:00
Brian Burkhalter
428d51694f 8140241: (fc) Data transfer from FileChannel to itself causes hang in case of overlap
Reviewed-by: alanb
2021-08-12 15:27:09 +00:00
Kim Barrett
93cab7d07d 8272315: Improve assert_different_registers
Reviewed-by: adinn, vlivanov, thartmann
2021-08-12 14:29:32 +00:00
Harold Seigel
9980b413da 8272107: Removal of Unsafe::defineAnonymousClass left a dangling C++ class
Reviewed-by: coleenp, iklam, dholmes
2021-08-12 13:56:41 +00:00
Coleen Phillimore
464e874a5c 8048190: NoClassDefFoundError omits original ExceptionInInitializerError
Reviewed-by: dholmes, iklam
2021-08-12 13:45:36 +00:00
Xiaohong Gong
7e14c3cc11 8272310: AArch64: Add missing changes for shared vector helper methods in m4 files
Reviewed-by: jiefu
2021-08-12 11:07:04 +00:00
Sergey Tsypanov
b29fbad940 8267844: Replace Integer/Long.valueOf() with Integer/Long.parse*() where applicable
Reviewed-by: redestad
2021-08-12 10:03:52 +00:00
Severin Gehwolf
d38b31438d 8272332: --with-harfbuzz=system doesn't add -lharfbuzz after JDK-8255790
Reviewed-by: prr
2021-08-12 08:52:24 +00:00
Claes Redestad
a15b659278 8271732: Regression in StringBuilder.charAt bounds checking
Reviewed-by: alanb, naoto
2021-08-12 07:01:53 +00:00
Sergey Bylokhov
ec2fc384e5 8272120: Avoid looking for standard encodings in "java." modules
Reviewed-by: alanb, dfuchs, naoto
2021-08-12 05:46:00 +00:00
Igor Ignatyev
bd27bb9cbe 8272345: macos doesn't check os::set_boot_path() result
Reviewed-by: dholmes
2021-08-12 03:45:44 +00:00
Alexey Semenyuk
44f137ff9c 8271170: Add unit test for what jpackage app launcher puts in the environment
Reviewed-by: almatvee, herrick
2021-08-11 23:39:50 +00:00
Alexey Semenyuk
cd2dbe5f00 8272328: java.library.path is not set properly by Windows jpackage app launcher
Reviewed-by: herrick, almatvee
2021-08-11 20:54:58 +00:00
Igor Veresov
9faab400b8 8272330: C2: Cleanup profile counter scaling
Reviewed-by: kvn
2021-08-11 20:19:36 +00:00
Igor Ignatyev
75a06421e5 8272335: runtime/cds/appcds/MoveJDKTest.java doesn't check exit codes
Reviewed-by: iklam
2021-08-11 19:38:52 +00:00
Jonathan Gibbons
9ba8a12cfb 8269774: doclint reports missing javadoc comments for JavaFX properties if the docs are on the property method
Reviewed-by: kcr, hannesw
2021-08-11 18:04:29 +00:00
Jonathan Gibbons
ec8d3badc8 8271159: [REDO] JDK-8249634 doclint should report implicit constructor as missing javadoc comments
Reviewed-by: darcy
2021-08-11 18:03:40 +00:00
Ivan Walulya
619422764d 8272228: G1: G1CardSetInlinePtr Fix tautological assertion
Reviewed-by: ayang, tschatzl
2021-08-11 14:33:23 +00:00
Ivan Walulya
cd1751c34e 8271884: G1CH::_expand_heap_after_alloc_failure is no longer needed
Reviewed-by: kbarrett, tschatzl
2021-08-11 11:56:30 +00:00
Per Liden
3f723ca457 8271862: C2 intrinsic for Reference.refersTo() is often not used
Reviewed-by: kbarrett, mchung
2021-08-11 11:09:59 +00:00
Per Liden
abebbe2335 8267186: Add string deduplication support to ZGC
Reviewed-by: eosterlund, kbarrett, stefank
2021-08-11 11:07:12 +00:00
Albert Mingkun Yang
0d0f2d07f7 8272216: G1: replace G1ParScanThreadState::_dest with a constant
Reviewed-by: kbarrett, tschatzl
2021-08-11 10:19:46 +00:00
Jan Lahoda
3215dbc8b8 8271928: ErroneousTree with start position -1
Reviewed-by: jlaskey, vromero
2021-08-11 08:54:20 +00:00
Christoph Göttschkes
adba09b91d 8272146: Disable Fibonacci test on memory constrained systems
Reviewed-by: dholmes, mseledtsov, shade
2021-08-11 08:48:18 +00:00
Xiaowei Lu
846cc88f94 8272138: ZGC: Adopt relaxed ordering for self-healing
Co-authored-by: Hao Tang <albert.th@alibaba-inc.com>
Reviewed-by: eosterlund, pliden
2021-08-11 08:42:37 +00:00
Hui Shi
5350b9901c 8272131: PhaseMacroExpand::generate_slow_arraycopy crash when clone null CallProjections.fallthrough_ioproj
Reviewed-by: neliasso, xliu, thartmann
2021-08-11 02:00:19 +00:00
Sergey Bylokhov
148935279d 8271718: Crash when during color transformation the color profile is replaced
Reviewed-by: prr
2021-08-10 22:22:42 +00:00
Dean Long
2a9acc31b8 8272050: typo in MachSpillCopyNode::implementation after JDK-8131362
Reviewed-by: kvn, thartmann
2021-08-10 21:30:54 +00:00
Alex Menkov
b62e742045 8213714: AttachingConnector/attach/attach001 failed due to "bind failed: Address already in use"
Reviewed-by: sspitsyn, cjplummer
2021-08-10 19:13:18 +00:00
Raffaello Giulietti
66d1faa784 8271601: Math.floorMod(int, int) and Math.floorMod(long, long) differ in their logic
Reviewed-by: bpb
2021-08-10 17:16:17 +00:00
Joe Darcy
57ae9fbe77 8140442: Add getOutermostTypeElement to javax.lang.model utility class
Reviewed-by: jlahoda
2021-08-10 16:49:49 +00:00
Martin Balao
67869b491a 8270137: Kerberos Credential Retrieval from Cache not Working in Cross-Realm Setup
Reviewed-by: weijun
2021-08-10 16:28:10 +00:00
Andrey Turbanov
35b399aca8 8269130: Replace usages of Collection.toArray() with Collection.toArray(T[]) to avoid redundant array copying
Reviewed-by: mullan, serb
2021-08-10 13:27:59 +00:00
Harold Seigel
2b05fae155 8260262: Use common code in function unmap_shared() in perfMemory_posix.cpp
Reviewed-by: stuefe, coleenp
2021-08-10 12:17:08 +00:00
Albert Mingkun Yang
f2599ad867 8272196: Remove unused class ParStrongRootsScope
Reviewed-by: tschatzl, pliden
2021-08-10 10:12:06 +00:00
Alan Hayward
1f8813495e 8271869: AArch64: build errors with GCC11 in frame::saved_oop_result
Reviewed-by: ngasson, aph
2021-08-10 08:29:52 +00:00
Matthias Baesken
089e83bf1b 8266490: Extend the OSContainer API to support the pids controller of cgroups
Reviewed-by: sgehwolf, lucy
2021-08-10 07:40:21 +00:00
Tobias Hartmann
2384e12888 8270098: ZGC: ZBarrierSetC2::clone_at_expansion fails with "Guard against surprises" assert
Reviewed-by: neliasso, kvn
2021-08-10 05:37:55 +00:00
Tobias Hartmann
d53d94b14d 8271925: ZGC: Arraycopy stub passes invalid oop to load barrier
Reviewed-by: neliasso, kvn
2021-08-10 05:36:52 +00:00
Igor Ignatyev
3b899ef7ff 8272168: some hotspot runtime/logging tests don't check exit code
Reviewed-by: jiefu
2021-08-10 05:11:09 +00:00
Hamlin Li
abdc1074dc 8270454: G1: Simplify region index comparison
Reviewed-by: kbarrett, ayang, tschatzl
2021-08-10 03:18:47 +00:00
Igor Ignatyev
eb6f3fe59d 8272169: runtime/logging/LoaderConstraintsTest.java doesn't build test.Empty
Reviewed-by: dholmes
2021-08-10 02:26:08 +00:00
Igor Ignatyev
9654fd73cd 8271892: mark hotspot runtime/PrintStringTableStats/PrintStringTableStatsTest.java test as ignoring external VM flags
Reviewed-by: dholmes
2021-08-10 02:12:38 +00:00
David Holmes
843943c204 8263567: gtests don't terminate the VM safely
Reviewed-by: stuefe, dcubed
2021-08-09 20:59:22 +00:00
Joe Darcy
7fc99cf9b6 8225488: Examine ExecutableType.getReceiverType behavior when source receiver parameter is absent
Reviewed-by: jjg
2021-08-09 18:33:34 +00:00
Phil Race
4548677e89 8268824: Remove unused jdk.accessibility APIs deprecated for removal in JDK 9
Reviewed-by: serb
2021-08-09 18:15:46 +00:00
Brian Burkhalter
b53828b7c2 8272047: java/nio/channels/FileChannel/Transfer2GPlus.java failed with Unexpected transfer size: 2147418112
Reviewed-by: naoto, alanb
2021-08-09 16:50:50 +00:00
Naoto Sato
41dc795d6c 8264792: The NumberFormat for locale sq_XK formats price incorrectly.
Reviewed-by: joehw, iris
2021-08-09 16:22:35 +00:00
Artem Semenov
9c6457f222 8267385: Create NSAccessibilityElement implementation for JavaComponentAccessibility
8262031: Create implementation for NSAccessibilityNavigableStaticText protocol
8264287: Create implementation for NSAccessibilityComboBox protocol peer
8264303: Create implementation for NSAccessibilityTabGroup protocol peer
8264292: Create implementation for NSAccessibilityList protocol peer
8267387: Create implementation for NSAccessibilityOutline protocol
8267388: Create implementation for NSAccessibilityTable protocol
8264286: Create implementation for NSAccessibilityColumn protocol peer
8264298: Create implementation for NSAccessibilityRow protocol peer
8264291: Create implementation for NSAccessibilityCell protocol peer

Reviewed-by: kizune, pbansal, serb
2021-08-09 16:21:35 +00:00
Phil Race
0ac2be9b35 8272123: Problem list 4 jtreg tests which regularly fail on macos-aarch64
Reviewed-by: jdv, psadhukhan
2021-08-09 15:58:18 +00:00
Ioi Lam
272fcb423a 8272113: Build compare script fails with differences in classlist
Reviewed-by: tschatzl, hseigel
2021-08-09 15:50:10 +00:00
Albert Mingkun Yang
2f7a46934c 8271931: Make AbortVMOnVMOperationTimeout more resilient to OS scheduling
Reviewed-by: shade, dholmes
2021-08-09 15:19:55 +00:00
Roman Kennke
a86ac0d1e3 8271939: Clean up primitive raw accessors in oopDesc
Reviewed-by: stefank, tschatzl
2021-08-09 10:31:31 +00:00
Hao Sun
b84a9c7b37 8271956: AArch64: C1 build failed after JDK-8270947
Reviewed-by: shade, ngasson
2021-08-09 09:38:13 +00:00
Jie Fu
38ff85c824 8271461: CompileCommand support for hidden class methods
Co-authored-by: Tianyelan <vhinf2047@gmail.com>
Reviewed-by: yyang, xliu, iklam
2021-08-06 23:33:32 +00:00
Igor Ignatyev
c495ede2c2 8272099: mark hotspot runtime/Monitor tests which ignore external VM flags
Reviewed-by: dcubed
2021-08-06 18:49:48 +00:00
Igor Ignatyev
e882087f7a 8271904: mark hotspot runtime/ClassFile tests which ignore external VM flags
Reviewed-by: dholmes
2021-08-06 16:36:50 +00:00
Daniel D. Daugherty
fa36e33437 8271513: support JavaThreadIteratorWithHandle replacement by new ThreadsList::Iterator
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Reviewed-by: kbarrett, dholmes, coleenp
2021-08-06 14:18:54 +00:00
Hamlin Li
cc61520803 8270842: G1: Only young regions need to redirty outside references in remset.
Reviewed-by: tschatzl
2021-08-06 14:16:11 +00:00
Daniel D. Daugherty
f4cf2f7cef 8272095: ProblemList java/nio/channels/FileChannel/Transfer2GPlus.java on linux-aarch64
Reviewed-by: alanb
2021-08-06 13:38:56 +00:00
Andy Herrick
0aca4f72ce 8271868: Warn user when using mac-sign option with unsigned app-image.
Reviewed-by: almatvee, asemenyuk
2021-08-06 12:24:58 +00:00
Christoph Göttschkes
b6a19f173b 8271128: InlineIntrinsics support for 32-bit ARM
Reviewed-by: shade
2021-08-06 10:23:18 +00:00
Albert Mingkun Yang
c2b7facea4 8271896: Remove unnecessary top address checks in BOT
Reviewed-by: tschatzl, iwalulya
2021-08-06 08:27:42 +00:00
Ioi Lam
e7b6f48182 8265602: -XX:DumpLoadedClassList should support custom loaders
Reviewed-by: ccheung, minqi
2021-08-06 05:58:48 +00:00
David Holmes
ea02dade43 8272067: Initial nroff manpage generation for JDK 18
Reviewed-by: darcy
2021-08-06 03:49:34 +00:00
Denghui Dong
adb0ae56ab 8261441: JFR: Filename expansion
Reviewed-by: jbachorik, egahlin
2021-08-06 02:11:55 +00:00
Jaikiran Pai
e38e365c70 8271208: Typo in ModuleDescriptor.read javadoc
Reviewed-by: alanb, iris
2021-08-06 01:30:45 +00:00
Jesper Wilhelmsson
14692d5ed0 Merge 2021-08-06 01:21:44 +00:00
Jonathan Gibbons
dfacda488b 8270872: Final nroff manpage update for JDK 17
Reviewed-by: darcy, mr, iris, naoto
2021-08-05 22:12:27 +00:00
Patricio Chilano Mateo
62e72adfa7 8271293: Monitor class should use ThreadBlockInVMPreprocess
Reviewed-by: dholmes, dcubed
2021-08-05 19:16:14 +00:00
Rajat Mahajan
cb36880281 8270116: Expand ButtonGroupLayoutTraversalTest.java to run in all LaFs, including Aqua on macOS
Reviewed-by: psadhukhan, aivanov
2021-08-05 17:41:33 +00:00
Igor Ignatyev
3ab95d1917 8271905: mark hotspot runtime/Metaspace tests which ignore external VM flags
Reviewed-by: stuefe
2021-08-05 16:32:11 +00:00
Brian Burkhalter
e2c5bfe083 8271308: (fc) FileChannel.transferTo() transfers no more than Integer.MAX_VALUE bytes in one call
Reviewed-by: alanb, vtewari
2021-08-05 16:10:04 +00:00
Daniel D. Daugherty
7234a433f8 8271953: fix mis-merge in JDK-8271878
Reviewed-by: jwilhelm, ctornqvi
2021-08-05 14:55:54 +00:00
Sergey Tsypanov
d7fc9e4171 8267840: Improve URLStreamHandler.parseURL()
Reviewed-by: dfuchs, redestad
2021-08-05 14:55:00 +00:00
Claes Redestad
55bd52a142 8271840: Add simple Integer.toString microbenchmarks
Reviewed-by: shade
2021-08-05 14:46:38 +00:00
Per Liden
18dd4d469d 8271121: ZGC: stack overflow (segv) when -Xlog:gc+start=debug
Reviewed-by: ayang, eosterlund
2021-08-05 12:40:40 +00:00
Julia Boes
685fc3c677 8270903: sun.net.httpserver.HttpConnection: Improve toString
Reviewed-by: chegar, vtewari
2021-08-05 09:42:16 +00:00
Markus Grönlund
90f85ff70f 8271588: JFR Recorder Thread crashed with SIGSEGV in write_klass
Reviewed-by: egahlin
2021-08-05 09:13:26 +00:00
Richard Reingruber
4abe531140 8271722: [TESTBUG] gc/g1/TestMixedGCLiveThreshold.java can fail if G1 Full GC uses >1 workers
Reviewed-by: ayang, tschatzl
2021-08-05 07:31:14 +00:00
Yi Yang
ea9a59520d 8270058: Use Objects.check{Index,FromIndexSize} for java.desktop
Reviewed-by: psadhukhan, pbansal, jdv
2021-08-05 06:39:20 +00:00
Prasanta Sadhukhan
64d18d45ef 4819544: SwingSet2 JTable Demo throws NullPointerException
Reviewed-by: pbansal, aivanov
2021-08-05 04:56:46 +00:00
Jesper Wilhelmsson
6c8441f075 8271878: UnProblemList jdk/jfr/event/gc/detailed/TestEvacuationFailedEvent.java in JDK18
Reviewed-by: dholmes
2021-08-05 01:42:32 +00:00
Jesper Wilhelmsson
7728423f8a 8271895: UnProblemList javax/swing/JComponent/7154030/bug7154030.java in JDK18
Reviewed-by: dholmes
2021-08-05 01:41:55 +00:00
Jesper Wilhelmsson
cd6b54ec40 Merge 2021-08-05 01:02:20 +00:00
Daniel D. Daugherty
f312f28b8b 8271863: ProblemList serviceability/sa/TestJmapCore.java on linux-x64 with ZGC
Backport-of: a007cb1a1d
2021-08-05 01:00:35 +00:00
Yasumasa Suenaga
a007cb1a1d 8271863: ProblemList serviceability/sa/TestJmapCore.java on linux-x64 with ZGC
Reviewed-by: dcubed
2021-08-04 23:42:43 +00:00
Daniel D. Daugherty
d62fbea7b4 8271898: disable os.release_multi_mappings_vm on macOS-X64
Reviewed-by: kbarrett
2021-08-04 21:06:23 +00:00
Igor Ignatyev
359c7084a1 8271893: mark hotspot runtime/PerfMemDestroy/PerfMemDestroy.java test as ignoring external VM flags
Reviewed-by: coleenp
2021-08-04 19:50:36 +00:00
Igor Ignatyev
a3b0143970 8271887: mark hotspot runtime/CDSCompressedKPtrs tests which ignore external VM flags
Reviewed-by: coleenp
2021-08-04 19:49:47 +00:00
Igor Ignatyev
6c17e6deb2 8271891: mark hotspot runtime/Safepoint tests which ignore external VM flags
Reviewed-by: coleenp
2021-08-04 19:46:13 +00:00
Igor Ignatyev
ff7431eafe 8271886: mark hotspot runtime/InvocationTests tests which ignore external VM flags
Reviewed-by: coleenp
2021-08-04 19:40:05 +00:00
Igor Ignatyev
cdf3d55c82 8271890: mark hotspot runtime/Dictionary tests which ignore external VM flags
Reviewed-by: coleenp
2021-08-04 19:39:12 +00:00
Daniel D. Daugherty
cebcc07b1b 8271894: ProblemList javax/swing/JComponent/7154030/bug7154030.java in JDK17
Reviewed-by: darcy
2021-08-04 19:23:25 +00:00
Joe Darcy
91bbe2fcbd 8271888: build error after JDK-8271599
Reviewed-by: psandoz, bpb
2021-08-04 18:48:53 +00:00
Sergey Bylokhov
6b55ef3b58 8271456: Avoid looking up standard charsets in "java.desktop" module
Reviewed-by: jdv, azvegint, aivanov
2021-08-04 18:44:18 +00:00
Jatin Bhateja
392fcc9df7 8271589: fatal error with variable shift count integer rotate operation.
Reviewed-by: kvn, sviswanathan
2021-08-04 17:49:17 +00:00
Raffaello Giulietti
9f1edafac4 8271599: Javadoc of floorDiv() and floorMod() families is inaccurate in some places
Reviewed-by: darcy, bpb
2021-08-04 17:16:40 +00:00
Daniel D. Daugherty
5f547e8c11 8271877: ProblemList jdk/jfr/event/gc/detailed/TestEvacuationFailedEvent.java in JDK17
Reviewed-by: darcy
2021-08-04 16:43:31 +00:00
Kim Barrett
452f7d764f 8271217: Fix race between G1PeriodicGCTask checks and GC request
Reviewed-by: iwalulya, tschatzl, lkorinth
2021-08-04 15:04:55 +00:00
Weijun Wang
221e4b9c61 8270797: ShortECDSA.java test is not complete
Reviewed-by: mullan
2021-08-04 13:37:52 +00:00
Ivan Walulya
0a27f264da 8265057: G1: Investigate removal of maintenance of two BOT thresholds
Reviewed-by: ayang, tschatzl
2021-08-04 13:04:39 +00:00
Thomas Stuefe
eec64f5587 8256844: Make NMT late-initializable
Reviewed-by: coleenp, zgu
2021-08-04 12:19:02 +00:00
Prasanta Sadhukhan
4df1bc4bc6 6350025: API documentation for JOptionPane using deprecated methods.
Reviewed-by: jdv
2021-08-04 11:38:07 +00:00
Erik Österlund
181483b90b 8271064: ZGC several jvm08 perf regressions after JDK-8268372
Reviewed-by: ayang, pliden, tschatzl
2021-08-04 10:28:47 +00:00
Jayathirth D V
efcdcc7fb7 8270893: IndexOutOfBoundsException while reading large TIFF file
Reviewed-by: prr, serb
2021-08-04 09:16:35 +00:00
Jie Fu
977b8c4e16 8271836: runtime/ErrorHandling/ClassPathEnvVar.java fails with release VMs
Reviewed-by: stuefe
2021-08-04 07:25:36 +00:00
Xubo Zhang
04134fcdaa 8264543: Cross modify fence optimization for x86
Reviewed-by: dholmes, tschatzl, sviswanathan
2021-08-04 05:43:58 +00:00
Igor Ignatyev
9e769090a0 8271824: mark hotspot runtime/CompressedOops tests which ignore external VM flags
Reviewed-by: dholmes
2021-08-04 05:19:33 +00:00
Igor Ignatyev
e49b7d958c 8271828: mark hotspot runtime/classFileParserBug tests which ignore external VM flags
Reviewed-by: dholmes
2021-08-04 05:18:10 +00:00
Igor Ignatyev
68f784778c 8271825: mark hotspot runtime/LoadClass tests which ignore external VM flags
Reviewed-by: dholmes
2021-08-04 05:17:14 +00:00
Igor Ignatyev
3d40cac8ce 8271821: mark hotspot runtime/MinimalVM tests which ignore external VM flags
Reviewed-by: dholmes
2021-08-04 05:16:22 +00:00
Igor Ignatyev
33ec3a4d95 8271744: mark hotspot runtime/getSysPackage tests which ignore external VM flags
Reviewed-by: dholmes
2021-08-04 04:53:20 +00:00
Igor Ignatyev
b48f31d381 8271743: mark hotspot runtime/jni tests which ignore external VM flags
Reviewed-by: dholmes
2021-08-04 04:51:46 +00:00
Thomas Stuefe
66c653c561 8271721: Split gc/g1/TestMixedGCLiveThreshold into separate tests
Reviewed-by: tschatzl, rrich
2021-08-04 04:11:12 +00:00
Igor Ignatyev
68dd828088 8271224: runtime/EnclosingMethodAttr/EnclMethodAttr.java doesn't check exit code
Reviewed-by: mseledtsov, dholmes
2021-08-04 02:22:07 +00:00
Igor Ignatyev
34ba70a71b 8269037: jsig/Testjsig.java doesn't have to be restricted to linux only
Reviewed-by: mseledtsov, dholmes
2021-08-04 02:19:01 +00:00
David Holmes
7e518f42c9 8269934: RunThese24H.java failed with EXCEPTION_ACCESS_VIOLATION in java_lang_Thread::get_thread_status
Reviewed-by: stuefe, dcubed, sspitsyn
2021-08-04 02:08:30 +00:00
Igor Ignatyev
659498a07f 8271829: mark hotspot runtime/Throwable tests which ignore external VM flags
Reviewed-by: jiefu
2021-08-04 01:59:33 +00:00
Igor Ignatyev
d3b40cb683 8271826: mark hotspot runtime/condy tests which ignore external VM flags
Reviewed-by: jiefu
2021-08-04 01:49:11 +00:00
Calvin Cheung
3435d299f7 8271003: hs_err improvement: handle CLASSPATH env setting longer than O_BUFLEN
Reviewed-by: dholmes, stuefe, iklam, minqi
2021-08-04 01:38:18 +00:00
Denghui Dong
43a6ba9677 8271726: JFR: should use equal() to check event fields in tests
Reviewed-by: egahlin
2021-08-04 01:35:26 +00:00
Weijun Wang
a8408708b0 8271616: oddPart in MutableBigInteger::mutableModInverse contains info on final result
Reviewed-by: bpb, darcy, valeriep
2021-08-04 00:02:59 +00:00
Andy Herrick
0199b03eb3 8271344: Windows product version issue
Reviewed-by: asemenyuk, almatvee
2021-08-03 18:51:23 +00:00
Joe Darcy
6594d3a3ef 8271711: Remove WorkArounds.isSynthetic
Reviewed-by: jjg
2021-08-03 18:13:17 +00:00
Coleen Phillimore
f15d6cbcaf 8271506: Add ResourceHashtable support for deleting selected entries
Reviewed-by: iklam, stuefe
2021-08-03 17:20:25 +00:00
Xiaowei Lu
bdb50cab79 8270347: ZGC: Adopt release-acquire ordering for forwarding table access
Co-authored-by: Hao Tang <albert.th@alibaba-inc.com>
Reviewed-by: eosterlund, pliden
2021-08-03 12:23:14 +00:00
Albert Mingkun Yang
b217a6ca0f 8271609: Misleading message for AbortVMOnVMOperationTimeoutDelay
Reviewed-by: dholmes
2021-08-03 11:43:41 +00:00
Jesper Wilhelmsson
c8add223a1 Merge
Reviewed-by: mikael
2021-08-03 01:01:25 +00:00
Yumin Qi
84f0231031 8271419: Refactor test code for modifying CDS archive contents
Reviewed-by: iklam, ccheung
2021-08-02 23:07:43 +00:00
Claes Redestad
0b9539405d 8271624: Avoid unnecessary ThreadGroup.checkAccess calls when creating Threads
Reviewed-by: rriggs
2021-08-02 22:59:48 +00:00
Claes Redestad
e621cffa4f 8271627: Use local field access in favor of Class.getClassLoader0
Reviewed-by: mchung
2021-08-02 22:37:56 +00:00
Igor Ignatyev
ada58d13f7 8067223: [TESTBUG] Rename Whitebox API package
Reviewed-by: dholmes, kvn
2021-08-02 20:44:18 +00:00
Saravana Kumar Vijayasekaran
f8fb571307 8271150: Remove EA from JDK 17 version string starting with Initial RC promotion on Aug 5, 2021(B34)
Reviewed-by: iris, mikael
2021-08-02 18:42:41 +00:00
Daniel D. Daugherty
0a85236396 8193559: ugly DO_JAVA_THREADS macro should be replaced
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Reviewed-by: eosterlund, ayang, kbarrett, dholmes
2021-08-02 16:01:27 +00:00
Daniel D. Daugherty
db950ca41f 8271348: Add stronger sanity check of thread state when polling for safepoint/handshakes
Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Reviewed-by: dholmes, pchilanomate
2021-08-02 16:00:13 +00:00
Lance Andersen
3e3051e2ee 8251329: (zipfs) Files.walkFileTree walks infinitely if zip has dir named "." inside
Reviewed-by: alanb, naoto
2021-08-02 15:47:16 +00:00
Claes Redestad
7a4c754e5d 8271611: Use SecurityConstants.ACCESS_PERMISSION in MethodHandles
Reviewed-by: rriggs
2021-08-02 15:34:56 +00:00
Aleksey Shipilev
e74537f924 8271605: Update JMH devkit to 1.32
Reviewed-by: redestad, ecaspole
2021-08-02 15:05:57 +00:00
Sergey Tsypanov
249d641889 8263561: Re-examine uses of LinkedList
Reviewed-by: redestad
2021-08-02 12:50:38 +00:00
Sergey Tsypanov
6a3f8343bc 8268113: Re-use Long.hashCode() where possible
Reviewed-by: redestad
2021-08-02 12:49:41 +00:00
Sergey Tsypanov
2536e4342e 8270160: Remove redundant bounds check from AbstractStringBuilder.charAt()
Reviewed-by: redestad
2021-08-02 12:48:35 +00:00
Sergey Tsypanov
6c4c48faea 8266972: Use String.concat() in j.l.Class where invokedynamic-based String concatenation is not available
Reviewed-by: redestad
2021-08-02 12:47:09 +00:00
Sergey Tsypanov
72145f3b94 8269665: Clean-up toString() methods of some primitive wrappers
Reviewed-by: redestad
2021-08-02 12:46:00 +00:00
Jesper Wilhelmsson
7cc1eb3e57 Merge 2021-07-30 22:30:23 +00:00
Rajan Halade
4bc9b04984 8263059: security/infra/java/security/cert/CertPathValidator/certification/ComodoCA.java fails due to revoked cert
Reviewed-by: mullan
2021-07-30 20:29:18 +00:00
Rajan Halade
d6bb846159 8248899: security/infra/java/security/cert/CertPathValidator/certification/QuoVadisCA.java fails, Certificate has been revoked
Reviewed-by: mullan
2021-07-30 20:16:32 +00:00
Jatin Bhateja
71ca0c08f0 8270848: Redundant unsafe opmask register allocation in some instruction patterns.
Reviewed-by: sviswanathan, kvn
2021-07-30 18:28:30 +00:00
Andrew Haley
6c68ce2d39 8270947: AArch64: C1: use zero_words to initialize all objects
Reviewed-by: ngasson, adinn
2021-07-30 18:02:11 +00:00
Thomas Stuefe
cd7e30ef84 8271242: Add Arena regression tests
Reviewed-by: mseledtsov, coleenp
2021-07-30 16:42:40 +00:00
Sergey Chernyshev
5b3c418249 8270321: Startup regressions in 18-b5 caused by JDK-8266310
Reviewed-by: mchung, alanb
2021-07-30 16:10:25 +00:00
Prasanta Sadhukhan
baf7797b09 8049301: Suspicious use of string identity checks in JComponent.setUIProperty
Reviewed-by: azvegint
2021-07-30 15:37:30 +00:00
Sean Mullan
89f5c96d63 8232066: Remove outdated code/methods from PKIX implementation
Reviewed-by: weijun
2021-07-30 12:43:20 +00:00
Christian Hagedorn
9856ace828 8268963: [IR Framework] Some default regexes matching on PrintOptoAssembly in IRNode.java do not work on all platforms
Reviewed-by: kvn, thartmann
2021-07-30 12:28:57 +00:00
Jan Lahoda
b59418f47d 8270060: (jdeprscan) tools/jdeprscan/tests/jdk/jdeprscan/TestRelease.java failed with class file for jdk.internal.util.random.RandomSupport not found
Reviewed-by: sundar, vromero, darcy
2021-07-30 07:58:51 +00:00
Roland Westrelin
e351de3bd6 8271272: C2: assert(!had_error) failed: bad dominance
Reviewed-by: kvn, thartmann, chagedorn
2021-07-30 07:28:04 +00:00
David Holmes
4f42eb6601 8269523: runtime/Safepoint/TestAbortOnVMOperationTimeout.java failed when expecting 'VM operation took too long'
Reviewed-by: shade, mseledtsov
2021-07-30 04:03:11 +00:00
Chris Plummer
6180cf1f0d 8271512: ProblemList serviceability/sa/sadebugd/DebugdConnectTest.java due to 8270326
Reviewed-by: dcubed
2021-07-30 01:01:52 +00:00
Chris Plummer
77fbd99f79 8270341: Test serviceability/dcmd/gc/HeapDumpAllTest.java timed-out
Reviewed-by: dcubed
2021-07-30 00:57:53 +00:00
Chris Plummer
a1b5b818c5 8271507: ProblemList SA tests that are failing with ZGC due to JDK-8248912
Reviewed-by: dcubed
2021-07-30 00:56:55 +00:00
Jesper Wilhelmsson
048fb2cb17 Merge 2021-07-29 21:49:16 +00:00
Roger Riggs
286d313635 8271489: (doc) Clarify Filter Factory example
Reviewed-by: iris, kcr, naoto, bpb
2021-07-29 20:22:02 +00:00
Emmanuel Bourg
d09b028407 8271396: Spelling errors
Reviewed-by: tschatzl, chegar, iris, psadhukhan, cjplummer
2021-07-29 16:03:31 +00:00
Christian Hagedorn
489e5fd12a 8268019: C2: assert(no_dead_loop) failed: dead loop detected
Reviewed-by: kvn, thartmann
2021-07-29 09:31:22 +00:00
Roland Westrelin
6afcf5f5a2 8270886: Crash in PhaseIdealLoop::verify_strip_mined_scheduling
Reviewed-by: kvn, thartmann
2021-07-29 07:34:20 +00:00
Jesper Wilhelmsson
a0504cff9f Merge 2021-07-29 01:07:57 +00:00
Rajan Halade
2ec45dc2dd 8225082: Remove IdenTrust certificate that is expiring in September 2021
Reviewed-by: shade, mullan
2021-07-29 00:22:09 +00:00
bobpengxie
25f00d787c 8269851: OperatingSystemMXBean getProcessCpuLoad reports incorrect process cpu usage in containers
Co-authored-by: Severin Gehwolf <sgehwolf@openjdk.org>
Reviewed-by: sgehwolf
2021-07-28 23:12:44 +00:00
Igor Ignatyev
20d2dc1f35 8271403: mark hotspot runtime/memory tests which ignore external VM flags
Reviewed-by: dholmes
2021-07-28 23:12:03 +00:00
Igor Ignatyev
e593e3de4c 8271402: mark hotspot runtime/os tests which ignore external VM flags
Reviewed-by: dholmes
2021-07-28 23:11:11 +00:00
Xin Liu
41b4c19086 8271353: PerfDataManager::destroy crashes in VM_Exit
Reviewed-by: dholmes, stuefe, minqi
2021-07-28 23:07:42 +00:00
Ioi Lam
357947acd8 8270061: Change parameter order of ResourceHashtable
Reviewed-by: coleenp, stuefe
2021-07-28 20:39:16 +00:00
Daniel D. Daugherty
7bf72ce301 8271412: ProblemList javax/sound/midi/Sequencer/Looping.java
8271413: ProblemList 2 locale tests on macOS-x64

Reviewed-by: naoto
2021-07-28 18:52:55 +00:00
Dean Long
034788a02c 8270925: replay dump using CICrashAt does not include inlining data
Reviewed-by: kvn, thartmann
2021-07-28 18:50:21 +00:00
Fernando Guallini
9711033780 8209776: Refactor jdk/security/JavaDotSecurity/ifdefs.sh to plain java test
Reviewed-by: rhalade
2021-07-28 18:29:55 +00:00
Liam Miller-Cushon
60c11fef00 8261088: Repeatable annotations without @Target cannot have containers that target module declarations
Reviewed-by: jfranck
2021-07-28 18:21:19 +00:00
Patricio Chilano Mateo
6878b05f8f 8271251: JavaThread::java_suspend() fails with "fatal error: Illegal threadstate encountered: 6"
Reviewed-by: dholmes, dcubed
2021-07-28 16:59:21 +00:00
Prasanta Sadhukhan
dcdb1b6aaa 8137101: [TEST_BUG] javax/swing/plaf/basic/BasicHTML/4251579/bug4251579.java failure due to timing
Reviewed-by: azvegint
2021-07-28 16:12:47 +00:00
Igor Ignatyev
c8ae7e5b03 8271174: runtime/ClassFile/UnsupportedClassFileVersion.java can be run in driver mode
Reviewed-by: mseledtsov, dholmes
2021-07-28 15:38:26 +00:00
Kim Barrett
5fcf72086f 8271352: Extend jcc erratum mitigation to additional processors
Reviewed-by: thartmann, eosterlund
2021-07-28 15:31:14 +00:00
Christoph Göttschkes
6e1da6440b 8270908: TestParallelRefProc fails on single core machines
Reviewed-by: tschatzl, kbarrett
2021-07-28 14:49:02 +00:00
Christoph Göttschkes
a066c7bed0 8270086: ARM32-softfp: Do not load CONSTANT_double using the condy helper methods in the interpreter
Reviewed-by: shade
2021-07-28 13:18:19 +00:00
Yi Yang
072fe486c9 8270901: Typo PHASE_CPP in CompilerPhaseType
Reviewed-by: jiefu
2021-07-28 08:03:29 +00:00
Vladimir Kozlov
d7b5cb6889 8271368: [BACKOUT] JDK-8266054 VectorAPI rotate operation optimization
Reviewed-by: dholmes, iklam
2021-07-28 06:58:36 +00:00
Tejpal Rebari
ecd445562f 8266510: Nimbus JTree default tree cell renderer does not use selected text color
Reviewed-by: psadhukhan, pbansal
2021-07-28 04:29:27 +00:00
Jatin Bhateja
d994b93e21 8266054: VectorAPI rotate operation optimization
Reviewed-by: psandoz, sviswanathan
2021-07-28 02:18:17 +00:00
Yi Yang
ed1cb24027 8271118: C2: StressGCM should have higher priority than frequency-based policy
Reviewed-by: iveresov, kvn
2021-07-28 02:17:30 +00:00
Nick Gasson
9bc52afa48 8271323: [TESTBUG] serviceability/sa/ClhsdbCDSCore.java fails with -XX:TieredStopAtLevel=1
Reviewed-by: cjplummer, kvn
2021-07-28 01:58:02 +00:00
Nick Gasson
752b6df34c 8261236: C2: ClhsdbJstackXcompStress test fails when StressGCM is enabled
Reviewed-by: never, kvn
2021-07-28 01:54:33 +00:00
Jesper Wilhelmsson
a50161b750 Merge 2021-07-28 00:36:16 +00:00
Igor Ignatyev
f1e15c8c8f 8271350: runtime/Safepoint tests use OutputAnalyzer::shouldMatch instead of shouldContaint
Reviewed-by: mseledtsov, dholmes
2021-07-27 23:20:19 +00:00
Hannes Wallnöfer
fbe28e4ee1 8270866: NPE in DocTreePath.getTreePath()
Reviewed-by: jjg
2021-07-27 19:28:54 +00:00
Weijun Wang
90cd2fa164 8270859: Post JEP 411 refactoring: client libs with maximum covering > 10K
Reviewed-by: serb
2021-07-27 17:34:19 +00:00
Markus Grönlund
f662127390 8270491: SEGV at read_string_field(oopDesc*, char const*, JavaThread*)+0x54
Reviewed-by: egahlin
2021-07-27 17:14:04 +00:00
Bradford Wetmore
c8af8238b4 8267485: Remove the dependency on SecurityManager in JceSecurityManager.java
Reviewed-by: mchung
2021-07-27 17:11:13 +00:00
Roman Kennke
ea49691f1d 8270794: Avoid loading Klass* twice in TypeArrayKlass::oop_size()
Reviewed-by: shade, coleenp
2021-07-27 16:37:31 +00:00
Sean Mullan
fc80a6b493 8270946: X509CertImpl.getFingerprint should not return the empty String
Reviewed-by: weijun
2021-07-27 13:49:03 +00:00
Thomas Stuefe
45d277feb0 8270308: Arena::Amalloc may return misaligned address on 32-bit
Reviewed-by: coleenp, kbarrett
2021-07-27 04:21:56 +00:00
Igor Ignatyev
cea7bc2dea 8271223: two runtime/ClassFile tests don't check exit code
Reviewed-by: dholmes
2021-07-27 02:59:40 +00:00
David Holmes
fde183130b 8212961: [TESTBUG] vmTestbase/nsk/stress/jni/ native code cleanup
Reviewed-by: stuefe, iignatyev
2021-07-27 02:49:34 +00:00
Ian Graves
bb508e1303 8269753: Misplaced caret in PatternSyntaxException's detail message
Reviewed-by: prappo
2021-07-27 02:25:30 +00:00
Jaikiran Pai
c3d8e9228d 8190753: (zipfs): Accessing a large entry (> 2^31 bytes) leads to a negative initial size for ByteArrayOutputStream
Reviewed-by: lancea
2021-07-27 01:57:13 +00:00
Jesper Wilhelmsson
eb6da88817 Merge 2021-07-27 00:57:58 +00:00
Dean Long
fcc7d59b99 8269342: CICrashAt=1 does not always catch first Java method
Reviewed-by: kvn, thartmann
2021-07-26 22:09:17 +00:00
Alex Menkov
8785737ba5 8269616: serviceability/dcmd/framework/VMVersionTest.java fails with Address already in use error
Reviewed-by: sspitsyn, kevinw
2021-07-26 20:16:32 +00:00
Andreas Woess
3aadae2077 8271140: Fix native frame handling in vframeStream::asJavaVFrame()
Reviewed-by: dnsimon, kvn, never
2021-07-26 19:47:34 +00:00
Andrey Turbanov
b8f79a7ff7 8268873: Unnecessary Vector usage in java.base
Reviewed-by: mullan
2021-07-26 18:18:56 +00:00
Jim Laskey
b76a83888b 8269150: UnicodeReader not translating \u005c\\u005d to \\]
Reviewed-by: jjg, jlahoda, darcy
2021-07-26 18:04:28 +00:00
Brian Burkhalter
0b12e7c82c 8075806: divideExact is missing in java.lang.Math
Reviewed-by: darcy
2021-07-26 17:19:53 +00:00
Igor Ignatyev
7ddabbff74 8271175: runtime/jni/FindClassUtf8/FindClassUtf8.java doesn't have to be run in othervm
Reviewed-by: dholmes
2021-07-26 17:19:33 +00:00
Igor Ignatyev
3c27f91986 8271222: two runtime/Monitor tests don't check exit code
Reviewed-by: dholmes
2021-07-26 17:18:26 +00:00
Naoto Sato
efa63dc1c6 8171382: java.time.Duration missing isPositive method
Reviewed-by: rriggs, joehw, iris, bpb, scolebourne
2021-07-26 16:33:16 +00:00
Andrey Turbanov
ee5536183a 8265474: Dubious 'null' assignment in CompactByteArray.expand
Reviewed-by: alanb, naoto
2021-07-26 16:31:13 +00:00
Aleksey Shipilev
515113d858 8269924: Shenandoah: Introduce weak/strong marking asserts
Reviewed-by: rkennke
2021-07-26 14:42:14 +00:00
Kim Barrett
f2c359a882 8271215: Fix data races in G1PeriodicGCTask
Reviewed-by: iwalulya, shade
2021-07-26 14:23:47 +00:00
Christian Hagedorn
36aefa351a 8270447: [IR Framework] Add missing compilation level restriction when using FlipC1C2 stress option
Reviewed-by: kvn, thartmann
2021-07-26 07:54:22 +00:00
Xiaohong Gong
e4295ccfcd 8270519: Move several vector helper methods to shared header file
Reviewed-by: jiefu, njian
2021-07-26 04:52:10 +00:00
Clive Verghese
e627caec84 8270317: Large Allocation in CipherSuite
Reviewed-by: xuelei, simonis
2021-07-24 10:14:53 +00:00
Alexander Zvegintsev
049b2ad4df 8015886: java/awt/Focus/DeiconifiedFrameLoosesFocus/DeiconifiedFrameLoosesFocus.java sometimes failed on ubuntu
Reviewed-by: kizune, serb
2021-07-24 08:14:05 +00:00
Jesper Wilhelmsson
0dcfc42f23 Merge 2021-07-24 01:06:15 +00:00
Igor Veresov
7468bbcd64 8266988: compiler/jvmci/compilerToVM/IsMatureTest.java fails with Unexpected isMature state for multiple times invoked method: expected false to equal true
Reviewed-by: kvn
2021-07-23 22:18:51 +00:00
Coleen Phillimore
286106dd2a 8271219: [REDO] JDK-8271063 Print injected fields for InstanceKlass
Reviewed-by: dcubed, fparain
2021-07-23 20:52:45 +00:00
Ian Graves
a1c0a6aafb 8199594: Add doc describing how (?x) ignores spaces in character classes
Reviewed-by: darcy, naoto, iris, lancea, bpb
2021-07-23 19:17:02 +00:00
Vladimir Kozlov
4ed548b3ee 8268261: C2: assert(n != __null) failed: Bad immediate dominator info.
Reviewed-by: iveresov, vlivanov
2021-07-23 18:51:25 +00:00
Alexander Zuev
8adf008b15 8269984: [macos] JTabbedPane title looks like disabled
Reviewed-by: kcr, psadhukhan
2021-07-23 17:36:44 +00:00
Daniel D. Daugherty
ec71e2d891 8271221: [BACKOUT] JDK-8271063 Print injected fields for InstanceKlass
Reviewed-by: coleenp
2021-07-23 15:53:49 +00:00
Igor Ignatyev
e90ed6cc38 8271173: serviceability/jvmti/GetObjectSizeClass.java doesn't check exit code
Reviewed-by: dholmes
2021-07-23 15:53:48 +00:00
Igor Ignatyev
b4c6229fd4 8271189: runtime/handshake/HandshakeTimeoutTest.java can be run in driver mode
Reviewed-by: dholmes
2021-07-23 15:32:42 +00:00
Rajan Halade
f4b3ee5dca 8270280: security/infra/java/security/cert/CertPathValidator/certification/LetsEncryptCA.java OCSP response error
Reviewed-by: mullan
2021-07-23 15:03:45 +00:00
Rajan Halade
45abbeed2f 8243543: jtreg test security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java fails
Reviewed-by: mullan
2021-07-23 14:18:55 +00:00
Pavel Rappo
c9251db175 8271209: Fix doc comment typos in JavadocTokenizer
Reviewed-by: jlaskey
2021-07-23 14:05:37 +00:00
Albert Mingkun Yang
96247ae8fb 8270187: G1: Remove ConcGCThreads constraint
Reviewed-by: kbarrett, iwalulya
2021-07-23 13:52:55 +00:00
Coleen Phillimore
9b27df6a4f 8271063: Print injected fields for InstanceKlass
Reviewed-by: fparain, hseigel, yyang
2021-07-23 12:23:12 +00:00
Kim Barrett
0cc4bb729e 8270870: Simplify G1ServiceThread
Reviewed-by: tschatzl, iwalulya
2021-07-23 12:14:45 +00:00
Thomas Schatzl
8c8e3a0df2 8271163: G1 uses wrong degree of MT processing since JDK-8270169
Reviewed-by: kbarrett, ayang
2021-07-23 11:56:52 +00:00
David Holmes
8a789b71fe 8263840: PeriodicTask should declare its destructor virtual
Reviewed-by: xliu, kbarrett
2021-07-23 11:40:19 +00:00
Roman Kennke
f22619032d 8270894: Use acquire semantics in ObjectSynchronizer::read_stable_mark()
Reviewed-by: dholmes
2021-07-23 10:42:00 +00:00
Thomas Schatzl
ea182b5c6e 8271060: Merge G1CollectedHeap::determine_start_concurrent_mark_gc and G1Policy::decide_on_conc_mark_initiation
Reviewed-by: ayang, kbarrett
2021-07-23 09:51:14 +00:00
Matthias Baesken
fb85960015 8271149: remove unreferenced functions from EncodingSupport_md.c
Reviewed-by: alanb
2021-07-23 06:38:47 +00:00
Jaikiran Pai
8156ff609b 8271147: java/nio/file/Path.java javadoc typo
Reviewed-by: iris
2021-07-23 04:06:59 +00:00
Jesper Wilhelmsson
9935440ede Merge 2021-07-23 01:41:14 +00:00
Daniel D. Daugherty
a7d30123f0 8271165: ProblemList serviceability/dcmd/gc/HeapDumpAllTest.java on X64
8271166: ProblemList applications/jcstress/copy.java on Linux-X64

Reviewed-by: darcy
2021-07-22 23:56:22 +00:00
Igor Ignatyev
e3800e6497 8271162: runtime/StackTrace/LargeClassTest.java can be run in driver mode
Reviewed-by: dholmes
2021-07-22 23:54:28 +00:00
Igor Ignatyev
ee93cef8aa 8271158: runtime/handshake/HandshakeTimeoutTest.java test doesn't check exit code
Reviewed-by: dcubed
2021-07-22 23:53:36 +00:00
Igor Ignatyev
84be910e1d 8271169: runtime/Safepoint/TestAbortVMOnSafepointTimeout.java can be run in driver mode
Reviewed-by: dholmes
2021-07-22 23:21:39 +00:00
Igor Ignatyev
2d165a2bdf 8271160: runtime/jni/checked/TestCheckedJniExceptionCheck.java doesn't set -Djava.library.path
Reviewed-by: dcubed, dholmes
2021-07-22 22:15:25 +00:00
Alexey Semenyuk
7165b3f105 8271155: Wrong path separator in env variable
Reviewed-by: herrick, kcr, iris, almatvee
2021-07-22 22:14:31 +00:00
Daniel D. Daugherty
9b93d816c1 8271161: [BACKOUT] JDK-8249634 doclint should report implicit constructor as missing javadoc comments
Reviewed-by: iignatyev
2021-07-22 21:15:20 +00:00
Brian Burkhalter
1362e09479 8211002: test/jdk/java/lang/Math/PowTests.java skips testing for non-corner-case values
Reviewed-by: darcy
2021-07-22 20:35:05 +00:00
Joe Darcy
ecc37b06f2 8270916: Update java.lang.annotation.Target for changes in JLS 9.6.4.1
Reviewed-by: bpb, naoto
2021-07-22 19:50:23 +00:00
Alexey Semenyuk
984003d5c9 8268974: GetJREPath() JLI function fails to locate libjava.so if not standard Java launcher is used
Reviewed-by: almatvee, herrick, alanb
2021-07-22 18:53:51 +00:00
Jonathan Gibbons
c1c404896c 8249634: doclint should report implicit constructor as missing javadoc comments
Reviewed-by: hannesw
2021-07-22 18:52:19 +00:00
Leonid Mesnik
09e5321763 8225313: serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorStatObjectCorrectnessTest.java failed with Unexpected high difference percentage
Reviewed-by: dholmes, kevinw
2021-07-22 18:19:16 +00:00
Leonid Mesnik
258f188bff 8270961: [TESTBUG] Move GotWrongOOMEException into vm.share.gc package
Reviewed-by: kbarrett, tschatzl
2021-07-22 18:18:14 +00:00
Leonid Mesnik
3cadc36060 8270336: [TESTBUG] Fix initialization in NonbranchyTree
Reviewed-by: kbarrett, tschatzl
2021-07-22 18:17:09 +00:00
Igor Ignatyev
4812e53791 8271094: runtime/duplAttributes/DuplAttributesTest.java doesn't check exit code
Reviewed-by: jiefu, dholmes
2021-07-22 17:14:30 +00:00
Igor Ignatyev
6a9ab6a2cf 8271093: remove deadcode from runtime/Thread/TestThreadDumpSMRInfo.java test
Reviewed-by: jiefu, dholmes, dcubed
2021-07-22 17:13:26 +00:00
Thomas Schatzl
c2ed336828 8270912: Clean up G1CollectedHeap::process_discovered_references()
Reviewed-by: iwalulya, kbarrett
2021-07-22 15:20:32 +00:00
Thomas Schatzl
8e27d4e8ce 8271043: Rename G1CollectedHeap::g1mm()
Reviewed-by: kbarrett, iwalulya
2021-07-22 14:38:28 +00:00
Patricio Chilano Mateo
e7f9009315 8270085: Suspend during block transition may deadlock if lock held
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Reviewed-by: dcubed, dholmes, coleenp
2021-07-22 14:30:19 +00:00
Daniel D. Daugherty
39b486db6d 8271126: ProblemList runtime/InvocationTests/invokevirtualTests.java
Backport-of: d1257d54f9
2021-07-22 14:04:34 +00:00
Jamsheed Mohammed C M
d1257d54f9 8271126: ProblemList runtime/InvocationTests/invokevirtualTests.java
Reviewed-by: thartmann
2021-07-22 12:04:55 +00:00
Julia Boes
50bb7313a7 8270286: com.sun.net.httpserver.spi.HttpServerProvider: remove use of deprecated API
Reviewed-by: chegar
2021-07-22 09:45:49 +00:00
Tobias Hartmann
4119a52c4b 8270461: ZGC: Invalid oop passed to ZBarrierSetRuntime::load_barrier_on_oop_array
Reviewed-by: chagedorn, kvn
2021-07-22 05:59:12 +00:00
Prasanta Sadhukhan
9131a8f5f2 8267940: [macos] java/awt/print/Dialog/DialogOwnerTest.java fails
Reviewed-by: azvegint, prr
2021-07-22 04:29:20 +00:00
Thomas Stuefe
6096dd9765 8268893: jcmd to trim the glibc heap
Reviewed-by: simonis, dholmes
2021-07-22 04:07:10 +00:00
Jesper Wilhelmsson
c36755dedf Merge 2021-07-22 00:46:18 +00:00
Jamsheed Mohammed C M
89f7998aa7 8266347: assert(Dependencies::is_concrete_root_method(fm, ctxk) == Dependencies::is_concrete_method(m, ctxk)) failed: mismatch
Reviewed-by: vlivanov, thartmann
2021-07-21 20:28:57 +00:00
Igor Veresov
e1051ae069 8264066: Enhance compiler validation
Reviewed-by: ahgross, kvn, rhalade, thartmann
2021-07-21 20:28:57 +00:00
Sean Mullan
add995be46 8265201: JarFile.getInputStream not validating invalid signed jars
Reviewed-by: pkoppula, coffeys
2021-07-21 20:28:56 +00:00
Rahul Yadav
ca6b222c97 8258432: Improve File Transfers
Reviewed-by: michaelm, aefimov, dfuchs, chegar, ahgross, rhalade
2021-07-21 20:28:56 +00:00
Jamsheed Mohammed C M
a3acce5210 8264079: Improve abstractions
Reviewed-by: vlivanov, ahgross, thartmann, rhalade
2021-07-21 20:28:56 +00:00
Joe Wang
138f59806f 8262380: Enhance XML processing passes
Reviewed-by: lancea, naoto, ahgross, rhalade
2021-07-21 20:28:56 +00:00
Conor Cleary
0e6c01163f 8262967: Improve Zip file support
Reviewed-by: ahgross, rhalade, aefimov
2021-07-21 20:28:56 +00:00
Weijun Wang
e48af0069e 8264460: Improve NTLM support
Reviewed-by: xuelei
2021-07-21 20:28:56 +00:00
Patrick Concannon
b87e526af1 8256491: Better HTTP transport
Reviewed-by: dfuchs, michaelm, rhalade, ahgross
2021-07-21 20:28:56 +00:00
Phil Race
1c8b9727b7 8262477: Enhance String Conclusions
Reviewed-by: rhalade, mschoene, psadhukhan, jdv, serb
2021-07-21 20:28:56 +00:00
Sergey Bylokhov
9accf7c894 8262403: Enhanced data transfers
Reviewed-by: rhalade, prr, vdyakov, ahgross
2021-07-21 20:28:55 +00:00
Weijun Wang
ef9315bead 8260967: Better jar file validation
Reviewed-by: hchao, valeriep
2021-07-21 20:28:55 +00:00
Hai-May Chao
fc38331f44 8260960: Signs of jarsigner signing
Reviewed-by: weijun, rhalade
2021-07-21 20:28:55 +00:00
Naoto Sato
175b65c0a1 8262410: Enhanced rules for zones
Reviewed-by: rriggs, rhalade
2021-07-21 20:28:55 +00:00
Phil Race
7b6410f213 8260453: Improve Font Bounding
Reviewed-by: rhalade, psadhukhan, mschoene, serb
2021-07-21 20:28:55 +00:00
Vicente Romero
7ad6c23c32 8256157: Improve bytecode assembly
Reviewed-by: jlahoda, rhalade, mschoene
2021-07-21 20:28:55 +00:00
Igor Ignatyev
9b177a7486 8268612: a few runtime/memory tests don't check exit code
Reviewed-by: dholmes, mseledtsov
2021-07-21 19:47:03 +00:00
Ioi Lam
0790f04d8a 8271015: Split cds/SharedBaseAddress.java test into smaller parts
Reviewed-by: ccheung, minqi
2021-07-21 19:07:07 +00:00
Ioi Lam
024c4027d8 8271014: Refactor HeapShared::is_archived_object()
Reviewed-by: ccheung, minqi
2021-07-21 18:49:19 +00:00
Mandy Chung
ddce47cd3c 8270949: Make dynamically generated classes with the class file version of the current release
Reviewed-by: alanb
2021-07-21 18:09:38 +00:00
Leonid Mesnik
b7245c6164 8269849: vmTestbase/gc/gctests/PhantomReference/phantom002/TestDescription.java failed with "OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects"
Reviewed-by: kbarrett
2021-07-21 18:07:43 +00:00
Alexander Zvegintsev
6ce52e6277 8159904: [TEST_BUG] Failure on solaris of java/awt/Window/MultiWindowApp/MultiWindowAppTest.java
Reviewed-by: prr
2021-07-21 16:29:56 +00:00
Daniel D. Daugherty
08c52fd33c 8271070: ProblemList 3 client tests on Linux-X64
Reviewed-by: prr
2021-07-21 16:13:38 +00:00
Thomas Schatzl
57611b3021 8270991: G1 Full GC always performs heap verification after JDK-8269295
Reviewed-by: iwalulya, kbarrett
2021-07-21 15:41:34 +00:00
Matthias Baesken
cd8783c08e 8270820: remove unused stiFileTableIndex from SDE.c
Reviewed-by: cjplummer, sspitsyn
2021-07-21 06:41:02 +00:00
Rado Smogura
1f51e13ea7 8270147: Increase stride size allowing unrolling more loops
Reviewed-by: kvn, iveresov
2021-07-21 05:05:13 +00:00
Ioi Lam
7dd19af259 8270803: Reduce CDS API verbosity
Reviewed-by: minqi, ccheung
2021-07-21 03:52:19 +00:00
Fernando Guallini
6346793c64 8269933: test/jdk/javax/net/ssl/compatibility/JdkInfo incorrect verification of protocol and cipher support
Reviewed-by: xuelei, rhalade
2021-07-21 03:38:40 +00:00
Jesper Wilhelmsson
1eeb1791ab Merge
Reviewed-by: jvernee
2021-07-21 00:24:17 +00:00
Jesper Wilhelmsson
61359c46a7 8270993: Missing forward declaration of ZeroFrame
Reviewed-by: kvn
2021-07-21 00:17:31 +00:00
Daniel D. Daugherty
8e8e87a765 8268223: Problemlist vmTestbase/nsk/jdi/HiddenClass/events/events001.java
Backport-of: 1e1039a7c8
2021-07-20 21:55:38 +00:00
Jorn Vernee
845c31dc4b 8269240: java/foreign/stackwalk/TestAsyncStackWalk.java test failed with concurrent GC
Reviewed-by: vlivanov, dholmes
2021-07-20 13:10:42 +00:00
Tobias Hartmann
38694aa970 8270939: ProblemList java/lang/invoke/RicochetTest.java until JDK-8251969 is fixed
Reviewed-by: chagedorn
2021-07-20 09:45:17 +00:00
Corey Ashford
754352f4c9 8270340: Base64 decodeBlock intrinsic for Power64 needs cleanup
Reviewed-by: ogatak, mdoerr
2021-07-20 08:07:11 +00:00
Yi Yang
0cec11d3eb 8270307: C2: assert(false) failed: bad AD file after JDK-8267687
Co-authored-by: Kuai Wei <kuaiwei.kw@alibaba-inc.com>
Reviewed-by: kvn, thartmann
2021-07-20 06:10:58 +00:00
David Holmes
8cd0769ef2 8270875: Deprecate the FilterSpuriousWakeups flag so it can be removed
Reviewed-by: kbarrett
2021-07-20 05:55:06 +00:00
Alexander Zuev
534f00510e 8268284: javax/swing/JComponent/7154030/bug7154030.java fails with "Exception: Failed to hide opaque button"
Reviewed-by: serb
2021-07-20 03:31:22 +00:00
Calvin Cheung
00195b85ed 8265604: Support unlinked classes in dynamic CDS archive
Reviewed-by: minqi, iklam
2021-07-20 02:06:42 +00:00
Kim Barrett
7f35e5bac9 8270869: G1ServiceThread may not terminate
Reviewed-by: ayang, tschatzl
2021-07-20 00:27:28 +00:00
Jesper Wilhelmsson
c3519c3e20 Merge 2021-07-19 23:12:55 +00:00
Joe Darcy
f644365441 8269689: Update --release 17 symbol information for JDK 17 build 31
Reviewed-by: jlahoda
2021-07-19 17:23:29 +00:00
Kim Barrett
3fc761d97d 8269032: Stringdedup tests are failing if the ergonomically select GC does not support it
Reviewed-by: tschatzl, lkorinth
2021-07-19 13:43:46 +00:00
Thomas Schatzl
a8f1542715 8270455: Remove unused JFR tracer related code in G1CollectedHeap
Reviewed-by: ayang, kbarrett
2021-07-19 09:30:06 +00:00
Roland Westrelin
c1304519b5 8269752: C2: assert(false) failed: Bad graph detected in build_loop_late
Reviewed-by: chagedorn, kvn
2021-07-19 07:31:28 +00:00
Koichi Sakata
edff55607b 8263385: IGV: Graph is not opened in the window that has focus.
Reviewed-by: rrich, chagedorn
2021-07-19 05:46:04 +00:00
David Holmes
e7cdfebbee 8270862: Fix problem list entries for 32-bit
Reviewed-by: sspitsyn
2021-07-17 07:42:14 +00:00
Ioi Lam
f8ec3b68f3 8270801: Print VM arguments with java -Xlog:arguments
Reviewed-by: dholmes, xliu, stuefe, minqi
2021-07-17 04:52:47 +00:00
Jesper Wilhelmsson
a5c9094fdb Merge 2021-07-17 02:06:19 +00:00
Phil Race
2dddcce29b 8270858: Problem List java/awt/Window/MultiWindowApp/MultiWindowAppTest.java on Linux
Reviewed-by: mikael, pbansal
2021-07-16 20:02:08 +00:00
Calvin Cheung
58f1ada271 8269636: Change outputStream's print_raw() and print_raw_cr() second parameter to size_t type
Reviewed-by: iklam, minqi
2021-07-16 19:22:49 +00:00
Christoph Langer
1350e2bd22 8270556: Exclude security/infra/java/security/cert/CertPathValidator/certification/LetsEncryptCA
Reviewed-by: mbaesken
2021-07-16 19:02:50 +00:00
Harold Seigel
67dc1c5bf3 8270837: fix typos in test TestSigParse.java
Reviewed-by: jiefu
2021-07-16 14:02:12 +00:00
Ivan Walulya
1d8d72d2c2 8270540: G1: Refactor range checking in G1BlockOffsetTablePart::block_start* to asserts
Reviewed-by: ayang, tschatzl
2021-07-16 12:00:23 +00:00
Jan Lahoda
90c219f37b 8270547: java.util.Random contains unnecessary @SuppressWarnings("exports")
Reviewed-by: darcy, bpb
2021-07-16 08:54:04 +00:00
David Holmes
4927ee426a 8270814: ProblemList the failing serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitor* tests
Reviewed-by: tschatzl, jiefu
2021-07-16 06:56:46 +00:00
Jie Fu
676d425c6b 8270459: Conflict inlining decisions by C1/C2 with the same CompileCommand
Reviewed-by: kvn, xliu
2021-07-16 05:45:25 +00:00
Alexander Zuev
eab959cbfa 8269269: [macos11] SystemIconTest fails with ClassCastException
Reviewed-by: jdv
2021-07-16 04:43:53 +00:00
David Holmes
e35005d5ce 8268773: Improvements related to: Failed to start thread - pthread_create failed (EAGAIN)
Reviewed-by: stuefe, iklam
2021-07-16 02:49:40 +00:00
Xiaohong Gong
ea77ef8348 8269725: AArch64: Add VectorMask query implementation for NEON
Reviewed-by: aph
2021-07-16 01:54:10 +00:00
Jesper Wilhelmsson
7240d67868 Merge 2021-07-16 00:51:56 +00:00
Christoph Göttschkes
bb82005a81 8270468: TestRangeCheckEliminated fails because methods are not compiled
Reviewed-by: kvn, thartmann
2021-07-15 19:53:31 +00:00
Andy Herrick
057992f206 8269387: jpackage --add-launcher should have option to not create shortcuts for additional launchers
Reviewed-by: asemenyuk, almatvee
2021-07-15 17:04:54 +00:00
Zhengyu Gu
746fe5dc68 8270366: C2: Add associative rule to add/sub node
Reviewed-by: kvn, adinn
2021-07-15 16:40:30 +00:00
William Kemper
e104dede6e 8268635: Corrupt oop in ClassLoaderData
Reviewed-by: coleenp
Backport-of: 3586a233a4
2021-07-15 16:27:30 +00:00
Jonathan Gibbons
1f995e52b2 8265888: StandardJavaFileManager::setLocationForModule specification misses 'Implementation Requirements:'
Reviewed-by: jlahoda
2021-07-15 16:06:40 +00:00
Vicente Romero
c962e6ec0b 8261006: 'super' qualified method references cannot occur in a static context
Reviewed-by: sadayapalam
2021-07-15 15:33:23 +00:00
Ivan Walulya
99d7f9a772 8264908: Investigate adding BOT range check in G1BlockOffsetTablePart::block_at_or_preceding
Reviewed-by: ayang, tschatzl
2021-07-15 08:49:23 +00:00
Ao Qi
e92e2fd4e0 8270517: Add Zero support for LoongArch
Reviewed-by: dholmes, erikj, shade
2021-07-15 08:26:05 +00:00
Thomas Schatzl
7a89ffeddd 8270014: Add scoped objects for g1 young gc verification and young gc internal timing
Reviewed-by: ayang, iwalulya, kbarrett
2021-07-15 08:12:36 +00:00
Thomas Schatzl
793d772afd 8270475: Remove unused G1STWDrainQueueClosure
Reviewed-by: iwalulya, kbarrett
2021-07-15 08:11:21 +00:00
Sibabrata Sahoo
a32d2eefea 8269276: Additional tests for MessageDigest with different providers
Reviewed-by: valeriep, wetmore
2021-07-15 05:42:55 +00:00
Ioi Lam
1ebd9469db 8270333: -XX:+VerifyStringTableAtExit should not do linear search
Reviewed-by: dholmes, minqi
2021-07-15 05:15:24 +00:00
Thejasvi Voniadka
04b73bc4e0 8269656: The test test/langtools/tools/javac/versions/Versions.java has duplicate test cycles
Reviewed-by: darcy
2021-07-15 04:52:38 +00:00
Joshua Zhu
7c23491918 8269598: Regressions up to 5% on aarch64 seems due to JDK-8268858
Reviewed-by: kvn, dlong
2021-07-15 01:57:31 +00:00
Jesper Wilhelmsson
7d0edb5743 Merge 2021-07-14 22:35:40 +00:00
Alexander Zuev
a033866d78 8269637: javax/swing/JFileChooser/FileSystemView/SystemIconTest.java fails on windows
Reviewed-by: aivanov
2021-07-14 18:25:57 +00:00
Doug Simon
14da658d1c 8270453: [JVMCI] remove duplicates in vmStructs_jvmci.cpp
Reviewed-by: kvn
2021-07-14 17:47:08 +00:00
Volker Simonis
fb86d13ec4 8270100: Fix some inaccurate GC logging
Reviewed-by: ayang, tschatzl
2021-07-14 17:39:16 +00:00
Andreas Woess
b1bb05bcf4 8269592: [JVMCI] Optimize c2v_iterateFrames
Reviewed-by: kvn, never, dlong
2021-07-14 17:32:55 +00:00
Brian Burkhalter
c0d4efff3c 6506405: Math.abs(float) is slow
Reviewed-by: darcy
2021-07-14 15:50:51 +00:00
Erik Joelsson
7b4d84c654 8270422: Test build/AbsPathsInImage.java fails after JDK-8259848
Reviewed-by: mikael
2021-07-14 13:00:57 +00:00
Jim Laskey
72db09b1f3 8266313: (JEP-356) - RandomGenerator spec implementation requirements tightly coupled to JDK internal classes
Reviewed-by: rriggs
2021-07-14 12:00:01 +00:00
Jim Laskey
3bbd2332bd 8270075: SplittableRandom extends AbstractSplittableGenerator
Reviewed-by: rriggs, bpb
2021-07-14 11:51:06 +00:00
Anton Kozlov
381bd62107 8266889: [macosx-aarch64] Crash with SIGBUS in MarkActivationClosure::do_code_blob during vmTestbase/nsk/jvmti/.../bi04t002 test run
Reviewed-by: dholmes, aph, sspitsyn
2021-07-14 10:36:04 +00:00
Nick Gasson
357fe09f2e 8247351: [aarch64] NullPointerException during stack walking (clhsdb "where -a")
Reviewed-by: cjplummer
2021-07-14 09:02:43 +00:00
Aleksey Shipilev
589a1d53df 8270155: ARM32: Improve register dump in hs_err
Reviewed-by: dholmes, stuefe
2021-07-14 08:14:12 +00:00
Ivan Walulya
b6d765386e 8264419: Remove has_max_index argument from G1BlockOffsetTablePart::block_at_or_preceding
Reviewed-by: ayang, tschatzl
2021-07-14 07:52:57 +00:00
Hannes Wallnöfer
82c256eb61 8259499: Handling type arguments from outer classes for inner class in javadoc
Reviewed-by: jjg
2021-07-14 06:49:45 +00:00
Christoph Langer
e5db9a9405 8268620: InfiniteLoopException test may fail on x86 platforms
Backport-of: 0b09129fae
2021-07-14 05:38:17 +00:00
Xin Liu
67273ae63c 8269865: Async UL needs to handle ERANGE on exceeding SEM_VALUE_MAX
Reviewed-by: dholmes, pchilanomate
2021-07-14 01:43:53 +00:00
Jesper Wilhelmsson
4a7ccf36e9 Merge 2021-07-14 01:07:52 +00:00
David Holmes
770e2aa3c6 8215948: [TESTBUG] gtest pseudo-JavaThreads could be more regular JavaThreads
Reviewed-by: coleenp, pchilanomate
2021-07-14 01:05:10 +00:00
Yi Yang
0f5470715e 8270056: Generated lambda class can not access protected static method of target class
Reviewed-by: mchung
Backport-of: 07e9052457
2021-07-14 00:46:06 +00:00
Scott Gibbons
9cac94d581 8269404: Base64 Encoding optimization enhancements for x86 using AVX-512
Reviewed-by: kvn, sviswanathan
2021-07-13 23:52:08 +00:00
Vicente Romero
8583aab374 8270025: DynamicCallSiteDesc::withArgs doesn't throw NPE
Reviewed-by: jvernee, mchung
2021-07-13 17:48:21 +00:00
Christoph Langer
ca806ef319 8263531: Remove unused buffer int
Reviewed-by: chegar, vtewari, wetmore
2021-07-13 16:55:54 +00:00
Severin Gehwolf
d32e42cdd4 8270184: [TESTBUG] Add coverage for jvmci ResolvedJavaType.toJavaName() for lambdas
Backport-of: 6a9bc10873
2021-07-13 14:34:35 +00:00
Roman Kennke
7ac08161a8 8269897: Shenandoah: Resolve UNKNOWN access strength, where possible
Reviewed-by: shade
2021-07-13 13:30:04 +00:00
Coleen Phillimore
460c4bb6ce 8270179: Rename Amalloc_4
8270217: Fix Arena::Amalloc to check for overflow better

Reviewed-by: kbarrett, stuefe
2021-07-13 13:06:20 +00:00
Thomas Schatzl
375fc2a2b2 8270009: Factor out and shuffle methods in G1CollectedHeap::do_collection_pause_at_safepoint_helper
Reviewed-by: kbarrett, ayang
2021-07-13 11:27:41 +00:00
Maurizio Cimadamore
b2416b60fb 8269281: java/foreign/Test{Down,Up}call.java time out
Reviewed-by: jvernee
2021-07-13 10:53:49 +00:00
Jesper Wilhelmsson
6b123b0591 Merge 2021-07-13 10:50:18 +00:00
Albert Mingkun Yang
565ec8518b 8270282: Semantically rename reference processing subphases
Reviewed-by: kbarrett, tschatzl
2021-07-13 10:36:55 +00:00
Markus Grönlund
bd95c0c9e0 8269635: Stress test SEGV while emitting OldObjectSample
Reviewed-by: jbachorik
2021-07-13 09:43:49 +00:00
Markus Grönlund
00ef65f34d 8269525: Deadlock during Volano with JFR
Reviewed-by: egahlin
2021-07-13 09:41:56 +00:00
Erik Joelsson
e631addd70 8259848: Interim javadoc build does not support platform links
Reviewed-by: hannesw, jjg, ihse
2021-07-13 09:27:27 +00:00
Christian Hagedorn
040c02b942 8269795: C2: Out of bounds array load floats above its range check in loop peeling resulting in SEGV
Reviewed-by: thartmann, roland, kvn
2021-07-13 08:50:09 +00:00
Erik Joelsson
0f32982872 8270203: Missing build dependency between jdk.jfr-gendata and buildtools-hotspot
Reviewed-by: tbell
2021-07-13 05:55:04 +00:00
Yi Yang
07e9052457 8270056: Generated lambda class can not access protected static method of target class
Co-authored-by: NekoCaffeine <nekocaffeine@qq.com>
Reviewed-by: mchung
2021-07-13 02:24:14 +00:00
Yi Yang
afe957cd97 8268698: Use Objects.check{Index,FromToIndex,FromIndexSize} for java.base
Reviewed-by: mchung, rriggs
2021-07-13 02:23:16 +00:00
Yumin Qi
a4e5f08fef 8267281: Call prepare_for_dynamic_dumping for jcmd dynamic_dump
Reviewed-by: iklam, ccheung
2021-07-12 19:03:38 +00:00
Magnus Ihse Bursie
353e9c8607 8270320: JDK-8270110 committed invalid copyright headers
Reviewed-by: kvn
2021-07-12 18:54:39 +00:00
Albert Mingkun Yang
7d2825e421 8270169: G1: Incorrect reference discovery MT degree in concurrent marking
Reviewed-by: tschatzl, iwalulya, kbarrett
2021-07-12 18:25:33 +00:00
Magnus Ihse Bursie
41a5eb4372 8270117: Broken jtreg link in "Building the JDK" page
Reviewed-by: sgehwolf
2021-07-12 18:14:55 +00:00
Ignasi Marimon-Clos
1aef372ed8 8266578: Disambiguate BigDecimal description of scale
Reviewed-by: darcy, bpb
2021-07-12 16:54:39 +00:00
Sean Mullan
4fc3180f75 8266345: (fs) Custom DefaultFileSystemProvider security related loops
Co-authored-by: Brian Burkhalter <bpb@openjdk.org>
Reviewed-by: bpb, chegar
2021-07-12 14:54:38 +00:00
Harold Seigel
92ae6a5123 8244162: Additional opportunities to use NONCOPYABLE
Reviewed-by: dholmes, kbarrett, shade
2021-07-12 14:21:44 +00:00
Zhengyu Gu
548bb3119c 8270110: Shenandoah: Add test for JDK-8269661
Reviewed-by: rkennke
2021-07-12 12:22:06 +00:00
Jatin Bhateja
c3a42eddec 8269878: Handle redundant reg-2-reg moves in X86 backend
Reviewed-by: kvn, vlivanov
2021-07-12 11:36:14 +00:00
Christoph Göttschkes
999ced03cc 8269873: serviceability/sa/Clhsdb tests are using a C2 specific VMStruct field
Reviewed-by: cjplummer, dholmes, sspitsyn
2021-07-12 11:23:38 +00:00
Anton Kozlov
7cbb67a3f8 8267666: Add option to jcmd GC.heap_dump to use existing file
Reviewed-by: rschmelter, clanger
2021-07-12 11:12:52 +00:00
Alexey Bakhtin
e1d3e73d4e 8268965: TCP Connection Reset when connecting simple socket to SSL server
Reviewed-by: xuelei
Backport-of: 6f171b9f0d
2021-07-12 10:24:39 +00:00
Thomas Schatzl
8973867fb9 8269295: Verification time before/after young collection only covers parts of the verification
Reviewed-by: kbarrett, iwalulya
2021-07-12 08:41:28 +00:00
Severin Gehwolf
6a9bc10873 8270184: [TESTBUG] Add coverage for jvmci ResolvedJavaType.toJavaName() for lambdas
Reviewed-by: kvn
2021-07-12 08:25:22 +00:00
Albert Mingkun Yang
86a20081ae 8051680: (ref) unnecessary process_soft_ref_reconsider
Reviewed-by: kbarrett, tschatzl
2021-07-12 07:53:20 +00:00
Coleen Phillimore
ac75a53fc5 8253779: Amalloc may be wasting space by overaligning
Reviewed-by: kbarrett, stuefe
2021-07-11 18:15:59 +00:00
Serguei Spitsyn
3d82b0e634 8269558: fix of JDK-8252657 missed to update history at the end of JVM TI spec
Reviewed-by: dcubed, cjplummer
2021-07-11 11:03:35 +00:00
Phil Race
254600658a 8270216: [macOS] Update named used for Java run loop mode
Reviewed-by: serb
2021-07-10 19:12:59 +00:00
Yasumasa Suenaga
68b6e11e48 8270083: -Wnonnull errors happen with GCC 11.1.1
Reviewed-by: erikj, dlong, kbarrett
2021-07-10 05:01:23 +00:00
Jesper Wilhelmsson
ec975c6a05 Merge 2021-07-10 01:23:18 +00:00
Ioi Lam
d6c0f5fa22 8270059: Remove KVHashtable
Reviewed-by: dholmes, coleenp
2021-07-09 19:29:13 +00:00
Alexandre Iline
7bfa39f59a 8270108: Update JCov version to 3.0.9
Reviewed-by: serb, erikj
2021-07-09 18:29:39 +00:00
Zhengyu Gu
e4c24f01ef 8270171: Shenandoah: Cleanup TestStringDedup and TestStringDedupStress tests
Reviewed-by: shade
2021-07-09 17:34:34 +00:00
Jonathan Gibbons
3588634d54 8268420: new Reporter method to report a diagnostic within a DocTree node
Reviewed-by: prappo
2021-07-09 16:14:29 +00:00
Jonathan Gibbons
5a74291013 8266565: Spec of ForwardingJavaFileManager/ForwardingFileObject/ForwardingJavaFileObject methods should mention delegation instead of being copied
Reviewed-by: vromero
2021-07-09 14:52:37 +00:00
Roger Riggs
6889a39a3f 8268826: Cleanup Override in Context-Specific Deserialization Filters
Reviewed-by: dfuchs, bchristi
2021-07-09 14:33:56 +00:00
Christian Hagedorn
f791fdf23e 8261147: C2: Node is wrongly marked as reduction resulting in a wrong execution due to wrong vector instructions
Reviewed-by: thartmann, kvn
2021-07-09 11:53:45 +00:00
Jan Lahoda
1196b35684 8270151: IncompatibleClassChangeError on empty pattern switch statement case
Reviewed-by: mcimadamore
2021-07-09 11:03:40 +00:00
Albert Mingkun Yang
3d193adbec 8270082: Remove unnecessary gc_timer null check in ReferenceProcessorPhaseTimes
Reviewed-by: tschatzl, kbarrett
2021-07-09 10:03:10 +00:00
Jan Lahoda
885f7b1141 8269146: Missing unreported constraints on pattern and other case label combination
8269301: Switch statement with a pattern, constant and default label elements crash javac

Reviewed-by: mcimadamore
2021-07-09 08:03:56 +00:00
Aleksey Shipilev
676f1d76ca 8270094: Shenandoah: Provide human-readable labels for test configurations
Reviewed-by: zgu
2021-07-09 07:54:40 +00:00
Thomas Schatzl
c93204ce3d 8269914: Factor out heap printing for G1 young and full gc
8270018: Add scoped object for g1 young gc JFR notification

Reviewed-by: ayang, iwalulya, kbarrett
2021-07-09 06:51:09 +00:00
Jatin Bhateja
62ff55d383 8269952: compiler/vectorapi/VectorCastShape*Test.java tests failed on avx2 machines
Reviewed-by: kvn, dlong
2021-07-09 03:20:59 +00:00
Mikhailo Seledtsov
46c610cbd8 8269840: Update Platform.isDefaultCDSArchiveSupported() to return true for aarch64 platforms
Reviewed-by: minqi, iklam
2021-07-09 01:55:33 +00:00
Jesper Wilhelmsson
dfd6b2be7d Merge 2021-07-08 23:21:00 +00:00
Jonathan Gibbons
6401633800 8269722: NPE in HtmlDocletWriter
Reviewed-by: hannesw
2021-07-08 20:23:02 +00:00
Daniel D. Daugherty
9acb2a69a9 8270109: ProblemList 4 SA tests on macOS-aarch64
Reviewed-by: mikael
2021-07-08 19:23:21 +00:00
Brian Burkhalter
f46a917270 6766844: ByteArrayInputStream#read with a byte array of length 0 not consistent with InputStream when at EOF
Reviewed-by: naoto, lancea, joehw
2021-07-08 19:05:29 +00:00
Anthony Scarpino
5832882492 8269827: JMH tests for AES/GCM byte[] and bytebuffers
Reviewed-by: ecaspole, weijun
2021-07-08 17:19:46 +00:00
Alexey Bakhtin
6f171b9f0d 8268965: TCP Connection Reset when connecting simple socket to SSL server
Reviewed-by: xuelei
2021-07-08 16:44:55 +00:00
Aleksey Shipilev
4f322a9b6c 8270096: Shenandoah: Optimize gc/shenandoah/TestRefprocSanity.java for interpreter mode
Reviewed-by: zgu
2021-07-08 16:42:03 +00:00
Coleen Phillimore
bca570c56e 8269962: SA has unused Hashtable, Dictionary classes
Reviewed-by: cjplummer, iklam, dholmes
2021-07-08 14:28:32 +00:00
Guoxiong Li
9e75f922b1 8269738: AssertionError when combining pattern matching and function closure
Reviewed-by: jlahoda, vromero
2021-07-08 14:15:07 +00:00
Jatin Bhateja
168af2e6b2 8269828: corrections in some instruction patterns for KNL x86 platform
Reviewed-by: kvn, dlong
2021-07-08 12:19:19 +00:00
Jan Lahoda
fa08cc62df 8268766: Desugaring of pattern matching enum switch should be improved
Reviewed-by: mcimadamore, psandoz
2021-07-08 11:56:53 +00:00
Albert Mingkun Yang
4a45d95719 8270021: Incorrect log decorators in gc/g1/plab/TestPLABEvacuationFailure.java
Reviewed-by: tschatzl, iwalulya
2021-07-08 10:39:44 +00:00
Jan Lahoda
30bba54b97 8270064: Problem list tools/jdeprscan/tests/jdk/jdeprscan/TestRelease.java due to JDK-8270060
Reviewed-by: mcimadamore
2021-07-08 10:37:27 +00:00
sunguoyun
2c883eeed4 8267982: Set the node after peephole optimization to be removed
Reviewed-by: kvn, thartmann
2021-07-08 09:12:35 +00:00
Jan Lahoda
4f70759175 8270006: Switches with 'case null:' should be exhaustive
Reviewed-by: vromero
2021-07-08 08:03:09 +00:00
Roland Westrelin
8f798b8222 8269746: C2: assert(!in->is_CFG()) failed: CFG Node with no controlling input?
Reviewed-by: chagedorn, thartmann
2021-07-08 07:25:21 +00:00
Lin Zang
4fbcce119b 8269886: Inaccurate error message for compressed hprof test
Reviewed-by: dholmes, cjplummer
2021-07-08 06:30:24 +00:00
Albert Mingkun Yang
a96012f958 8269803: G1: remove unnecessary NoRefDiscovery
Reviewed-by: tschatzl, kbarrett
2021-07-08 06:15:30 +00:00
Thejasvi Voniadka
4e18ec26dd 8269993: [Test]: java/net/httpclient/DigestEchoClientSSL.java contains redundant @run tags
Reviewed-by: dfuchs, vtewari
2021-07-08 06:01:31 +00:00
TatWai Chong
e54585be57 8268363: AArch64: Implement string_indexof_char intrinsic in SVE
Reviewed-by: aph, njian
2021-07-08 02:29:17 +00:00
Jesper Wilhelmsson
270fbcb3f5 Merge 2021-07-08 00:55:53 +00:00
Roger Riggs
c812bbbe8f 8269929: (test) Add diagnostic info to ProceessBuilder/Basic.java for unexpected output
Reviewed-by: iris, bpb, naoto
2021-07-07 21:46:11 +00:00
Yumin Qi
f741e4ca74 8264735: Make dynamic dump repeatable
Reviewed-by: ccheung, iklam
2021-07-07 19:41:45 +00:00
Alexey Semenyuk
6000950b33 8269185: Directories in /opt/runtimepackagetest and /path/to/jdk-17 are different
Reviewed-by: almatvee, herrick
2021-07-07 16:57:07 +00:00
Brian Burkhalter
d1cecaaa22 8269481: SctpMultiChannel never releases own file descriptor
Reviewed-by: alanb, chegar
2021-07-07 15:49:21 +00:00
Daniel D. Daugherty
2209e3ec65 8270027: ProblemList jdk/jfr/event/oldobject/TestObjectSize.java on macOS-x64
Reviewed-by: mgronlun
2021-07-07 14:05:56 +00:00
Martin Doerr
1f2bf1d194 8269879: [PPC64] C2: Math.rint intrinsic uses wrong rounding mode
Reviewed-by: lucy, goetz
2021-07-07 12:52:18 +00:00
Coleen Phillimore
2dc5486415 8267303: Replace MinObjectAlignmentSize usages for non-Java heap objects
Reviewed-by: kbarrett, tschatzl, minqi
2021-07-07 12:46:07 +00:00
Coleen Phillimore
3586a233a4 8268635: Corrupt oop in ClassLoaderData
Reviewed-by: iklam, dholmes
2021-07-07 12:40:34 +00:00
Zhengyu Gu
bffb1a7199 8269923: runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.java failed with "FATAL ERROR in native method: Primitive type array expected but not received for JNI array operation"
Reviewed-by: dcubed, dholmes
2021-07-07 11:47:02 +00:00
Jorn Vernee
77a5b7b27e 8269761: idea.sh missing .exe suffix when invoking javac on WSL
Reviewed-by: mcimadamore, erikj
2021-07-07 10:05:33 +00:00
Jan Lahoda
7fcd5ca025 8266036: class file for sun.misc.Contended not found
8258421: (jdeprscan) tools/jdeprscan/tests/jdk/jdeprscan/TestRelease.java failed with "error: cannot access jdk.internal.ValueBased"

Reviewed-by: darcy
2021-07-07 09:49:53 +00:00
Thomas Schatzl
248aa5014b 8269294: Verify_before/after_young_collection should execute all verification
Reviewed-by: iwalulya, kbarrett
2021-07-07 07:56:41 +00:00
Daniel Fuchs
a49b1dc704 8269772: [macos-aarch64] test compilation failed with "SocketException: No buffer space available"
Reviewed-by: chegar, vtewari
2021-07-07 07:50:45 +00:00
Thomas Schatzl
18b80c70f8 8269908: Move MemoryService::track_memory_usage call into G1MonitoringScope
Reviewed-by: ayang, kbarrett
2021-07-07 07:39:31 +00:00
Thomas Schatzl
a6850111ac 8269022: Put evacuation failure string directly into gc=info log message
Reviewed-by: iwalulya, lkorinth, kbarrett
2021-07-07 07:32:57 +00:00
Jan Lahoda
820f2900d8 8268859: jshell throws exception while parsing illegal "case true"
Reviewed-by: mcimadamore
2021-07-07 07:26:41 +00:00
Richard Reingruber
72530ef666 8269574: C2: Avoid redundant uncommon traps in GraphKit::builtin_throw() for JVMTI exception events
Reviewed-by: kvn, roland, neliasso
2021-07-07 07:17:24 +00:00
Jan Lahoda
815e4af35d 8269802: javac fails to compile nested pattern matching switches
8269808: javac generates class with invalid stack map

Reviewed-by: mcimadamore
2021-07-07 06:24:58 +00:00
Chris Plummer
2daf39a59b 8269830: SA's vm object vtable matching code sometimes matches on incorrect type
Reviewed-by: kevinw, sspitsyn
2021-07-07 02:32:25 +00:00
Nick Gasson
3d090e7ee5 8267625: AARCH64: typo in LIR_Assembler::emit_profile_type
Reviewed-by: aph, dlong
2021-07-07 01:47:11 +00:00
Yi Yang
a9e201016d 8268425: Show decimal nid of OSThread instead of hex format one
Reviewed-by: stuefe, kevinw
2021-07-07 01:37:50 +00:00
Vicente Romero
01c29d8f2c 8266407: remove jdk.internal.javac.PreviewFeature.Feature.SEALED_CLASSES
Reviewed-by: jlahoda
2021-07-06 23:06:00 +00:00
Jesper Wilhelmsson
7a4f08ae32 Merge 2021-07-06 23:00:31 +00:00
Yumin Qi
e8206dbb17 8263538: SharedArchiveConsistency.java should test -Xshare:auto as well
Reviewed-by: iklam, ccheung
2021-07-06 22:27:13 +00:00
Ioi Lam
0ebf8aa9d7 8268778: CDS check_excluded_classes needs DumpTimeTable_lock
Reviewed-by: minqi, ccheung
2021-07-06 22:21:06 +00:00
Vladimir Kozlov
0d1cd3a745 8269825: [TESTBUG] Missing testing for x86 KNL platforms
Reviewed-by: dlong, jbhateja
2021-07-06 21:52:23 +00:00
Vladimir Kozlov
e0c130f484 8269955: ProblemList compiler/vectorapi/VectorCastShape[64|128]Test.java tests on x86
Reviewed-by: iignatyev, dlong
2021-07-06 21:30:48 +00:00
Daniel D. Daugherty
4dfcf53a8b 8269935: ProblemList runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.java on windows
Reviewed-by: jjg
2021-07-06 17:00:55 +00:00
Eric Liu
1166ef25e9 8268966: AArch64: 'bad AD file' in some vector conversion tests
Reviewed-by: aph
2021-07-06 15:59:04 +00:00
Patrick Concannon
1578979df7 8269917: Insert missing commas in copyrights in java.net
Reviewed-by: chegar, dfuchs
2021-07-06 15:10:58 +00:00
Mandy Chung
3a69024033 8225667: Clarify the behavior of System::gc w.r.t. reference processing
Reviewed-by: rriggs, kbarrett, tschatzl
2021-07-06 14:59:42 +00:00
Patrick Concannon
326b2e1344 8253119: Remove the legacy PlainSocketImpl and PlainDatagramSocketImpl implementation
Reviewed-by: alanb, dfuchs, chegar
2021-07-06 13:46:02 +00:00
Julia Boes
f485171ce8 8269692: sun.net.httpserver.ServerImpl::createContext should throw IAE
Reviewed-by: dfuchs
2021-07-06 13:29:40 +00:00
Zhengyu Gu
16aa8cbf8d 8269697: JNI_GetPrimitiveArrayCritical() should not accept object array
Reviewed-by: kbarrett, dholmes
2021-07-06 12:25:11 +00:00
Aleksei Voitylov
e47803a84f 8266310: deadlock between System.loadLibrary and JNI FindClass loading another class
Reviewed-by: dholmes, plevart, chegar, mchung
2021-07-06 11:15:10 +00:00
Xiaohong Gong
2b20778225 8269568: JVM crashes when running VectorMask query tests
Co-authored-by: Sandhya Viswanathan <sviswanathan@openjdk.org>
Reviewed-by: psandoz, jiefu, jbhateja, sviswanathan
2021-07-06 08:17:27 +00:00
Kim Barrett
0f4e07b7d9 8269661: JNI_GetStringCritical does not lock char array
8269650: Optimize gc-locker in [Get|Release]StringCritical for latin string

Reviewed-by: dholmes, tschatzl
2021-07-06 07:40:56 +00:00
Roland Westrelin
df1364b508 8269575: C2: assert(false) failed: graph should be schedulable after JDK-8252372
Reviewed-by: kvn, thartmann
2021-07-06 07:03:08 +00:00
Roland Westrelin
6d8fc7249a 8268883: C2: assert(false) failed: unscheduable graph
Reviewed-by: chagedorn, kvn, yyang
2021-07-06 06:47:45 +00:00
Tobias Hartmann
4ad8b04421 8268369: SIGSEGV in PhaseCFG::implicit_null_check due to missing null check
Reviewed-by: chagedorn, kvn
2021-07-06 05:44:59 +00:00
David Holmes
20eba35515 8269882: stack-use-after-scope in NewObjectA
Reviewed-by: kbarrett
2021-07-06 02:20:14 +00:00
Yi Yang
df0e11bb0c 8269672: C1: Remove unaligned move on all architectures
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: thartmann
2021-07-06 02:13:04 +00:00
Yi Yang
2926769800 8267956: C1 code cleanup
Reviewed-by: thartmann
2021-07-06 02:11:56 +00:00
Magnus Ihse Bursie
acc3d99535 8268860: Windows-Aarch64 build is failing in GitHub actions
Reviewed-by: dholmes
2021-07-06 00:28:40 +00:00
Jesper Wilhelmsson
a18a112963 Merge 2021-07-06 00:12:23 +00:00
Erik Gahlin
5b8e1a266e 8266595: jdk/jfr/jcmd/TestJcmdDump.java with slowdebug bits fails with AttachNotSupportedException
Reviewed-by: mseledtsov, dholmes
2021-07-05 15:18:47 +00:00
Jaikiran Pai
fd4de1ed40 8233020: (fs) UnixFileSystemProvider should use StaticProperty.userDir().
Reviewed-by: alanb
2021-07-05 13:54:30 +00:00
Jorn Vernee
76783cd8cb 8269760: idea.sh should not invoke cygpath directly
Reviewed-by: mcimadamore, erikj
2021-07-05 10:24:31 +00:00
Jorn Vernee
73198968e2 8269758: idea.sh doesn't work when there are multiple configurations available.
Reviewed-by: mcimadamore, erikj
2021-07-05 10:18:28 +00:00
James Fuller
164eff8c8a 8263389: IGV: Zooming changes the point that is currently centered
Reviewed-by: rrich, neliasso
2021-07-05 09:59:18 +00:00
Sergei Ustimenko
371d996a89 8269700: source level for IntelliJ JDK project is set incorrectly
Reviewed-by: mcimadamore
2021-07-05 09:09:23 +00:00
Patrick Concannon
8a7b380ebb 8269124: Update java.time to use switch expressions (part II)
Reviewed-by: dfuchs, vtewari, aefimov, iris, lancea, naoto
2021-07-05 09:08:13 +00:00
Severin Gehwolf
e14801cdd9 8269668: [aarch64] java.library.path not including /usr/lib64
Reviewed-by: aph, dholmes
2021-07-05 08:01:51 +00:00
Thomas Schatzl
675a9520b2 8269821: Remove is-queue-active check in inner loop of write_ref_array_pre_work
Reviewed-by: ayang, kbarrett
2021-07-05 07:24:10 +00:00
Ioi Lam
4da52eaf53 8269004: Implement ResizableResourceHashtable
Reviewed-by: coleenp, kbarrett
2021-07-05 02:29:23 +00:00
David Holmes
390d1025ca 8269652: Factor out the common code for creating system j.l.Thread objects
Reviewed-by: coleenp, dcubed, kvn, xliu
2021-07-04 21:58:16 +00:00
Jesper Wilhelmsson
17f53f2f9c Merge 2021-07-02 20:50:11 +00:00
Ian Graves
0d0f6a4bec 8268664: The documentation of the Scanner.hasNextLine is incorrect
Reviewed-by: rriggs, bpb, iris
2021-07-02 19:46:54 +00:00
Alexander Zuev
97e0e9e73d 8268775: Password is being converted to String in AccessibleJPasswordField
Reviewed-by: prr
2021-07-02 19:37:15 +00:00
Brian Burkhalter
cb795893be 8188046: java.lang.Math.mutliplyHigh does not run in constant time
Reviewed-by: rriggs, darcy
2021-07-02 18:21:39 +00:00
Brian Burkhalter
ca4bea4665 8188044: We need Math.unsignedMultiplyHigh
Reviewed-by: rriggs, aph, darcy
2021-07-02 18:15:35 +00:00
Coleen Phillimore
3d84398d12 8268364: jmethod clearing should be done during unloading
Reviewed-by: dcubed, eosterlund
2021-07-02 18:04:45 +00:00
Mikael Vidstedt
1c18f91438 8269768: JFR Terminology Refresh
Reviewed-by: iignatyev, egahlin
2021-07-02 17:58:12 +00:00
Sandhya Viswanathan
6f0e8e79aa 8269775: compiler/codegen/ClearArrayTest.java failed with "assert(false) failed: bad AD file"
Reviewed-by: kvn, dlong
2021-07-02 15:33:07 +00:00
Christoph Göttschkes
53ad903a82 8269135: TestDifferentProtectionDomains runs into timeout in client VM
Reviewed-by: dholmes, dcubed
2021-07-02 15:16:31 +00:00
Weijun Wang
c4ea13edd0 8269543: The warning for System::setSecurityManager should only appear once for each caller
Reviewed-by: lancea, alanb, dfuchs
2021-07-02 14:31:50 +00:00
Albert Mingkun Yang
f8bcbf0172 8269596: Snapshot soft ref policy before marking/copying
Reviewed-by: tschatzl, kbarrett
2021-07-02 09:19:58 +00:00
Christian Hagedorn
2db9005c07 8262017: C2: assert(n != __null) failed: Bad immediate dominator info.
Reviewed-by: roland, neliasso, kvn
2021-07-02 07:43:57 +00:00
Nils Eliasson
7bc96dbc02 8269771: assert(tmp == _callprojs.fallthrough_catchproj) failed: allocation control projection
Reviewed-by: rbackman, kvn
2021-07-02 07:17:55 +00:00
David Holmes
4107dcf6ec 8269466: Factor out the common code for initializing and starting internal VM JavaThreads
Reviewed-by: sspitsyn, pchilanomate, dcubed, coleenp, kvn
2021-07-02 04:29:47 +00:00
Jamsheed Mohammed C M
5644c4f942 8265132: C2 compilation fails with assert "missing precedence edge"
Reviewed-by: iveresov, kvn
2021-07-02 04:26:09 +00:00
miao zheng
2baf498eb5 8269743: test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/stress/jni/nativeAndMH/Test.java crash with small heap (-Xmx50m)
Reviewed-by: dholmes
2021-07-02 03:15:55 +00:00
Hamlin Li
589f084161 8269110: ZGC: Remove dead code in zBarrier
Reviewed-by: pliden
2021-07-02 01:30:41 +00:00
Jesper Wilhelmsson
b0e186792e Merge 2021-07-02 01:07:50 +00:00
Vladimir Kozlov
a4d2a9a77f 8269745: [JVMCI] restore original qualified exports to Graal
Reviewed-by: dnsimon, iveresov
2021-07-01 18:51:15 +00:00
Maurizio Cimadamore
e3773977cf 8268566: java/foreign/TestResourceScope.java timed out
Reviewed-by: jvernee
2021-07-01 16:28:48 +00:00
Vicente Romero
de61328d30 8225559: assertion error at TransTypes.visitApply
Reviewed-by: sadayapalam, jlahoda
2021-07-01 16:18:12 +00:00
Kim Barrett
6c76e77158 8260684: vmTestbase/gc/gctests/PhantomReference/phantom002/TestDescription.java timed out
Reviewed-by: pliden, lkorinth
2021-07-01 16:09:30 +00:00
Jatin Bhateja
4bbf11d4a9 8269580: assert(is_valid()) failed: invalid register (-1)
Reviewed-by: kvn, dlong
2021-07-01 15:08:43 +00:00
Naoto Sato
54dd510bd5 8269704: Typo in j.t.Normalizer.normalize()
Reviewed-by: joehw, prappo, iris
2021-07-01 12:08:21 +00:00
Jan Lahoda
a8385feb30 8269354: javac crashes when processing parenthesized pattern in instanceof
Reviewed-by: vromero
2021-07-01 10:10:03 +00:00
Julia Boes
82bfc5d45c 8268960: com/sun/net/httpserver/Headers.java: Ensure mutators normalize keys and disallow null for keys and values
Reviewed-by: chegar, dfuchs, michaelm
2021-07-01 09:56:22 +00:00
Maxim Kartashev
18f356a38e 8267307: Introduce new client property for XAWT: xawt.mwm_decor_title
Reviewed-by: azvegint, serb
2021-07-01 09:53:28 +00:00
Aleksey Shipilev
c16d1fc981 8269285: Crash/miscompile in CallGenerator::for_method_handle_inline after JDK-8191998
Reviewed-by: kvn, iveresov, vlivanov
2021-07-01 09:27:55 +00:00
Roland Westrelin
ad27d9b3ec 8269088: C2 fails with assert(!n->is_Store() && !n->is_LoadStore()) failed: no node with a side effect
Reviewed-by: kvn, iveresov, neliasso
2021-07-01 08:11:59 +00:00
Albert Mingkun Yang
54a9c3e39f 8133873: Simplify {Register,Unregister}NMethodOopClosure
Reviewed-by: tschatzl, kbarrett
2021-07-01 07:57:54 +00:00
Roland Westrelin
c67a7b039d 8269230: C2: main loop in micro benchmark never executed
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: kvn, iveresov
2021-07-01 07:41:22 +00:00
Hannes Wallnöfer
962f1c1a9b 8262886: javadoc generates broken links with {@inheritDoc}
Reviewed-by: jjg
2021-07-01 07:25:39 +00:00
Jayathirth D V
f7ffd5872d 8267602: [macos] [lanai] java/awt/PrintJob/Text/stringwidth.sh doesn't exit on cancelling print dialog
Reviewed-by: aghaisas, serb
2021-07-01 03:01:30 +00:00
Denghui Dong
06d26208c5 8268298: jdk/jfr/api/consumer/log/TestVerbosity.java fails: unexpected log message
Reviewed-by: egahlin
2021-07-01 02:15:19 +00:00
Yi Yang
d89e630cdf 8266746: C1: Replace UnsafeGetRaw with UnsafeGet when setting up OSR entry block
Replace UnsafeGetRaw with UnsafeGetObject when setting up OSR entry block, and rename Unsafe{Get,Put}Object to Unsafe{Get,Put}

Reviewed-by: thartmann, dlong, mdoerr
2021-07-01 01:39:50 +00:00
Hamlin Li
4660f72c38 8268870: Remove dead code in metaspaceShared
Reviewed-by: tschatzl
2021-07-01 01:19:32 +00:00
Jesper Wilhelmsson
9def3b068e Merge 2021-07-01 01:01:34 +00:00
Liam Miller-Cushon
4930ae96d8 8268592: JDK-8262891 causes an NPE in Lint.augment
Reviewed-by: vromero
2021-07-01 00:16:23 +00:00
Mandy Chung
9ac63a6e08 8262841: Clarify the behavior of PhantomReference::refersTo
Reviewed-by: kbarrett, rriggs
2021-06-30 22:43:23 +00:00
Daniel D. Daugherty
aba6c55dac 8269703: ProblemList vmTestbase/nsk/jvmti/scenarios/sampling/SP07/sp07t002/TestDescription.java on Windows-X64 with -Xcomp
Reviewed-by: dholmes
2021-06-30 22:13:06 +00:00
Naoto Sato
3e022247d2 8269513: Clarify the spec wrt useOldISOCodes system property
Reviewed-by: lancea, bpb, iris, joehw
2021-06-30 22:11:58 +00:00
Joe Darcy
85262c7183 8268637: Update --release 17 symbol information for JDK 17 build 28
Reviewed-by: iris
2021-06-30 21:45:48 +00:00
Nils Eliasson
0dc65d3c74 8268897: [TESTBUG] compiler/compilercontrol/mixed/RandomCommandsTest.java must not fail on Command.quiet
Reviewed-by: kvn
2021-06-30 21:05:15 +00:00
Zhengyu Gu
5c08344b64 8269678: Remove unimplemented and unused os::bind_to_processor()
Reviewed-by: dcubed
2021-06-30 19:52:39 +00:00
Hannes Wallnöfer
3826012281 8268557: Module page uses unstyled table class
Reviewed-by: jjg
2021-06-30 18:40:17 +00:00
Daniel D. Daugherty
2b17e95e20 8269691: ProblemList sun/management/jdp/JdpDefaultsTest.java on Linux-aarch64
Reviewed-by: kvn, darcy
2021-06-30 17:39:22 +00:00
Christoph Göttschkes
1da5d4bb78 8269486: CallerAccessTest fails for non server variant
Reviewed-by: dholmes, stuefe, mchung, jvernee
2021-06-30 17:08:36 +00:00
Masanori Yano
83bce94cc8 8268457: XML Transformer outputs Unicode supplementary character incorrectly to HTML
Reviewed-by: lancea, naoto, iris, joehw
2021-06-30 16:25:40 +00:00
Andrew Haley
1810b1c2ad 8269516: AArch64: Assembler cleanups
Reviewed-by: ngasson, adinn
2021-06-30 13:59:39 +00:00
Aleksey Shipilev
a96012a7af 8261495: Shenandoah: reconsider update references memory ordering
Reviewed-by: zgu, rkennke
2021-06-30 13:32:32 +00:00
Martin Doerr
be0ac92e18 8269614: [s390] Interpreter checks wrong bit for slow path instance allocation
Reviewed-by: shade, rrich
2021-06-30 13:32:19 +00:00
Aleksey Shipilev
23d2996fee 8269478: Shenandoah: gc/shenandoah/mxbeans tests should be more resilient
Reviewed-by: rkennke
2021-06-30 13:22:38 +00:00
Doug Simon
a6b253d85c 8269416: [JVMCI] capture libjvmci crash data to a file
Reviewed-by: kvn, dholmes
2021-06-30 12:33:06 +00:00
Zhengyu Gu
4b4bef4e1e 8269594: assert(_handle_mark_nesting > 1) failed: memory leak: allocating handle outside HandleMark
Reviewed-by: coleenp, jvernee
2021-06-30 11:37:09 +00:00
Jan Lahoda
4ee400ae43 8268320: Better error recovery for broken patterns in switch
Reviewed-by: vromero
2021-06-30 09:47:22 +00:00
Thomas Schatzl
a0f32cb140 8268906: gc/g1/mixedgc/TestOldGenCollectionUsage.java assumes that GCs take 1ms minimum
Reviewed-by: kbarrett, ayang, lkorinth
2021-06-30 09:14:26 +00:00
Wang Huang
ca283c3ac0 8265907: JVM crashes when matching VectorMaskCmp Node
Co-authored-by: Wang Huang <whuang@openjdk.org>
Co-authored-by: Ai Jiaming <aijiaming1@huawei.com>
Reviewed-by: njian, jbhateja, sviswanathan, dlong, adinn
2021-06-30 08:52:27 +00:00
Jan Lahoda
c3c918928c 8269141: Switch statement containing pattern case label element gets in the loop during execution
Reviewed-by: vromero
2021-06-30 08:45:12 +00:00
Thomas Schatzl
ee0247f056 8263461: jdk/jfr/event/gc/detailed/TestEvacuationFailedEvent.java uses wrong mechanism to cause evacuation failure
Reviewed-by: kbarrett, iwalulya, ayang
2021-06-30 08:05:44 +00:00
Leo Korinth
6b64a7956c 8268350: Remove assert that ensures thread identifier remains the same
Reviewed-by: tschatzl, kbarrett
2021-06-30 07:45:39 +00:00
Thomas Stuefe
3ad20fcdfa 8269571: NMT should print total malloc bytes and invocation count
Reviewed-by: zgu, xliu
2021-06-30 04:38:33 +00:00
Jatin Bhateja
90eb1189ae 8269528: VectorAPI Long512VectorTest fails on X86 KNL target
Reviewed-by: kvn, sviswanathan
2021-06-30 02:33:01 +00:00
Leonid Mesnik
b969136b9f 8245877: assert(_value != __null) failed: resolving NULL _value in JvmtiExport::post_compiled_method_load
Reviewed-by: sspitsyn, dholmes, coleenp
2021-06-30 02:05:25 +00:00
Jie Fu
a661686e1e 8269065: [REDO] vmTestbase/vm/mlvm/anonloader/stress/oome/metaspace/Test.java failed with OutOfMemoryError
Reviewed-by: stuefe, iignatyev
2021-06-30 01:25:28 +00:00
Jesper Wilhelmsson
ee526a2ea8 Merge 2021-06-30 01:19:39 +00:00
Sean Coffey
0d745ae8fd 8269034: AccessControlException for SunPKCS11 daemon threads
Reviewed-by: valeriep
2021-06-29 22:52:45 +00:00
Christoph Langer
d042029509 8269529: javax/swing/reliability/HangDuringStaticInitialization.java fails in Windows debug build
Reviewed-by: serb, psadhukhan, pbansal
2021-06-29 21:02:06 +00:00
Calvin Cheung
1ac8deef4c 8269615: Fix for 8263640 broke Windows build
Reviewed-by: iklam, dcubed
2021-06-29 19:52:06 +00:00
Chris Plummer
7ca753bf0c 8269268: JDWP: Properly fix thread lookup assert in findThread()
Reviewed-by: kevinw, amenkov, sspitsyn
2021-06-29 18:45:52 +00:00
Chris Plummer
401cb0ad55 8269232: assert(!is_jweak(handle)) failed: wrong method for detroying jweak
Reviewed-by: rkennke, amenkov, sspitsyn, sgehwolf
2021-06-29 18:41:19 +00:00
Alex Menkov
7a23c9cbb7 8260540: serviceability/jdwp/AllModulesCommandTest.java failed with "Debuggee error: 'ERROR: transport error 202: bind failed: Address already in use'"
Reviewed-by: sspitsyn, kevinw
2021-06-29 18:39:42 +00:00
Nils Eliasson
b8a16e931b 8268884: C2: Compile::remove_speculative_types must iterate top-down
Reviewed-by: roland, kvn
2021-06-29 18:38:25 +00:00
Calvin Cheung
c1e2a29448 8263640: hs_err improvement: handle class path longer than O_BUFLEN
Reviewed-by: iklam, minqi, dholmes
2021-06-29 17:57:15 +00:00
Man Cao
bb42d75161 8269417: Minor clarification on NonblockingQueue utility
Reviewed-by: kbarrett, iwalulya
2021-06-29 17:03:35 +00:00
Patricio Chilano Mateo
e238cbd596 8269530: runtime/ParallelLoad/ParallelSuperTest.java timeout
Reviewed-by: dholmes, coleenp
2021-06-29 14:35:13 +00:00
Jonathan Gibbons
25f9f19af9 8249646: Runtime.exec(String, String[], File) documentation contains literal {@link ...}
Reviewed-by: sundar, iris
2021-06-29 14:31:01 +00:00
Thomas Schatzl
3f2c372396 8269126: Rename G1AllowPreventiveGC option to G1UsePreventiveGC
Reviewed-by: iwalulya, kbarrett
2021-06-29 14:16:21 +00:00
Zhengyu Gu
0d83dc2411 8268699: Shenandoah: Add test for JDK-8268127
Backport-of: e59acd9860
2021-06-29 12:29:06 +00:00
Jie Fu
7010dfdffa 8269517: compiler/loopopts/TestPartialPeelingSinkNodes.java crashes with -XX:+VerifyGraphEdges
Reviewed-by: kvn, dlong
2021-06-29 11:18:23 +00:00
Thomas Schatzl
fc0fd96a5f 8269126: Rename G1AllowPreventiveGC option to G1UsePreventiveGC
Reviewed-by: kbarrett, iwalulya
2021-06-29 08:34:55 +00:00
Andrew Haley
a97715755d 8261579: AArch64: Support for weaker memory ordering in Atomic
Reviewed-by: adinn, shade
2021-06-29 07:39:24 +00:00
Yumin Qi
ee1e202bc3 8268821: Split systemDictionaryShared.cpp
Reviewed-by: erikj, ccheung, iklam
2021-06-28 23:20:28 +00:00
Jesper Wilhelmsson
03d54e6ef1 Merge 2021-06-28 23:00:32 +00:00
Mandy Chung
56240690f6 8269426: Rename test/jdk/java/lang/invoke/t8150782 to accessClassAndFindClass
Reviewed-by: jvernee
2021-06-28 19:52:27 +00:00
Weijun Wang
e9b2c058a4 8269409: Post JEP 411 refactoring: core-libs with maximum covering > 10K
Reviewed-by: lancea, naoto
2021-06-28 19:05:33 +00:00
Xin Liu
09bb84685f 8267952: async logging supports to dynamically change tags and decorators
Reviewed-by: dholmes, phh
2021-06-28 18:17:45 +00:00
Daniel D. Daugherty
20640a57f3 8269534: Remove java/util/concurrent/locks/Lock/TimedAcquireLeak.java from ProblemList.txt
Reviewed-by: iignatyev, tschatzl
2021-06-28 17:30:41 +00:00
Alexey Semenyuk
efe8423d8c 8269403: Fix jpackage tests to gracefully handle jpackage app launcher crashes
Reviewed-by: almatvee, herrick
2021-06-28 16:55:20 +00:00
Vladimir Kozlov
8d09596f27 8269304: Regression ~5% in 2005 in b27
Reviewed-by: dlong, roland
2021-06-28 15:52:09 +00:00
Albert Mingkun Yang
d0d26f5c55 8269433: Remove effectively unused ReferenceProcessor::_enqueuing_is_done
Reviewed-by: kbarrett, tschatzl
2021-06-28 14:13:32 +00:00
Jim Laskey
e4c5446340 8268236: The documentation of the String.regionMatches method contains error
Reviewed-by: rriggs, dfuchs
2021-06-28 13:51:07 +00:00
Coleen Phillimore
29bc381da5 8268902: Testing for threadObj != NULL is unnecessary in suspend handshake
Reviewed-by: pchilanomate, dcubed
2021-06-28 13:13:32 +00:00
Albert Mingkun Yang
87ff27786b 8269222: Incorrect number of workers reported for reference processing
Reviewed-by: tschatzl, sangheki
2021-06-28 10:47:20 +00:00
Andrew Haley
4d2412ef3e 8269122: The use of "extern const" for Register definitions generates poor code
Reviewed-by: adinn, kbarrett, kvn
2021-06-28 09:14:41 +00:00
David Holmes
f45be1519e 8269003: Update the java manpage for JDK 18
Reviewed-by: minqi
2021-06-28 02:23:23 +00:00
Jesper Wilhelmsson
a29953d805 Merge 2021-06-27 23:51:05 +00:00
David Holmes
8bed35343d 8269261: The PlaceHolder code uses Thread everywhere but is always dealing with JavaThreads
Reviewed-by: ccheung, coleenp
2021-06-27 22:23:42 +00:00
Christoph Göttschkes
561a3a5077 8269129: Multiple tier1 tests in hotspot/jtreg/compiler are failing for client VMs
Reviewed-by: kvn, iveresov
2021-06-27 13:12:51 +00:00
Dean Long
d9cb068f4b 8258746: illegal access to global field _jvmci_old_thread_counters by terminated thread causes crash
Reviewed-by: dholmes, kvn
2021-06-26 20:07:04 +00:00
Mandy Chung
6eb734a60f 8266269: Lookup::accessClass fails with IAE when accessing an arrayClass with a protected inner class as component class
Reviewed-by: chegar, alanb
2021-06-26 18:27:28 +00:00
Mandy Chung
3d0d27ce57 8269351: Proxy::newProxyInstance and MethodHandleProxies::asInterfaceInstance should reject sealed interfaces
Reviewed-by: darcy, alanb
2021-06-26 16:46:57 +00:00
Alexander Zvegintsev
51a1299b68 8264125: Specification of Taskbar::getIconImage doesn't mention that the returned image might not be equal to the Taskbar::setIconImage one. (eg on Mac OS)
Reviewed-by: kizune, prr
2021-06-26 15:57:45 +00:00
Dongbo He
3b83bc1bc3 8268427: Improve AlgorithmConstraints:checkAlgorithm performance
Co-authored-by: GaofengZhang <zhanggaofeng9@huawei.com>
Reviewed-by: xuelei, ascarpino
2021-06-26 09:54:47 +00:00
Vladimir Kozlov
824a51693e 8269260: Add AVX512 and other SSE + AVX combinations testing for tests which generate vector instructions
Reviewed-by: iveresov, dlong
2021-06-25 22:48:56 +00:00
Alex Menkov
1404e4bf44 8269302: serviceability/dcmd/framework/InvalidCommandTest.java still fails after JDK-8268433
Reviewed-by: kevinw, dcubed
2021-06-25 22:10:48 +00:00
Alexander Matveev
fb0a95fed4 8269036: tools/jpackage/share/AppImagePackageTest.java failed with "hdiutil: create failed - Resource busy"
Reviewed-by: asemenyuk, herrick
2021-06-25 21:27:35 +00:00
Brian Burkhalter
68ef21db41 4847239: (spec) File.createTempFile() should make it clear that it doesn't create the temporary directory
Reviewed-by: naoto, lancea
2021-06-25 19:08:35 +00:00
Brian Burkhalter
3fae4b3720 6633375: FileOutputStream_md.c should be merged into FileOutputStream.c
Reviewed-by: naoto
2021-06-25 19:07:39 +00:00
Brian Burkhalter
5ebed06e8a 8269074: (fs) Files.copy fails to copy from /proc on some linux kernel versions
Reviewed-by: alanb, vtewari
2021-06-25 19:06:42 +00:00
Joe Wang
d799563ac0 8256919: BCEL: Utility.encode forget to close
Reviewed-by: lancea, bpb, naoto
2021-06-25 18:42:07 +00:00
Sandhya Viswanathan
1e3b418a53 8269335: Unable to load svml library
Reviewed-by: psandoz
2021-06-25 18:31:18 +00:00
Naoto Sato
223759fb8a 8266901: Clarify the method description of Duration.toDaysPart()
Reviewed-by: bpb, rriggs, lancea, iris, scolebourne
2021-06-25 18:25:57 +00:00
Patrick Concannon
35c4702055 8268967: Update java.security to use switch expressions
Reviewed-by: xuelei
2021-06-25 16:34:18 +00:00
Thomas Stuefe
b565459f83 8267138: Stray suffix when starting gtests via GTestWrapper.java
Reviewed-by: shade
2021-06-25 16:33:19 +00:00
Patrick Concannon
1d167978e5 8268469: Update java.time to use switch expressions
Reviewed-by: lancea, naoto, dfuchs, iris, chegar
2021-06-25 15:42:38 +00:00
Jan Lahoda
4eb321298a 8268871: Adjust javac to updated exhaustiveness specification
Reviewed-by: vromero
2021-06-25 09:52:06 +00:00
Markus Grönlund
ffa34ed429 8265919: RunThese30M fails "assert((!(((((JfrTraceIdBits::load(value)) & ((1 << 4) << 8)) != 0))))) failed: invariant"
Reviewed-by: egahlin
2021-06-25 09:41:23 +00:00
Ludovic Henry
fdcae6653c 8269092: Add OldObjectSampleEvent.allocationSize field
Reviewed-by: egahlin, jbachorik
2021-06-25 08:30:30 +00:00
Denghui Dong
fd43d9cb40 8269225: JFR.stop misses the written info when the filename is only specified by JFR.start
Reviewed-by: egahlin
2021-06-25 08:15:34 +00:00
Aleksey Shipilev
3a8f3d6cac 8269280: (bf) Replace StringBuffer in *Buffer.toString()
Reviewed-by: alanb, chegar, bpb
2021-06-25 08:08:10 +00:00
Scott Gibbons
c37988d079 8268276: Base64 Decoding optimization for x86 using AVX-512
Reviewed-by: erikj, sviswanathan, kvn
2021-06-25 03:19:48 +00:00
David Holmes
08ee7ae672 8268855: Cleanup name handling in the Thread class and subclasses
Reviewed-by: lfoltan, coleenp
2021-06-24 23:58:32 +00:00
Zhengyu Gu
c79034e0c9 8269303: Remove unnecessary forward declaration of PSPromotionManager in cpCache.hpp
Reviewed-by: kbarrett
2021-06-24 21:02:16 +00:00
Coleen Phillimore
42968db173 8269293: ObjectMonitor thread id fields should be 64 bits.
Reviewed-by: mgronlun, dcubed
2021-06-24 19:34:17 +00:00
Patricio Chilano Mateo
2fd7943ec1 8256425: Obsolete Biased Locking in JDK 18
Reviewed-by: kvn, dholmes, dcubed, rrich
2021-06-24 18:54:41 +00:00
Christoph Göttschkes
595446bff4 8269087: CheckSegmentedCodeCache test fails in an emulated-client VM
Reviewed-by: iveresov, kvn
2021-06-24 16:49:45 +00:00
Yumin Qi
7c31903dd3 8267075: jcmd VM.cds should print directory of the output files
Reviewed-by: ccheung
2021-06-24 14:52:47 +00:00
Aleksey Shipilev
e515873f88 8269216: Useless initialization in com/sun/crypto/provider/PBES2Parameters.java
Reviewed-by: valeriep
2021-06-24 06:36:30 +00:00
Alex Menkov
51d915979c 8236212: CompiledMethodLoad and CompiledMethodUnload events can be posted in START phase
Reviewed-by: sspitsyn, cjplummer
2021-06-24 00:29:36 +00:00
Alex Menkov
280f2d57d1 8268433: serviceability/dcmd/framework/VMVersionTest.java fails with Unable to send object throw not established PipeIO Listener Thread connection
Reviewed-by: sspitsyn, cjplummer
2021-06-24 00:28:45 +00:00
Coleen Phillimore
f375916417 8269186: [REDO] Remove CodeCache::mark_for_evol_deoptimization() method
Reviewed-by: hseigel, lfoltan, sspitsyn
2021-06-23 21:11:06 +00:00
Mahendra Chhipa
7621fa37ef 8268464: Remove dependancy of TestHttpsServer, HttpTransaction, HttpCallback from open/test/jdk/sun/net/www/protocol/https/ tests
Reviewed-by: dfuchs, michaelm
2021-06-23 15:19:10 +00:00
Coleen Phillimore
f3ba2690c5 8256306: ObjectMonitor::_contentions field should not be 'jint'
Reviewed-by: dholmes, stuefe, dcubed
2021-06-23 14:27:31 +00:00
Coleen Phillimore
52d5d1b361 8269188: [BACKOUT] Remove CodeCache::mark_for_evol_deoptimization() method
Reviewed-by: dholmes, sspitsyn
2021-06-23 14:26:30 +00:00
Harold Seigel
f2e690e0ee 8268720: Unspecified checks on NameAndType constants should not be performed
Reviewed-by: dholmes, lfoltan
2021-06-23 12:11:37 +00:00
miao zheng
2c29d790ca 8269206: A small typo in comment in test/lib/sun/hotspot/WhiteBox.java
Reviewed-by: dholmes
2021-06-23 08:51:35 +00:00
Aleksey Shipilev
6237630664 8269120: Build failure with GCC 6.3.0 after JDK-8017163
Reviewed-by: iwalulya, tschatzl, kbarrett
2021-06-23 07:03:51 +00:00
Thomas Schatzl
a5e4307050 8269134: Remove sparsePRT.inline.hpp after JDK-8017163
Reviewed-by: iwalulya, kbarrett
2021-06-23 06:51:53 +00:00
Aleksey Shipilev
17daf32a07 8269138: Move typeArrayOop.inline.hpp include to vectorSupport.cpp
Reviewed-by: stefank, vlivanov
2021-06-23 06:27:40 +00:00
Joshua Zhu
36d82b6ef1 8268858: Determine register pressure automatically by the number of available registers for allocation
Reviewed-by: kvn, dlong
2021-06-23 03:54:00 +00:00
miao zheng
ae3eedce9d 8268727: Remove unused slowpath locking method in OptoRuntime
Reviewed-by: dlong
2021-06-23 02:45:58 +00:00
Guoxiong Li
cd678a383f 8268368: Adopt cast notation for JavaThread conversions
Reviewed-by: dholmes, stefank
2021-06-23 02:21:24 +00:00
Jesper Wilhelmsson
b6cfca8a89 Merge 2021-06-23 01:05:44 +00:00
Kim Barrett
0c693e2f03 8268290: Improve LockFreeQueue<> utility
Reviewed-by: iwalulya, tschatzl
2021-06-22 17:43:59 +00:00
Coleen Phillimore
33c23a1cf2 8264941: Remove CodeCache::mark_for_evol_deoptimization() method
Reviewed-by: kvn, vlivanov, sspitsyn
2021-06-22 16:09:17 +00:00
Matthias Baesken
18a1dd261c 8269031: linux x86_64 check for binutils 2.25 or higher after 8265783
Reviewed-by: ihse, erikj
2021-06-22 13:28:41 +00:00
Yi Yang
2e639dd34a 8267657: Add missing PrintC1Statistics before incrementing counters
Reviewed-by: iveresov
2021-06-22 08:30:08 +00:00
Denghui Dong
1f0ea7c3d6 8268857: Merge VM_PrintJNI and VM_PrintThreads and remove the unused field 'is_deadlock' of DeadlockCycle
Reviewed-by: dholmes
2021-06-22 08:28:18 +00:00
Stefan Karlsson
1a818154cf 8269077: TestSystemGC uses "require vm.gc.G1" for large pages subtest
Reviewed-by: tschatzl, kbarrett
2021-06-22 07:44:25 +00:00
Jesper Wilhelmsson
0458113c6b Merge 2021-06-21 23:09:01 +00:00
Thomas Schatzl
cd20c01942 8268458: Add verification type for evacuation failures
Reviewed-by: kbarrett, iwalulya
2021-06-21 11:12:29 +00:00
Thomas Schatzl
a58c477c49 8268952: Automatically update heap sizes in G1MonitoringScope
Reviewed-by: kbarrett, iwalulya
2021-06-21 11:11:14 +00:00
Christoph Göttschkes
cbec37d45d 8269029: compiler/codegen/TestCharVect2.java fails for client VMs
Reviewed-by: kvn, jiefu
2021-06-21 11:08:33 +00:00
Thomas Schatzl
1692fd2eba 8017163: G1: Refactor remembered sets
8048504: G1: Investigate replacing the coarse and fine grained data structures in the remembered sets
6949259: G1: Merge sparse and fine remembered set hash tables

Co-authored-by: Ivan Walulya <iwalulya@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Reviewed-by: sjohanss, iwalulya
2021-06-21 10:06:05 +00:00
Joel Borggrén-Franck
0b8a0e2b58 8266082: AssertionError in Annotate.fromAnnotations with -Xdoclint
Reviewed-by: vromero
2021-06-21 08:39:35 +00:00
Jesper Wilhelmsson
b7d78a5b66 Merge 2021-06-18 23:04:20 +00:00
Boris Ulasevich
8f2456e5b0 8267042: bug in monitor locking/unlocking on ARM32 C1 due to uninitialized BasicObjectLock::_displaced_header
Co-authored-by: Chris Cole <chris@sageembedded.com>
Reviewed-by: dsamersoff
2021-06-18 16:25:25 +00:00
Albert Mingkun Yang
5ae9a12858 8268964: Remove unused ReferenceProcessorAtomicMutator
Reviewed-by: tschatzl, pliden
2021-06-18 11:48:59 +00:00
Julia Boes
f4d20b215e 8268900: com/sun/net/httpserver/Headers.java: Fix indentation and whitespace
Reviewed-by: dfuchs, chegar, michaelm
2021-06-18 09:35:48 +00:00
Jesper Wilhelmsson
a051e735cd Merge 2021-06-18 00:53:09 +00:00
Rajan Halade
58e6e6d919 8268678: LetsEncryptCA.java test fails as Let’s Encrypt Authority X3 is retired
Reviewed-by: xuelei
2021-06-18 00:49:40 +00:00
Ioi Lam
bb24fa652a 8267189: Remove duplicated unregistered classes from dynamic archive
Reviewed-by: ccheung, minqi
2021-06-17 22:19:23 +00:00
Xin Liu
fa3b44d438 8268638: semaphores of AsyncLogWriter may be broken when JVM is exiting.
Reviewed-by: dholmes, phh
2021-06-17 20:27:14 +00:00
Thomas Schatzl
f2afe0a513 8268556: Use bitmap for storing regions that failed evacuation
Reviewed-by: kbarrett, iwalulya, sjohanss
2021-06-17 17:22:09 +00:00
Michael McMahon
2d088fa91d 8268294: Reusing HttpClient in a WebSocket.Listener hangs.
Reviewed-by: dfuchs
2021-06-17 07:13:59 +00:00
David Holmes
e84461072a 8268927: Windows: link error: unresolved external symbol "int __cdecl convert_to_unicode(char const *,wchar_t * *)"
Reviewed-by: stuefe
2021-06-17 07:02:47 +00:00
Jesper Wilhelmsson
3637e50b30 Merge 2021-06-17 01:05:54 +00:00
Xin Liu
02c9bf087e 8268852: AsyncLogWriter should not overide is_Named_thread()
Reviewed-by: dholmes, ysuenaga
2021-06-16 23:54:21 +00:00
Rajan Halade
b836b83b2a 8259338: Add expiry exception for identrustdstx3 alias to VerifyCACerts.java test
Reviewed-by: xuelei
2021-06-16 17:10:40 +00:00
Coleen Phillimore
c20f80a4d2 8259066: Obsolete -XX:+AlwaysLockClassLoader
Reviewed-by: hseigel
2021-06-16 16:34:08 +00:00
Ioi Lam
e4908a439a 8268778: CDS check_excluded_classes needs DumpTimeTable_lock
Reviewed-by: ccheung, minqi
2021-06-16 16:05:19 +00:00
Coleen Phillimore
72b3b0af08 8267752: KVHashtable doesn't deallocate entries
Reviewed-by: iklam, stuefe
2021-06-16 12:43:11 +00:00
Coleen Phillimore
af13fe1107 8267870: Remove unnecessary char_converter during class loading
Reviewed-by: dholmes, iklam
2021-06-16 12:41:51 +00:00
Calvin Cheung
3ad658677b 8268078: ClassListParser::_interfaces should be freed
Reviewed-by: minqi, iklam, coleenp
2021-06-16 02:17:41 +00:00
Denghui Dong
48d456281e 8268780: Use 'print_cr' instead of 'print' for the message 'eliminated <owner is scalar replaced>'
Reviewed-by: cjplummer, zgu, dcubed
2021-06-16 02:08:37 +00:00
Jesper Wilhelmsson
e0f6f70d3f Merge 2021-06-15 22:45:28 +00:00
Kim Barrett
00e33a45fe 8268647: Generation::expand_and_allocate has unused "parallel" argument
Reviewed-by: ayang, tschatzl
2021-06-15 22:05:15 +00:00
Sergey Bylokhov
0b09129fae 8268620: InfiniteLoopException test may fail on x86 platforms
Reviewed-by: prr, trebari, azvegint
2021-06-15 15:29:33 +00:00
Nils Eliasson
d384093289 8268125: ZGC: Clone oop array gets wrong acopy stub
Reviewed-by: kvn, vlivanov
2021-06-15 08:53:39 +00:00
David Holmes
9f3c7e74ff 8238649: Call new Win32 API SetThreadDescription in os::set_native_thread_name
Co-authored-by: Markus GaisBauer <markus.gaisbauer@dynatrace.com>
Reviewed-by: stuefe, luhenry
2021-06-15 02:12:57 +00:00
Leonid Mesnik
2e70bc35df 8268626: Remove native pre-jdk9 support for jtreg failure handler
Reviewed-by: erikj
2021-06-14 19:35:24 +00:00
Zhengyu Gu
e59acd9860 8268699: Shenandoah: Add test for JDK-8268127
Reviewed-by: rkennke
2021-06-14 18:07:34 +00:00
Jesper Wilhelmsson
17295b1bb0 Merge
Reviewed-by: dcubed
2021-06-14 15:55:57 +00:00
Anton Litvinov
c0b4407d09 8262731: [macOS] Exception from "Printable.print" is swallowed during "PrinterJob.print"
Reviewed-by: prr
2021-06-14 13:27:59 +00:00
Markus Grönlund
c4207355d3 8267579: Thread::cooked_allocated_bytes() hits assert(left >= right) failed: avoid underflow
Reviewed-by: dcubed, stefank, kbarrett
2021-06-14 10:41:00 +00:00
Rafael Winterhalter
51f3427e9b 8266791: Annotation property which is compiled as an array property but changed to a single element throws NullPointerException
Reviewed-by: darcy, jfranck
2021-06-14 08:24:24 +00:00
Ioi Lam
ba601b8407 8268520: VirtualSpace::print_on() should be const
Reviewed-by: kbarrett, stuefe, tschatzl
2021-06-14 05:55:20 +00:00
David Holmes
1ba4e0cada 8257038: Remove expired flags in JDK 18
Reviewed-by: kbarrett, ccheung
2021-06-13 22:16:12 +00:00
Daniel D. Daugherty
90c1034cd4 8268644: ProblemList serviceability/sa/ClhsdbJstackXcompStress.java in -Xcomp mode
Reviewed-by: azvegint
2021-06-12 13:53:07 +00:00
Yi Yang
5cee23a9ed 8265518: C1: Intrinsic support for Preconditions.checkIndex
Reviewed-by: dfuchs, iveresov
2021-06-12 01:03:50 +00:00
Joe Darcy
a466b49e71 8267634: Update --release 17 symbol information for JDK 17 build 26
Reviewed-by: jjg, iris
2021-06-11 23:10:00 +00:00
ScientificWare
49112fa575 8265909: build.tools.dtdbuilder.DTDBuilder.java failed detecting missing path of dtd_home
Reviewed-by: erikj
2021-06-11 12:25:37 +00:00
Igor Ignatyev
94d0b0f981 8268565: runtime/records/RedefineRecord.java should be run in driver mode
Reviewed-by: hseigel
2021-06-11 02:44:08 +00:00
Hamlin Li
df65237b9a 8267930: Refine code for loading hsdis library
Reviewed-by: whuang, neliasso, ysuenaga
2021-06-11 01:20:47 +00:00
Daniel D. Daugherty
2e900da5f7 8268574: ProblemList tests failing due to UseBiasedLocking going away
Reviewed-by: cjplummer
2021-06-10 23:08:56 +00:00
Calvin Cheung
4fd2a14997 8267556: Enhance class paths check during runtime
Reviewed-by: minqi, iklam
2021-06-10 19:50:44 +00:00
Leonid Mesnik
8c8422e0f8 8267893: Improve jtreg test failure handler do get native/mixed stack traces for cores and live processes
Reviewed-by: iignatyev
2021-06-10 17:45:53 +00:00
Leonid Mesnik
1e1039a7c8 8268223: Problemlist vmTestbase/nsk/jdi/HiddenClass/events/events001.java
Reviewed-by: amenkov, sspitsyn
2021-06-10 17:41:11 +00:00
Igor Ignatyev
78cb6776b6 8268539: several serviceability/sa tests should be run in driver mode
Reviewed-by: sspitsyn
2021-06-10 17:06:19 +00:00
UncleNine
72672277e4 8268361: Fix the infinite loop in next_line
Reviewed-by: dholmes, sgehwolf, sspitsyn
2021-06-10 16:40:29 +00:00
Joe Darcy
b018c450e5 8267630: Start of release updates for JDK 18
8267632: Add source 18 and target 18 to javac
8267631: Add SourceVersion.RELEASE_18

Reviewed-by: iris, erikj, dholmes
2021-06-10 16:22:14 +00:00
13359 changed files with 1249409 additions and 649779 deletions

File diff suppressed because it is too large Load Diff

4
.gitignore vendored
View File

@@ -16,3 +16,7 @@ NashornProfile.txt
**/JTreport/**
**/JTwork/**
/src/utils/LogCompilation/target/
/.project/
/.settings/
*.class
.idea/workspace.xml

664
.hgtags
View File

@@ -1,664 +0,0 @@
3cc80be736f24704e505ad8ddaa598dec3fa2ed3 jdk-9+181
e2b70be325bd10dae4c06f74c46d70d480854916 jdk-9+179
5b16a1c3ccffff2a82c88bb7ea894c4ff1c9ebde jdk-9+180
43bf6f30fcba031ecf0cc7e511efe3a8179d0f77 jdk-9+176
d9f6bc6ba599d0487dc18b2fbdb6c34eedf6f958 jdk-9+177
bc9df7dd63ec76f50fafeb4acc44465044662f0a jdk-9+178
994036e74ab805bcc09afa0646be17a725bec42f jdk-9+175
94680c6d60ecd9ed3ffd1847706efde7eb947afc jdk-9+174
6dd7fda42bab7ecf648cafb0a4e9b4ca11b3094f jdk-9+173
dad6746278facbbea57dd462cb56fb743dc0a5f0 jdk-9+172
643b5f18c2656fe91b69fea85b07b98d5fad394d jdk-9+171
898cbe31fbdae2d25d141384fac746cc244a730c jdk-9+170
c7efde2b60fc1ec04630be769d9ad60efb39c39c jdk-9+169
8fd0a4569191f33c98ee90c2709174a342fefb0d jdk-9+167
fcabc74bd44e56c7419d111d59b95669ecb33c55 jdk-9+168
d3e973f1809606c67412361041ad197e50fe8cec jdk-9+166
3965b747cfe1e6cbd66b8739da5a1ea6ec6985e9 jdk-9+165
d16aebbb56d37f12e0c0b0a4fb427db65e1fb1a8 jdk-9+162
18c41483a082e097ac2f5f983c1226ed94aa4215 jdk-9+163
32db52c675e7d5bc413605d2e89b68b608b19be0 jdk-9+164
fd1497902bbe3aa24b21f270ecdcb8de5f7aa9ac jdk-9+159
6aa8be0c4e054fe8b3ab016ae00d16d680f92145 jdk-9+160
f6883b1a5a6478437cd4181c4bd45328ab24feaf jdk-9+161
fa3e76b477829afc4476f0b725cfaa440a6fd917 jdk-9+157
b5015f742ba648184bb7fc547197bd33ebfde30d jdk-9+158
1cc8dd79fd1cd13d36b385196271a29632c67c3b jdk7-b24
bf2517e15f0c0f950e5b3143c4ca11e2df73dcc1 jdk7-b25
5ae7db536e3fcf6be78e45b240a9058095e0ed38 jdk7-b26
67052ac87fc927d048e62ec54ff42adb230d3f7c jdk7-b27
18dc4ba4739a537fd146f77da51db16efce28da2 jdk7-b28
bfe4572fd301a6fcd120373cdb2eff5d2da0c72c jdk7-b29
bee4731164a06ddece1297ae58db24aca6a1c626 jdk7-b30
cd8b8f500face60d1566d850857a7fccadbd383a jdk7-b31
a9f1805e3ba9ca520cad199d522c84af5433e85a jdk7-b32
6838c1a3296aaa3572364d2ce7d70826cee96286 jdk7-b33
90cf935adb353bb0af4b46fb0677e841fd24c000 jdk7-b34
6d909d5803e3a22850e6c4e5a75b888742ee7e20 jdk7-b35
d718a441936196b93d8bc9f084933af9a4c2a350 jdk7-b36
c2036bf76829c03b99108fffab52e20910a9be4f jdk7-b37
a2879b2837f5a4c87e9542efe69ef138194af8ff jdk7-b38
126f365cec6c3c2c72de934fa1c64b5f082b55b5 jdk7-b39
3c53424bbe3bb77e01b468b4b0140deec33e11fc jdk7-b40
3cb2a607c347934f8e7e86f840a094c28b08d9ea jdk7-b41
caf58ffa084568990cbb3441f9ae188e36b31770 jdk7-b42
41bd0a702bc8ec6feebd725a63e7c3227f82ab11 jdk7-b43
5843778bda89b1d5ac8e1aa05e26930ac90b3145 jdk7-b44
54dffad0bf066791a2793305875250c395011d5f jdk7-b45
04b2620edc72de93671646e4720c5992c74ac8b5 jdk7-b46
0c4657194eec95c08ba478aee9cfc3c295e41657 jdk7-b47
1bf51a4c2627c2f0e0cbcc2cf0421bdb37f1f2b2 jdk7-b48
6b84b04a80afe23262377c60913eebfc898f14c4 jdk7-b49
5da0e6b9f4f18ef483c977337214b12ee0e1fc8f jdk7-b50
a25c5ec5e40e07733d1ff9898a0abe36159288ff jdk7-b51
7a90e89e36d103038f8667f6a7daae34ecfa1ad8 jdk7-b52
d52186ee770dac57950536cd00ccbfdef360b04c jdk7-b53
15096652c4d48dfb9fc0b2cb135304db94c65ba0 jdk7-b54
c8b275d62d6b0a980c510e839b70292245863e85 jdk7-b55
a8134c4ee2cf451cf9b5e1609f39d83ecd53acc5 jdk7-b56
b44f05654c26fcd1f995e712992f9b07ffd7c0c6 jdk7-b57
d60a9ce3c3eabf28f5d50ae839d18be04a551bc2 jdk7-b58
c33e7d38c9210741dbc285507403a4b20bd802a0 jdk7-b59
5a10e4d0b14d7beac53a7b2213ae6864afe1fd3e jdk7-b60
dbb955b1ee59b876dd1f133952b557b48b1d7732 jdk7-b61
6107cbff3130c747d243c25a7874cd59db5744a8 jdk7-b62
dfd8506f74c3731bb169ce93c72612d78ee0413b jdk7-b63
d22867c5f1b295a0a2b3b4bc8999a2676f6e20c3 jdk7-b64
7d3bf00f3cc4f8125de1842521e7567f37dc84b8 jdk7-b65
62109d1b9e7310f29ab51ca6f1d71b899c0ce6b0 jdk7-b66
eb24af1404aec8aa140c4cd4d13d2839b150dd41 jdk7-b67
bca2225b66d78c4bf4d9801f54cac7715a598650 jdk7-b68
1b662b1ed14eb4ae31d5138a36c433b13d941dc5 jdk7-b69
207f694795c448c17753eff1a2f50363106960c2 jdk7-b70
c5d39b6be65cba0effb5f466ea48fe43764d0e0c jdk7-b71
df4bcd06e1d0ab306efa5a44f24a409dc0c0c742 jdk7-b72
ce74bd35ce948d629a356e168797f44b593b1578 jdk7-b73
4e7661eaa211e186674f6cbefec4aef1144ac2a0 jdk7-b74
946518568340c4e511549318f19f47f06b7f5f9b jdk7-b75
09e0b33177af2b98a03c9ca19eedf61440bd1cf6 jdk7-b76
1d0121b741f029dc4b828e4b36ba6fda92907dd7 jdk7-b77
4061c66ba1af1a2e27c2c839ba887407dd3ce050 jdk7-b78
e9c98378f6b9256c0595ef2985ca5899f0c0e274 jdk7-b79
e6abd38682d237306d6c147c17538ec9e7f8e3a7 jdk7-b80
dcc938ac40cc45f1ef454d76020b5db5d943001c jdk7-b81
a30062be6d9ca1d48579826f870f85974300004e jdk7-b82
34c8199936a1682aa8587857f44cfaf37c2b6381 jdk7-b83
b1e55627a6980b9508854ed0c0f21d4f981b4494 jdk7-b84
b6f633a93ae0ec4555ff4bf756f5e2150c9bdede jdk7-b85
c94d9cc81f495d97817eba9d71b84fc45f7661a5 jdk7-b86
b7456c473862048fa70ed8092313a4ef0a55d403 jdk7-b87
7077b95d42f6b3942a8751bba033801ff50e5889 jdk7-b88
44158f6d3b94c0fa020e33632532473d92d1ea96 jdk7-b89
1d1927f9ec097b62c913921e2dfa5dbaf5dc325b jdk7-b90
308ad8f68b8dd68e22d73dd490e110059b732422 jdk7-b91
ff9031a745d9cc52318f2148e43ca3b07ee08098 jdk7-b92
b5dab6a313fdff4c043250e4d9c8f66fd624d27e jdk7-b93
8bb281f0f91582104d65d032be22522bfd2d8110 jdk7-b94
654298d26561b76dfe3cfcffbbd7078080837300 jdk7-b95
d260f892491e040ae385a8e6df59557a7d721abf jdk7-b96
7e406ebed9a5968b584f3c3e6b60893b5d6d9741 jdk7-b97
db6e660120446c407e2d908d52ec046592b21726 jdk7-b98
c4c8a5bc54f66abc68cd185d9294042121922154 jdk7-b99
2d6ba7a221915bdf0311acc5641c7f3875cb793e jdk7-b100
2548ac036b8fca3326d058d758e6df8355a42469 jdk7-b101
88db80c8e49cea352c2900f689600dc410761c1f jdk7-b102
64770970865839b0443066370e7d476ef47e90cd jdk7-b103
10bc903a228d3a8efdf46fb8c3fcf82a59b88bc5 jdk7-b104
1ce7938efb03224ccc8b3cdd7803eb39e889539c jdk7-b105
6bdae472f77205046703b685eff2ac4f7a0ecf4e jdk7-b106
439de530aac531a360beedba6e2fe51e17292cc0 jdk7-b107
044d31b99ef5609389fc771c422e722e5e224228 jdk7-b108
e02b4d709e177d08d56130a4bc68061e4bbacc7d jdk7-b109
a6442d6bc38a44152e0662688213ce4d2701f42a jdk7-b110
69f3edf083477955b5bd2f754252c7504167d8e1 jdk7-b111
f960f117f1623629f64203e2b09a92a8f6f14ff5 jdk7-b112
1fee41c7ed2b3388970a756a85aa693c0de8407a jdk7-b113
750c1ccb2f2d1ddfa95ab6c7f897fdab2f87f7e9 jdk7-b114
9cb24917216bc68997154f6e9566c3de62acb2f4 jdk7-b115
a4e6aa1f45ad23a6f083ed98d970b5006ea4d292 jdk7-b116
228e73f288c543a8c34e2a54227103ae5649e6af jdk7-b117
2e876e59938a853934aa738c811b26c452bd9fe8 jdk7-b118
4951967a61b4dbbf514828879f57bd1a0d4b420b jdk7-b119
8c840d3ab24f8d0f422b991638acb44b6ab1d98c jdk7-b120
0ce0a2c3a6926677dc507839a820ab6625541e5a jdk7-b121
6f09ea1c034f087916d2a8cf0d22be768400118f jdk7-b122
142129d8599d1f56b29387e7f9a5fad53b6d61df jdk7-b123
aa894c225b1a517b665ac2a58295217ea2245134 jdk7-b124
f658ec2730fa29323c36d23c27e54c7219ef5e16 jdk7-b125
f1df068076986679ea1105532a65529d63a89060 jdk7-b126
f83cd8bd35c678f94e526990e03dc838d0ec2717 jdk7-b127
7da3f5f30855dec6bf3a86529e87dee883b90c72 jdk7-b128
6823ea7eb8eb6fab405d7edb7a5c2f690887a2fa jdk7-b129
a36beda9b9de91231d92a2c529f21cc218fcf8d5 jdk7-b130
d8af56da89bc0fc02a6b6ad78f51157a46d665ab jdk7-b131
d61280d36755d1941fb487f554e8b7a6d0bca6a1 jdk7-b132
fd444c61e7ed3d92b2a730da7c737b02191b682f jdk7-b133
def8e16dd237a47fc067d66d4c616d7baaec6001 jdk7-b134
f75a1efb141210901aabe00a834e0fc32bb8b337 jdk7-b135
46acf76a533954cfd594bb88fdea79938abfbe20 jdk7-b136
d1cf7d4ee16c341f5b8c7e7f1d68a8c412b6c693 jdk7-b137
62b8e328f8c8c66c14b0713222116f2add473f3f jdk7-b138
955488f34ca418f6cdab843d61c20d2c615637d9 jdk7-b139
f4298bc3f4b6baa315643be06966f09684290068 jdk7-b140
5d86d0c7692e8f4a58d430d68c03594e2d3403b3 jdk7-b141
92bf0655022d4187e9b49c1400f98fb3392a4630 jdk7-b142
4a05062d8c4dfa3edec3faf1052af28baba5adff jdk7-b143
07a8728ad49ef6dfa469c3a8bf5ab1e9c80bed5c jdk7-b144
8294c99e685a1f6d1d37c45cd97854cf74be771e jdk7-b145
dca1e8a87e8f756f95b99bac8fe795750d42e1b0 jdk7-b146
a2a589fc29543ed32919c78a1810ad93a6fcf5bc jdk7-b147
de9223c94f9c710b3eebb599cd3586f36c8b94a9 jdk8-b01
1b9d19620eb4606a25b1e28f86d66c8bfa867e06 jdk8-b02
6815e85bf96d6d3875954f9777660372cd70d065 jdk8-b03
31f5c34d78081572ad9a2401c0bb0c6b9711dd65 jdk8-b04
c4f9ea1ecb55ff44e0dd21d2888ead308c86a3aa jdk8-b05
429da7734bf491bccde2a752fae97e9f225896dc jdk8-b06
bc5710332b294676661103bb20d47d2ea3ba8def jdk8-b07
24ee504f80412770c6874836cd9e55b536427b1d jdk8-b08
fbf3cabc9e3bb1fcf710941d777cb0400505fbe6 jdk8-b09
f651ce87127980c58e3599daba964eba2f3b4026 jdk8-b10
cc1f5ce8e504d350e0b0c28c5f84333f8d540132 jdk8-b11
86db042b3385c338e17f7664447fdc7d406dd19e jdk8-b12
4cc0ef72c812943743ef4765f1100e2fbe2b1a08 jdk8-b13
9ffaa48dbfb0f5936c2b789867d0785faec7071d jdk8-b14
b5060eae3b32fd9f884a09774338cd8186d7fafa jdk8-b15
736a63b854f321c7824b7e47890135f80aee05e3 jdk8-b16
f0eccb2946986fb9626efde7d8ed9c8192623f5c jdk8-b17
885050364691ac1ac978305c63f3368a197fb04d jdk8-b18
0ff7113a0882ec82d642cb9f0297b4e497807ced jdk8-b19
6561530ea757c3f3a6fb171c9cc7b3885cdeca85 jdk8-b20
b3a426170188f52981cf4573a2f14d487fddab0d jdk8-b21
e8f03541af27e38aafb619b96863e17f65ffe53b jdk8-b22
498124337041ad53cbaa7eb110f3d7acd6d4eac4 jdk8-b23
7d3720d8c595d1519c31e9ff7366203fc2c61350 jdk8-b24
0071a6d64113a35ba345bb1580c256de5ce17d3e jdk8-b25
6c805d8ed4e5449ea5e4d158c7bdbd7b0b70efd1 jdk8-b26
c51754cddc037b9609e202b9ed38363d8683e7a8 jdk8-b27
16ba58282d117247f480aae7a79b88141ade52a3 jdk8-b28
e070119aa56ee4dc5506c19d2c4d2eecab8ad429 jdk8-b29
23da7804aca0c9c4e6e86532a1453125a76d95ee jdk8-b30
bac81e9f7d57b75fba5ab31b571f3fe0dc08af69 jdk8-b31
2c5208ccb863db936eab523f49450b3fcd230348 jdk8-b32
a6e6d42203e6d35f9e8b31eac25b0021b4dd58ad jdk8-b33
0ae89825c75c9492e44efb3aca3d9ee3d8a209df jdk8-b34
f151d5833912a82cd4f203944da0305c3be83ecc jdk8-b35
98ce9816ae089c959ba1e70fba98423a31c4e9fa jdk8-b36
b3a91113026c99b0da010d41055719ab0d8938f0 jdk8-b37
4cc5610a6dd6227da766ebf9742eb11ff5ded6c0 jdk8-b38
35a5397278779a2f8f3013f81586dc8f30cb149d jdk8-b39
6e4e654931b976304bf6e7b4d0d6db8f75bac5d9 jdk8-b40
c029c972396cea042a0dc67c0f7ccf2fe68007d4 jdk8-b41
5c5a64ec0839df5affe9394b99ff338c363acbca jdk8-b42
69d8a827cdf9236be9694a46d75c710d71dac7d7 jdk8-b43
7e981cb0ad6a194f1fa859f9ad47586db461f269 jdk8-b44
9b19b2302c28f4da6d4078f66234abecfed5688a jdk8-b45
600c9a1feb01633cbcf2341a43d1d21e6497ecd0 jdk8-b46
b820143a6f1ce993c6e6f31db4d64de990f42654 jdk8-b47
086271e35b0a419b38e8bda9bebd70693811df0a jdk8-b48
cecd7026f30cbd83b0601925a7a5e059aec98138 jdk8-b49
38fe5ab028908cf64dd73a43336ba3211577bfc3 jdk8-b50
382651d28f2502d371eca751962232c0e535e57a jdk8-b51
b67041a6cb508da18d2f5c7687e6a31e08bea4fc jdk8-b52
c7aa5cca1c01689a7b1a92411daf83684af05a33 jdk8-b53
7c6aa31ff1b2ae48c1c686ebe1aadf0c3da5be15 jdk8-b54
319f583f66db47395fa86127dd3ddb729eb7c64f jdk8-b55
ffe6bce5a521be40146af2ac03c509b7bac30595 jdk8-b56
2c21c080b11b93efb3851e39e1363e45da805943 jdk8-b57
479d3302a26d7607ba271d66973e59ebf58825b6 jdk8-b58
3bd874584fc01aae92fbc8827e2bd04d8b6ace04 jdk8-b59
5e3adc681779037a2d33b7be6f75680619085492 jdk8-b60
cdaa6122185f9bf512dcd6600f56bfccc4824e8c jdk8-b61
8d9d430b4244b95f5cf1ebe719f834a1ac5d6cd5 jdk8-b62
21ee1dd7b809639284900a128b9b656a592ebc7a jdk8-b63
70fa4b11f26522e69b51fd652215f60ce350bac3 jdk8-b64
a2cf4d4a484378caea2e827ed604b2bbae58bdba jdk8-b65
17820b958ae84f7c1cc6719319c8e2232f7a4f1d jdk8-b66
76cc9bd3ece407d3a15d3bea537b57927973c5e7 jdk8-b67
cb33628d4e8f11e879c371959e5948b66a53376f jdk8-b68
adb5171c554e14cd86f618b5584f6e3d693d5889 jdk8-b69
0d625373c69e2ad6f546fd88ab50c6c9aad01271 jdk8-b70
a41ada2ed4ef735449531c6ebe6cec593d890a1c jdk8-b71
6725b3961f987cf40f446d1c11cd324a3bec545f jdk8-b72
fe94b40ffd9390f6cffcdf51c0389b0e6dde0c13 jdk8-b73
f627eff819628822a0777af8062244352f2a29cf jdk8-b74
f1478a6d25fddd311a84dcbfac50824cc1858bdd jdk8-b75
f407160c280d1c5b00d314c535441ac26f195fee jdk8-b76
d17eb2e13e362085e866d46235314c50cc4661cc jdk8-b77
6d3dcd34b5b962ea1ef9eed0dafdee9e812401bc jdk8-b78
a1313a8d90d17d363a3b2a645dc4030ec204b168 jdk8-b79
3fa21fbf9be7e6b482af43aacb6a09acfa30bdb6 jdk8-b80
e41d716405b209d3eddef8bd4240cec2bd34dcca jdk8-b81
5e8c55025644730385a6f8fa029ecdb2d2c98a07 jdk8-b82
bcebd3fdefc91abb9d7fa0c5af6211b3f8720da6 jdk8-b83
d7ad0dfaa41151bd3a9ae46725b0aec3730a9cd0 jdk8-b84
1872c12529090e1c1dbf567f02ad7ae6231b8f0c jdk8-b85
da9a4c9312816451884aa6db6f18be51a07bff13 jdk8-b86
5ebf6c63714de2c9dcf831074086d31daec819df jdk8-b87
e517701a4d0e25ae9c7945bca6e1762a8c5d8aa6 jdk8-b88
4dec41b3c5e3bb616f0c6f15830d940905aa5d16 jdk8-b89
f09ab0c416185e3cba371e81bcb6a16060c90f44 jdk8-b90
80b6c3172dc2cfceb022411292d290a967f9c728 jdk8-b91
2fd6acba737b01e705e1f7c33588c922a3787f13 jdk8-b92
b72ae39e1329fefae50d4690db4fde43f3841a95 jdk8-b93
0d804e3b955dce406af6a79ac1cc35c696aff7fb jdk8-b94
49fe9c8049132647ad38837a877dd473e6c9b0e5 jdk8-b95
ea73f01b9053e7165e7ba80f242bafecbc6af712 jdk8-b96
0a85476a0b9cb876d5666d45097dac68bef3fce1 jdk8-b97
711eb4aa87de68de78250e0549980936bab53d54 jdk8-b98
2d3875b0d18b3ad1c2bebf385a697e309e4005a4 jdk8-b99
3d34036aae4ea90b2ca59712d5a69db3221f0875 jdk8-b100
edb01c460d4cab21ff0ff13512df7b746efaa0e7 jdk8-b101
bbe43d712fe08e650808d774861b256ccb34e500 jdk8-b102
30a1d677a20c6a95f98043d8f20ce570304e3818 jdk8-b103
b5ed503c26ad38869c247c5e32debec217fd056b jdk8-b104
589f4fdc584e373a47cde0162e9eceec9165c381 jdk8-b105
514b0b69fb9683ef52062fd962a3e0644431f64d jdk8-b106
892889f445755790ae90e61775bfb59ddc6182b5 jdk8-b107
74049f7a28b48c14910106a75d9f2504169c352e jdk8-b108
af9a674e12a16da1a4bd53e4990ddb1121a21ef1 jdk8-b109
b5d2bf482a3ea1cca08c994512804ffbc73de0a1 jdk8-b110
b9a0f6c693f347a6f4b9bb994957f4eaa05bdedd jdk8-b111
ad67c34f79c28a8e755f4a49f313868619d6702c jdk8-b112
4a4dbcf7cb7d3e1a81beaa3b11cd909f69ebc79a jdk8-b113
dfa34ab293faad9b543a24646dbb381bc3ab5586 jdk8-b114
3dd9732b17034f45d111996d1d50287b05a3998c jdk8-b115
aaf663f591aba43ec942263b15ba62759ce26a1e jdk8-b116
31b0e03fcad73d7886b306b4c2e57ad270780d0d jdk8-b117
f5b521ade7a35cea18df78ee86322207729f5611 jdk8-b118
87b743b2263cc53955266411b7797b365a0fb050 jdk8-b119
a1ee9743f4ee165eae59389a020f2552f895dac8 jdk8-b120
13b877757b0b1c0d5813298df85364f41d7ba6fe jdk9-b00
f130ca87de6637acae7d99fcd7a8573eea1cbaed jdk9-b01
b32e2219736e42baaf45daf0ad67ed34f6033799 jdk9-b02
7f655f31f9bcee618cf832f08176ad8c1ed3fdd3 jdk9-b03
099891b1d86f3719e116ac717ffdafc90d037fb7 jdk9-b04
dd311791ad6895a3989020dd6c6c46db87972ab8 jdk9-b05
85dbdc227c5e11429b4fc4a8ba763f50107edd6e jdk9-b06
c826d05f1fb0773f6a28caa763307dd30d90d36e jdk9-b07
b47e021195757f8f45582124ea7cad48ccf5f872 jdk9-b08
efe7dbc6088691757404e0c8745f894e3ca9c022 jdk9-b09
8c0bdeecd7c0f9ce3f3762a51991f755cb3a972c jdk9-b10
0809c9a4d36e6291f1c4384604c4bbf29e975722 jdk9-b11
0d1f816217dce5e72187f167cc1816080cbeb453 jdk9-b12
1a30593dcb9802faec3b6edb24d86ca088594e4e jdk9-b13
97932f6ad950ae5a73a9da5c96e6e58503ff646b jdk9-b14
74eb0778e4f2dbff6628e718378449fba27c4265 jdk9-b15
4a09f5d30be844ac6f714bdb0f63d8c3c08b9a98 jdk9-b16
410bccbded9e9cce80f1e13ad221e37ae97a3986 jdk9-b17
c5495e25c7258ab5f96a1ae14610887d76d2be63 jdk9-b18
2dcf544eb7ed5ac6a3f7813a32e33acea7442405 jdk9-b19
89731ae72a761afdf4262e8b9513f302f6563f89 jdk9-b20
28dd0c7beb3cad9cf95f17b4b5ad87eb447a4084 jdk9-b21
9678e0db8ff6ed845d4c2ee4a3baf7f386a777e5 jdk9-b22
39cfdc2dcaf3f195c55398e4e677ab053b07e3d2 jdk9-b23
d9ce05f36ffec3e5e8af62a92455c1c66a63c320 jdk9-b24
13a5c76976fe48e55c9727c25fae2d2ce7c05da0 jdk9-b25
cd6f4557e7fea5799ff3762ed7a80a743e75d5fd jdk9-b26
d06a6d3c66c08293b2a9650f3cc01fd55c620e65 jdk9-b27
f4269e8f454eb77763ecee228a88ae102a9aef6e jdk9-b28
c36c0092693707a8255561433647e8c3cd724ccd jdk9-b29
b2287cac7813c70ed7f679d9a46fe774bd4005f8 jdk9-b30
9d0e6639a4d71b63507dd94b1a028e963b27e798 jdk9-b31
1b1ec4291abc0ba6da7bf79b754f08dd759a4a0c jdk9-b32
f0c5e4b732da823bdaa4184133675f384e7cd68d jdk9-b33
9618201c5df28a460631577fad1f61e96f775c34 jdk9-b34
a137992d750c72f6f944f341aa19b0d0d96afe0c jdk9-b35
41df50e7303daf73c0d661ef601c4fe250915de5 jdk9-b36
b409bc51bc23cfd51f2bd04ea919ec83535af9d0 jdk9-b37
948cceef81ba4cb34bc233e7cc5952951ff04e88 jdk9-b38
4e7c4d692e934cb9023af8201e7c2b510e9c4ee1 jdk9-b39
82f4cb44b2d7af2352f48568a64b7b6a5ae960cd jdk9-b40
9fffb959eb4197ff806e4ac12244761815b4deee jdk9-b41
3107be2ba9c6e208a0b86bc7100a141abbc5b5fb jdk9-b42
6494b13f88a867026ee316b444d9a4fa589dd6bd jdk9-b43
abbfccd659b91a7bb815d5e36fed635dcdd40f31 jdk9-b44
bfc24ae2b900187585079bb11e66e459d1e525fe jdk9-b45
722378bc599e38d9a1dd484de30f10dfd7b21438 jdk9-b46
8327024a99559982b848e9c2191da9c0bf8838fd jdk9-b47
b2f9702efbe95527ea3a991474fda23987ff1c5c jdk9-b48
5b8db585a33c3cc48e70e688ceee57dd9271dc5d jdk9-b49
1550b2f6b63d1411fa84dc7bbc6f04809aedb43f jdk9-b50
6efe265424e3f1ea596408a1f71baf2de316c772 jdk9-b51
d6224d6021459ac8b3832e822f5acc849fa944af jdk9-b52
874d76e4699dfcd61ae1826c9fe0ddc1610ad598 jdk9-b53
82cd31c5d6ca8d4c1653f4eb1c09eb2d9a3b2813 jdk9-b54
c97e2d1bad9708d379793ba2a4c848eda14c741e jdk9-b55
47544495db2d3d2edf0f85862d8715592fdb919f jdk9-b56
ddb95d8f169b09544cc17e72a6baaff2400092f5 jdk9-b57
f40752db7773ca0c737f2ad88371e35c57fdfed7 jdk9-b58
da950f343762a856d69751570a4c07cfa68a415b jdk9-b59
38f98cb6b33562a926ec3b79c7b34128be37647d jdk9-b60
ac3f5a39d4ff14d70c365e12cf5ec8f2abd52a04 jdk9-b61
e7dbbef69d12b6a74dfad331b7188e7f893e8d29 jdk9-b62
989253a902c34dcb7564695161c9200a5fbb7412 jdk9-b63
8ffdeabc7c2b9a8280bf46cae026ac46b4d31c26 jdk9-b64
4915246064b2f89d5f00c96e758686b7fdad36a6 jdk9-b65
ff3fc75f3214ad7e03595be1b0d0f38d887b6f0e jdk9-b66
56166ce66037952fa21e9f680b31bf8eb47312c0 jdk9-b67
5b500c93ce4822d47061cd518ff3f72d9d8cb5b5 jdk9-b68
d69c968463f0ae5d0b45de3fc14fe65171b23948 jdk9-b69
43d0179ee9de3bfffae3417f09e07eb6d8efc963 jdk9-b70
f66c185284727f6e6ffd27e9c45ed2dd9da0a691 jdk9-b71
61d2d0629b6dbf4c091dc86151ade1b3ef34fffe jdk9-b72
9b3a9d72f07b40c648de79961679f42283af1bb5 jdk9-b73
7c577fda1855d03c04546694d514678f596508c9 jdk9-b74
f55df5cfe11c97e4b58998b76f5bd00a73cde12d jdk9-b75
eeea9adfd1e3d075ef82148c00a4847a1aab4d26 jdk9-b76
c25e882cee9622ec75c4e9d60633539a2f0a8809 jdk9-b77
c8753d0be1778944dc512ec86a459941ea1ad2c3 jdk9-b78
3966bd3b8167419aa05c6718a4af1cf54b1e3c58 jdk9-b79
3c9f5bd909ae7187f24622ee4b69f8a5756a9271 jdk9-b80
2050b3a0aadcb0e024bf798197421d58e54ec8bf jdk9-b81
6521875cb63e1d0121b30af56ebbc36db078c4c6 jdk9-b82
f61a63b7d1e52e307abc0bfc751203155d362ec4 jdk9-b83
51b2db2fa04c16d767b66113dbf08c5349ce382a jdk9-b84
8392405ab038b22e69a3728e17dbdd9e3d3a22ed jdk9-b85
7db0663a5e968059fa7c772172187ebd60b6492d jdk9-b86
1a52a30674cd28c24d4d388150336121f2e9ddf9 jdk9-b87
16b4968f9bb8f34371b42c0ba483d76e91ba84d8 jdk9-b88
4a0312f2894bcbe1fd20266c8fda8d983bd2fcf6 jdk9-b89
d131f4b8433a79408f935eff9bf92a0664229b60 jdk9-b90
8077fd2f055d31e50b46fcf62d9c035bc385a215 jdk9-b91
f242d4332f563648426a1b0fa02d8741beba19ef jdk9-b92
09206c6513b300e1ac8541f3be012e1a49312104 jdk9-b93
25a2cab05cfbe6034b71d9e72d64c65b0572ce63 jdk9-b94
5ac6287ec71aafe021cc839d8bc828108d23aaba jdk-9+95
139f19d70350238e15e107945cea75082b6380b3 jdk-9+96
4edcff1b9a8875eb6380a2165dfec599e8e3f7c0 jdk-9+97
d00ad2d9049ac60815f70bff445e95df85648bd2 jdk-9+98
f9bcdce2df26678c3fe468130b535c0342c69b89 jdk-9+99
4379223f8806626852c46c52d4e7a27a584b406e jdk-9+100
80f67512daa15cf37b4825c1c62a675d524d7c49 jdk-9+101
2dc4c11fe48831854916d53c3913bdb7d49023ea jdk-9+102
4a652e4ca9523422149958673033e0ac740d5e1e jdk-9+103
086c682bd8c5f195c324f61e2c61fbcd0226d63b jdk-9+104
db483b34fa7148d257a429acddbde9c13687dcae jdk-9+105
6c644cca3f3fc2763e2ff7d669849a75d34543ba jdk-9+106
1c076468bf7dad5b8f2ee5dcf66e2279caa3e208 jdk-9+107
257b579d813201682931d6b42f0445ffe5b4210d jdk-9+108
c870cb782aca71093d2584376f27f0cfbfec0e3a jdk-9+109
4a95f4b1bd8bfce85dc02a593896749feab96c34 jdk-9+110
a6614ff7bf09da74be1d0ef3d9755090d244697a jdk-9+111
7359994942f8d8e723b584d66a3a92c2e9e95e5c jdk-9+112
6072af7a98be3922f26bdce71b53bb3646cb2ac9 jdk-9+113
c84d0cce090e161d736de69e941830adf8c2f87a jdk-9+114
8d78fb40648dd221ce4ef19f9d5aa41ee1a3a884 jdk-9+115
84aba7335005a3a47751dcf1f37935f97df9f99a jdk-9+116
82b8d12a553f5617737c238cec060281d52e351c jdk-9+117
7c04fcb12bd4a31570a238e663fa846dfa5ec3b8 jdk-9+118
caf97b37ebec84288c112d21d3a60cb628cba1e8 jdk-9+119
9330543436402b8f3bd070524846a464d8143557 jdk-9+120
18e5cdecb37a2f03ba74f6c8f022858bcbaacf56 jdk-9+121
7693aa00e131493ceb42b93305e2f014c9922a3b jdk-9+122
d53037a90c441cb528dc41c30827985de0e67c62 jdk-9+123
2a5697a98620c4f40e4a1a71478464399b8878de jdk-9+124
3aa52182b3ad7c5b3a61cf05a59dd07e4c5884e5 jdk-9+125
03e7b2c5ae345be3caf981d76ceb3efe5ff447f8 jdk-9+126
8e45018bde9de4ad15b972ae62874bba52dba2d5 jdk-9+127
5bf88dce615f6804f9e101a96ffa7c9dfb4fbbbe jdk-9+128
e8373543a3f0f60589b7d72b1f9b172721124caf jdk-9+129
e613affb88d178dc7c589f1679db113d589bddb4 jdk-9+130
4d2a15091124488080d65848b704e25599b2aaeb jdk-9+131
2e83d21d78cd9c1d52e6cd2599e9c8aa36ea1f52 jdk-9+132
e17429a7e843c4a4ed3651458d0f950970edcbcc jdk-9+133
a71210c0d9800eb6925b61ecd6198abd554f90ee jdk-9+134
e384420383a5b79fa0012ebcb25d8f83cff7f777 jdk-9+135
1b4b5d01aa11edf24b6fadbe3d2f3e411e3b02cd jdk-9+136
9cb87c88ed851c0575b8ead753ea238ed5b544e9 jdk-9+137
d273dfe9a126d3bffe92072547fef2cd1361b0eb jdk-9+138
65477538bec32963dc41153d89c4417eb46c45fc jdk-9+139
0875007901f7d364a08220b052f0c81003e9c8c5 jdk-9+140
9aadd2163b568d76f8969ad2fb404a63733da359 jdk-9+141
df0e03e3ca0ed1307793017dfc1a054c8726131c jdk-9+142
d62173b931bf5b6bffc6e80a9060bb2e8b8efc75 jdk-9+143
31f5023200d42185b70c4c00ba5672391e4642d0 jdk-9+144
3ee4e7827413fa5c5c4fca58597b0ad89e921bfb jdk-9+145
581331db696a62dd411926ba7fd437252252a71d jdk-9+146
f4e854a77aa38749bd90f722b06974a56e7233d5 jdk-9+147
5c71ea43933b6c7e8a85eb1a4eb2213011b95d82 jdk-9+148
cf139f925da04c8bd7efd33270a0315d72b338d3 jdk-9+149
17469f16fbb406ec9f0dd262ce776ab6efbc38f1 jdk-9+150
37b95df0042ae0687324e1f7dc4a2519e230e704 jdk-9+151
ab2c8b03c3284fcbdd157551a66f807e3a182d9b jdk-9+152
d7034ff7f8e257e81c9f95c7785dd4eaaa3c2afc jdk-9+153
8c70d170e62c0c58b5bc3ba666bd140399b98c9c jdk-10+0
45b751afd11e6c05991cf4913c5a0ac3304fcc4e jdk-9+154
f4aff695ffe05cfdb69d8af25a4ddc6a029754ea jdk-9+155
06bce0388880b5ff8e040e4a9d72a3ea11dac321 jdk-9+156
74116beae88a8f17a80301aa6c83865c82f10ece jdk-10+1
4a79ad46e578112fce68f1af9dd931025cc235cb jdk-10+2
d1cab6c7e608479be4ebfad48a25b0ed48600f62 jdk-10+3
02253db2ace1422f576f58502fc7831ead77424b jdk-10+4
f113ce12fe24fbd24acf02711372d9f1e1c12426 jdk-10+5
1407b19a2ddf6baae162f5a1a5b96af473f4d7d1 jdk-10+6
30e75693ae99fd8e47fd2f5116527aff1b59aff9 jdk-10+7
c42dc7b58b4d4301ea676a76326fd9bbd403d595 jdk-10+8
aa5b01f5e5620438fd39efdb2e2f6365a2c7d898 jdk-10+9
b0f2b8ff25a2209b2c807785d75f20e5086bbfc2 jdk-10+10
036dbf8b381798e5d31065109714d04d97bf98a4 jdk-10+11
e6d70017f5b9adbb2ec82d826973d0251800a3c3 jdk-10+12
9927a9f16738e240ab7014f0118f41e314ef8f99 jdk-10+13
9ef5029b247b4d940080417a287440bbdbab995b jdk-10+14
878e216039322cb3f0ecbd0944642a2b4e2593f3 jdk-10+15
4bbea012e5676e8025ade2bcfab4d6581e6e9f4b jdk-10+16
7db699468b4f84abbcc01647e5a964409737411a jdk-10+17
3739654290616e533fc6f51bf9ad69ed47a6abba jdk-10+18
14df107500cc3b8ab238c3e4ad2c74e12bfe6067 jdk-10+19
4586bc5d28d13d3147b993e6237eaf29a7073bbb jdk-10+20
a85884d55ce32799f5c7382b7ea4839052b362a2 jdk-10+21
e5357aa85dadacc6562175ff74714fecfb4470cf jdk-10+22
22850b3a55240253841b9a425ad60a7fcdb22d47 jdk-10+23
3b201865d5c1f244f555cad58da599c9261286d8 jdk-10+24
8eb5e3ccee560c28ac9b1df2670adac2b3d36fad jdk-10+25
1129253d3bc728a2963ba411ab9dd1adf358fb6b jdk-10+26
b87d7b5d5dedc1185e5929470f945b7378cdb3ad jdk-10+27
92f08900cb3c0d694e5c529a676c1c9e5909193f jdk-10+28
a6e591e12f122768f675428e1e5a838fd0e9c7ec jdk-10+29
8fee80b92e65149f7414250fd5e34b6f35d417b4 jdk-10+30
e6278add9ff28fab70fe1cc4c1d65f7363dc9445 jdk-10+31
a2008587c13fa05fa2dbfcb09fe987576fbedfd1 jdk-10+32
bbd692ad4fa300ecca7939ffbe3b1d5e52a28cc6 jdk-10+33
89deac44e51517841491ba86ff44aa82a5ca96b3 jdk-10+34
d8c634b016c628622c9abbdc6bf50509e5dedbec jdk-10+35
0ee20aad71c4f33c426372b4c8bcc1235ce2ec08 jdk-11+0
959f2f7cbaa6d2ee45d50029744efb219721576c jdk-10+36
4f830b447edf04fb4a52151a5ad44d9bb60723cd jdk-10+37
e569e83139fdfbecfeb3cd9014d560917787f158 jdk-10+38
5b834ec962366e00d4445352a999a3ac14e26f64 jdk-10+39
860326263d1f6a83996d7da0f4c66806ae4aa1eb jdk-10+40
3eae36c6baa5f916a3024cf1513e22357e00185d jdk-10+41
4b62b815b4f49970b91a952929cf50115c263cb3 jdk-10+42
107413b070b92c88bde6230ceb4a19b579781068 jdk-10+43
dfa46cfe56346884a61efdc30dc50f7505d66761 jdk-11+1
03ae177c26b016353e5ea1cab6ffd051dfa086ca jdk-11+2
663f20fc51091bd7f95d18448850ba091207b7bd jdk-10+44
4f96cf952e71cb8a127334494faf28880c26181b jdk-10+45
1fd4d6068f54561cfc67d54fc9ca84af7212c4f8 jdk-11+3
e59941f7247d451fa7df9eaef3fce0f492f8420c jdk-11+4
d5c43e9f08fb9a7c74aae0d48daf17f2ad2afaef jdk-11+5
3acb379b86725c47e7f33358cb22efa8752ae532 jdk-11+6
f7363de371c9a1f668bd0a01b7df3d1ddb9cc58b jdk-11+7
755e1b55a4dff510f9639cdb5c5e82549a7e09b3 jdk-11+8
0c3e252cea44f06aef570ef464950ab97c669970 jdk-11+9
6fa770f9f8ab296e1ce255ec17ccf6d4e1051886 jdk-10+46
69d7398038c54774d9395b6810e0cca335edc02c jdk-11+10
e1e60f75cd39312a7f59d2a4f91d624e5aecc95e jdk-11+11
3ab6ba9f94a9045a526d645af26c933235371d6f jdk-11+12
758deedaae8406ae60147486107a54e9864aa7b0 jdk-11+13
3595bd343b65f8c37818ebe6a4c343ddeb1a5f88 jdk-11+14
a11c1cb542bbd1671d25b85efe7d09b983c48525 jdk-11+15
02934b0d661b82b7fe1052a04998d2091352e08d jdk-11+16
64e4b1686141e57a681936a8283983341484676e jdk-11+17
e1b3def126240d5433902f3cb0e91a4c27f6db50 jdk-11+18
36ca515343e00b021dcfc902e986d26ec994a2e5 jdk-11+19
95aad0c785e497f1bade3955c4e4a677b629fa9d jdk-12+0
9816d7cc655e53ba081f938b656e31971b8f097a jdk-11+20
14708e1acdc3974f4539027cbbcfa6d69f83cf51 jdk-11+21
00b16d0457e43d23f6ca5ade6b243edce62750a0 jdk-12+1
9937ef7499dcd7673714517fd5e450410c14ba4e jdk-11+22
69b438908512d3dfef5852c6a843a5778333a309 jdk-12+2
1edcf36fe15f79d6228d1a63eb680878e2386480 jdk-11+23
990db216e7199b2ba9989d8fa20b657e0ca7d969 jdk-12+3
ea900a7dc7d77dee30865c60eabd87fc24b1037c jdk-11+24
499b873761d8e8a1cc4aa649daf04cbe98cbce77 jdk-12+4
331888ea4a788df801b1edf8836646cd25fc758b jdk-11+25
f8696e0ab9b795030429fc3374ec03e378fd9ed7 jdk-12+5
945ba9278a272a5477ffb1b3ea1b04174fed8036 jdk-11+26
7939b3c4e4088bf4f70ec5bbd8030393b653372f jdk-12+6
9d7d74c6f2cbe522e39fa22dc557fdd3f79b32ad jdk-11+27
ef57958c7c511162da8d9a75f0b977f0f7ac464e jdk-12+7
76072a077ee1d815152d45d1692c4b36c53c5c49 jdk-11+28
492b366f8e5784cc4927c2c98f9b8a3f16c067eb jdk-12+8
31b159f30fb281016c5f0c103552809aeda84063 jdk-12+9
8f594f75e0547d4ca16649cb3501659e3155e81b jdk-12+10
f0f5d23449d31f1b3580c8a73313918cafeaefd7 jdk-12+11
15094d12a632f452a2064318a4e416d0c7a9ce0c jdk-12+12
511a9946f83e3e3c7b9dbe1840367063fb39b4e1 jdk-12+13
8897e41b327c0a5601c6ba2bba5d07f15a3ffc91 jdk-12+14
8897e41b327c0a5601c6ba2bba5d07f15a3ffc91 jdk-12+14
6f04692c7d5137ee34a6bd94c0c8a6c9219cb127 jdk-12+14
f8626bcc169813a4b2a15880386b952719d1d6d1 jdk-12+15
199658d1ef860cdc17055b4fd3e94b057f292fe9 jdk-12+16
eefa65e142af305923d2adcd596fab9c639723a1 jdk-12+17
e38473506688e0995e701fc7f77d5a91b438ef93 jdk-12+18
dc1f9dec2018a37fedba47d8a2aedef99faaec64 jdk-12+19
40098289d5804c3b5e7074bc75501a81e70d9b0d jdk-12+20
f8fb0c86f2b3d24294d39c5685a628e1beb14ba7 jdk-12+21
732bec44c89e8b93a38296bf690f97b7230c5b6d jdk-12+22
eef755718cb24813031a842bbfc716a6cea18e9a jdk-12+23
cc4098b3bc10d1c390384289025fea7b0d4b9e93 jdk-13+0
7d4397b43fa305806160785a4c7210600d59581a jdk-12+24
11033c4ada542f9c9a873314b6ecf60af19e8256 jdk-13+1
7496df94b3b79f3da53925d2d137317715f11d97 jdk-12+25
50677f43ac3df9a8684222b8893543c60f3aa0bd jdk-13+2
de9fd809bb475401aad188eab2264226788aad81 jdk-12+26
642346a11059b9f283110dc301a24ed43b76a94e jdk-13+3
f15d443f97318e9b40e6f451e327ff69ed4ec361 jdk-12+27
a47b8125b7cc9ef59619745c163975fe935b57ed jdk-13+4
659b004b6a1bd8c31e766cbdf328d8f8473fd4d7 jdk-12+28
e3ed960609927b5fdfd0a797159835cd83a81a31 jdk-13+5
44f41693631f9b5ac78ff4d2bfabd6734fe46df2 jdk-12+29
b5f05fe4a6f8b3996a000c20078b356d991ca8ec jdk-13+6
6c377af36a5c4203f16aed8a5e4c2ecc08fcd8bd jdk-12+30
021917019cda1c0c5853255322274f37693a2431 jdk-13+7
b5f7bb57de2f797be34f6c75d45c3245ad37ab97 jdk-12+31
a535ba736cabc6886acdff36de3a096c46e5ddc5 jdk-13+8
4ce47bc1fb92cf94c6e3d1f49d582f02dcb851ab jdk-12+32
c081f3ea6b9300265a4a34e38f970b1e3ddaae9f jdk-13+9
b67884871b5fff79c5ef3eb8ac74dd48d71ea9b1 jdk-12+33
8e069f7b4fabfe05d9f500783e6d56cb0196d25c jdk-13+10
21ea4076a275a0f498afa517e9ee1b94a9cf0255 jdk-13+11
1d7aec80147a6d92b101a76aef92f3ddc88bedf4 jdk-13+12
b67884871b5fff79c5ef3eb8ac74dd48d71ea9b1 jdk-12-ga
83cace4142c8563b6a921787db02388e1bc48d01 jdk-13+13
46cf212cdccaf4fb064d913b12004007d3322b67 jdk-13+14
f855ec13aa2501ae184c8b3e0626a8cec9966116 jdk-13+15
9d0ae9508d5337b0dc7cc4684be42888c4023755 jdk-13+16
93b702d2a0cb9e32160208f6700aede1f8492773 jdk-13+17
bebb82ef3434a25f8142edafec20165f07ac562d jdk-13+18
a43d6467317d8f1e160f67aadec37919c9d64443 jdk-13+19
6ccc7cd7931e34129f6b7e04988fc9a63958dde0 jdk-13+20
f2f11d7f7f4e7128f8aba6ffa576cfa76fbf7d1a jdk-13+21
181986c5476468bc2dd4532af49599003ee8af37 jdk-13+22
b034d2dee5fc93d42a81b65e58ce3f91e42586ff jdk-13+23
7e2238451585029680f126ccbb46d01f2ff5607f jdk-13+24
22b3b7983adab54e318f75aeb94471f7a4429c1e jdk-14+0
22b3b7983adab54e318f75aeb94471f7a4429c1e jdk-13+25
2f4e214781a1d597ed36bf5a36f20928c6c82996 jdk-14+1
0692b67f54621991ba7afbf23e55b788f3555e69 jdk-13+26
43627549a488b7d0b4df8fad436e36233df89877 jdk-14+2
b7f68ddec66f996ae3aad03291d129ca9f02482d jdk-13+27
e64383344f144217c36196c3c8a2df8f588a2af3 jdk-14+3
1e95931e7d8fa7e3899340a9c7cb28dbea50c10c jdk-13+28
19d0b382f0869f72d4381b54fa129f1c74b6e766 jdk-14+4
3081f39a3d30d63b112098386ac2bb027c2b7223 jdk-13+29
0f1e29c77e50c7da11d83df410026392c4d1a28c jdk-14+5
2e63fb0a885fa908a97bbb0da8d7c3de11536aca jdk-13+30
443f7359b34d60e7821216ffc60f88b6ffe0ccdd jdk-14+6
6a159c6c23ccd0029140ab91653442e412305ce5 jdk-13+31
28ab01c067551ef158abaef08e154e1051ca0893 jdk-14+7
929f37a9c35d530d4e866f6e832001aeb4cfb371 jdk-13+32
c0023e364b6f130cb1e93747b796d8718d544db1 jdk-14+8
9c250a7600e12bdb1e611835250af3204d4aa152 jdk-13+33
18f189e69b29f8215a3500b875127ed4fb2d977a jdk-14+9
ececb6dae777e622abda42c705fd984a42f46b5a jdk-14+10
bf4c808a4488025a415f867e54c8b088417e08a0 jdk-14+11
8570f22b9b6ac6bec673899b582150865696e425 jdk-14+12
fbbe6672ae15deaf350a9e935290a36f57ba9c25 jdk-14+13
cddef3bde924f3ff4f17f3d369280cf69d0450e5 jdk-14+14
9c250a7600e12bdb1e611835250af3204d4aa152 jdk-13-ga
778fc2dcbdaa8981e07e929a2cacef979c72261e jdk-14+15
d29f0181ba424a95d881aba5eabf2e393abcc70f jdk-14+16
5c83830390baafb76a1fbe33443c57620bd45fb9 jdk-14+17
e84d8379815ba0d3e50fb096d28c25894cb50b8c jdk-14+18
9b67dd88a9313e982ec5f710a7747161bc8f0c23 jdk-14+19
54ffb15c48399dd59922ee22bb592d815307e77c jdk-14+20
c16ac7a2eba4e73cb4f7ee9294dd647860eebff0 jdk-14+21
83810b7d12e7ff761ad3dd91f323a22dad96f108 jdk-14+22
15936b142f86731afa4b1a2c0fe4a01e806c4944 jdk-14+23
438337c846fb071900ddb6922bddf8b3e895a514 jdk-14+24
17d242844fc9e7d18b3eac97426490a9c246119e jdk-14+25
288777cf0702914e5266bc1e5d380eed9032ca41 jdk-14+26
2c724dba4c3cf9516b2152e151c9aea66b21b30b jdk-15+0
91a3f092682fc715d991a87eb6ec6f28886d2035 jdk-14+27
63e17cf29bed191ea21020b4648c9cdf893f80f5 jdk-15+1
2069b4bfd23b56b6fc659fba8b75aaaa23debbe0 jdk-14+28
f33197adda9ad82fdef46ac0f7dc0126204f35b2 jdk-15+2
563fa900fa17c290ae516c7a3a69e8c069dde304 jdk-14+29
d05fcdf25717d85e80a3a39a6b719458b22be5fe jdk-15+3
d54ce919da90dab361995bb4d87be9851f00537a jdk-14+30
bb0a7975b31ded63d594ee8dbfc4d4ead587f79b jdk-15+4
decd3d2953b640f1043ee76953ff89238bff92e8 jdk-14+31
b97c1773ccafae4a8c16cc6aedb10b2a4f9a07ed jdk-15+5
2776da28515e087cc8849acf1e131a65ea7e77b6 jdk-14+32
ef7d53b4fccd4a0501b17d974e84f37aa99fa813 jdk-15+6
f728b6c7f4910d6bd6070cb4dde8393f4ba95113 jdk-14+33
e2bc57500c1b785837982f7ce8af6751387ed73b jdk-15+7
a96bc204e3b31ddbf909b20088964112f052927e jdk-14+34
c7d4f2849dbfb755fc5860b362a4044ea0c9e082 jdk-15+8
4a87bb7ebfd7f6a25ec59a5982fe3607242777f8 jdk-14+35
62b5bfef8d618e08e6f3a56cf1fb0e67e89e9cc2 jdk-15+9
bc54620a3848c26cff9766e5e2a6e5ddab98ed18 jdk-14+36
1bee69801aeea1a34261c93f35bc9de072a98704 jdk-15+10
b2dd4028a6de4e40dda8b76109e4b5c6b294f980 jdk-15+11
2ec0ff3042630ddbd3587e340fe0dd40391cb6c4 jdk-15+12
1c06a8ee8acad4d93c782626a233693a73de0add jdk-15+13
1d6ceb13e142665ea833fca01c8c8598e0ddd211 jdk-15+14
bc54620a3848c26cff9766e5e2a6e5ddab98ed18 jdk-14-ga
82b7c62cf4cc56828a8fb724f57087967232a2a7 jdk-15+15
5c7ec21f5d13f6eb5cd32288c69b8be2f9cac256 jdk-15+16
dd5198db2e5b1ebcafe065d987c03ba9fcb50fc3 jdk-15+17
44aef192b488a48cce12422394691a6b1d16b98e jdk-15+18
7cc27caabe6e342151e8baf549beb07a9c755ec2 jdk-15+19
46bca5e5e6fb26efd07245d26fe96a9c3260f51e jdk-15+20
12b55fad80f30d24b1f8fdb3b947ea6465ef9518 jdk-15+21
7223c6d610343fd8323af9d07d501e01fa1a7696 jdk-15+22
f143729ca00ec14a98ea5c7f73acba88da97746e jdk-15+23
497fd9f9129c4928fd5a876dd55e0daf6298b511 jdk-15+24
90b266a84c06f1b3dc0ed8767856793e8c1c357e jdk-15+25
0a32396f7a690015d22ca3328ac441a358295d90 jdk-15+26
93813843680bbe1b7efbca56c03fd137f20a2c31 jdk-16+0
93813843680bbe1b7efbca56c03fd137f20a2c31 jdk-15+27
4a485c89d5a08b495961835f5308a96038678aeb jdk-16+1
06c9f89459daba98395fad726100feb44f89ba71 jdk-15+28
bcbe7b8a77b8971bc221c0be1bd2abb6fb68c2d0 jdk-16+2
b58fc60580550a4a587cab729d8fd87223ad6932 jdk-15+29
76810b3a88c8c641ae3850a8dfd7c40c984aea9d jdk-16+3
6909e4a1f25bfe9a2727026f5845fc1fc44a36aa jdk-15+30
e2622818f0bd30e736252eba101fe7d2c27f400b jdk-16+4
a32f58c6b8be81877411767de7ba9c4cf087c1b5 jdk-15+31
143e258f64af490010eb7e0bacc1cfaeceff0993 jdk-16+5
2dad000726b8d5db9f3df647fb4949d88f269dd4 jdk-15+32
4a8fd81d64bafa523cddb45f82805536edace106 jdk-16+6
6b65f4e7a975628df51ef755b02642075390041d jdk-15+33
c3a4a7ea7c304cabdacdc31741eb94c51351668d jdk-16+7
b0817631d2f4395508cb10e81c3858a94d9ae4de jdk-15+34
0a73d6f3aab48ff6d7e61e47f0bc2d87a054f217 jdk-16+8
fd60c3146a024037cdd9be34c645bb793995a7cc jdk-15+35
c075a286cc7df767cce28e8057d6ec5051786490 jdk-16+9
b01985b4f88f554f97901e53e1ba314681dd9c19 jdk-16+10
e3f940bd3c8fcdf4ca704c6eb1ac745d155859d5 jdk-15+36
5c18d696c7ce724ca36df13933aa53f50e12b9e0 jdk-16+11
fc8e62b399bd93d06e8d13dc3b384c450e853dcd jdk-16+12
fd07cdb26fc70243ef23d688b545514f4ddf1c2b jdk-16+13
36b29df125dc88f11657ce93b4998aa9ff5f5d41 jdk-16+14

View File

@@ -1,6 +1,7 @@
[general]
project=jdk
jbs=JDK
version=19
[checks]
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists

180
README.md
View File

@@ -1,11 +1,175 @@
# Welcome to the JDK!
[![official JetBrains project](http://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
For build instructions please see the
[online documentation](https://openjdk.java.net/groups/build/doc/building.html),
or either of these files:
# Welcome to JetBrains Runtime!
- [doc/building.html](doc/building.html) (html version)
- [doc/building.md](doc/building.md) (markdown version)
JetBrains Runtime is a fork of [OpenJDK](https://github.com/openjdk/jdk) available for Windows, Mac OS X, and Linux.
It includes a number of enhancements in font rendering, HiDPI support, windowing/focus subsystems, performance
improvements and bugfixes.
See <https://openjdk.java.net/> for more information about
the OpenJDK Community and the JDK.
> **_NOTE_**: This is a **development** branch that is periodically synchronized with
> the [OpenJDK master](https://github.com/openjdk/jdk/tree/master) branch.
>
> Release builds are based on these branches:
> * [master](https://github.com/JetBrains/JetBrainsRuntime/tree/master) (JDK 11)
> * [master17](https://github.com/JetBrains/JetBrainsRuntime/tree/master17) (JDK 17)
## Contents
- [Welcome to JetBrains Runtime](#jetbrains-runtime)
- [Products Built on JetBrains Runtime](#products-built-on-jetbrains-runtime)
- [Getting Sources](#getting-sources)
- [macOS, Linux](#macos-linux)
- [Windows](#sources-windows)
- [Configuring the Build Environment](#configuring-the-build-environment)
- [Linux (Docker)](#linux-docker)
- [Ubuntu Linux](#ubuntu-linux)
- [Windows](#build-windows)
- [macOS](#macos)
- [Developing](#developing)
- [Contributing](#contributing)
- [Resources](#resources)
## Products Built on JetBrains Runtime
* [Android Studio](https://developer.android.com/studio). The official IDE for Google's Android operating system.
* [CLion](https://www.jetbrains.com/clion/). A cross-platform IDE for C and C++ from JetBrains.
* [DataGrip](https://www.jetbrains.com/datagrip/). The IDE for Databases and SQL from JetBrains.
* [GoLand](https://www.jetbrains.com/go/). The cross-platform Go IDE from JetBrains.
* [IntelliJ IDEA](https://www.jetbrains.com/idea/). The IDE for JVM from JetBrains.
* [JProfiler](https://www.ej-technologies.com/products/jprofiler/overview.html). The Java profiler.
* [PhpStorm](https://www.jetbrains.com/phpstorm/). The PHP IDE from JetBrains.
* [PyCharm](https://www.jetbrains.com/pycharm/). The Python IDE from JetBrains.
* [Rider](https://www.jetbrains.com/rider/). The cross-platform .NET IDE from JetBrains.
* [RubyMine](https://www.jetbrains.com/ruby/). The Ruby and Rails IDE from JetBrains.
* [WebStorm](https://www.jetbrains.com/webstorm/). The JavaScript IDE from JetBrains.
* [YourKit](https://www.yourkit.com/). Java and .NET profilers.
## Getting Sources
### macOS, Linux
```
git config --global core.autocrlf input
git clone git@github.com:JetBrains/JetBrainsRuntime.git
```
### Windows
<a name="sources-windows"></a>
```
git config --global core.autocrlf false
git clone git@github.com:JetBrains/JetBrainsRuntime.git
```
## Configuring the Build Environment
Here are quick per-platform instructions for those who can't wait to get started.
Please refer to [OpenJDK build docs](https://openjdk.java.net/groups/build/doc/building.html) for in-depth
coverage of all the details.
> **_TIP:_** To get a preliminary report of what's missing, run `./configure` and check its output.
> It would usually have a meaningful advice on how to solve the problem.
### Linux (Docker)
Create a container:
```
$ cd jb/project/docker
$ docker build .
...
Successfully built 942ea9900054
```
Run these commands in the new container:
```
$ docker run -v `pwd`../../../../:/JetBrainsRuntime -it 942ea9900054
# cd /JetBrainsRuntime
# sh ./configure
# make images CONF=linux-x86_64-normal-server-release
```
### Ubuntu Linux
Install the necessary tools, libraries, and headers with:
```
$ sudo apt-get install autoconf make build-essential libx11-dev libxext-dev libxrender-dev libxtst-dev \
libxt-dev libxrandr-dev libcups2-dev libfontconfig1-dev libasound2-dev
```
Get Java 17 (for instance, [Azul Zulu Builds of OpenJDK 17](https://www.azul.com/downloads/?version=java-17-ea&package=jdk)).
Then run the following:
```
$ cd JetBrainsRuntime
$ git checkout jbr-dev
$ sh ./configure
$ make images
```
This will build the release configuration under `./build/linux-x86_64-server-release/`.
### Windows
<a name="build-windows"></a>
Install the following:
* [Cygwin x64](http://www.cygwin.com/).
Required packages: `autoconf`, `binutils`, `cpio`, `diffutils`, `file`, `gawk`, `gcc-core`, `make`, `m4`, `unzip`, `zip`.
Install those together with Cygwin.
* [Visual Studio compiler toolset](https://visualstudio.microsoft.com/downloads/).
Install with the desktop development kit, which includes Windows SDK and compilers.
Visual Studio 2019 is supported by default.
* Java 17 (for instance, [Azul Zulu Builds of OpenJDK 17](https://www.azul.com/downloads/?version=java-17-ea&os=windows&architecture=x86-64-bit&package=jdk).
If you have problems while configuring, read [Java tips on Cygwin](http://horstmann.com/articles/cygwin-tips.html).
From the command line:
```
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
"c:\Program_Files\cygwin64\bin\mintty.exe" /bin/bash -l
```
The first command sets up environment variables, the second starts a Cygwin shell with the proper environment.
In the Cygwin shell:
```
$ cd JetBrainsRuntime
$ git checkout jbr-dev
$ bash configure --with-toolchain-version=2019
$ make images
```
This will build the release configuration under `./build/windows-x86_64-server-release/`.
### macOS
Install the following:
* Xcode command line developer tools and `autoconf` via [Homebrew](https://brew.sh/).
* Java 17 (for instance, [Azul Zulu Builds of OpenJDK 17](https://www.azul.com/downloads/?version=java-17-ea&package=jdk)).
From the command line:
```
$ cd JetBrainsRuntime
$ git checkout jbr-dev
$ sh ./configure
$ make images
```
This will build the release configuration under `./build/macosx-x86_64-server-release/`.
## Developing
You can use [CLion](https://www.jetbrains.com/clion/) to develop native parts of the JetBrains Runtime and
[IntelliJ IDEA](https://www.jetbrains.com/idea/) for the parts written in Java.
Both require projects to be created.
### CLion
Run
```
$ make compile-commands
```
in the git root and open the resulting `build/.../compile_commands.json` file as a project.
Then use `Tools | Compilation Database | Change Project Root` to point to git root of this repository.
See also this detailed step-by-step tutorial for all platforms:
[How to develop OpenJDK with CLion](https://blog.jetbrains.com/clion/2020/03/openjdk-with-clion/).
### IDEA
Run
```
$ sh ./bin/idea.sh
```
in the git root to generate project files (add `--help` for options). If you have multiple
configurations (for example, `release` and `fastdebug`), supply the `--conf <conf_name>` argument.
Then open the git root directory as a project in IDEA.
## Contributing
We are happy to receive your pull requests!
Before you submit one, please sign our [Contributor License Agreement (CLA)](https://www.jetbrains.com/agreements/cla/).
## Resources
* [JetBrains Runtime on github](https://github.com/JetBrains/JetBrainsRuntime).
* [OpenJDK build instructions](https://openjdk.java.net/groups/build/doc/building.html).
* [OpenJDK test instructions](https://htmlpreview.github.io/?https://raw.githubusercontent.com/openjdk/jdk/master/doc/building.html#running-tests).

View File

@@ -25,7 +25,26 @@
# Shell script for generating an IDEA project from a given list of modules
usage() {
echo "usage: $0 [-h|--help] [-v|--verbose] [-o|--output <path>] [modules]+"
echo "Usage: $0 [-h|--help] [-q|--quiet] [-a|--absolute-paths] [-r|--root <path>] [-o|--output <path>] [-c|--conf <conf_name>] [modules...]"
echo " -h | --help"
echo " -q | --quiet
No stdout output"
echo " -a | --absolute-paths
Use absolute paths to this jdk, so that generated .idea
project files can be moved independently of jdk sources"
echo " -r | --root <path>
Project content root
Default: $TOPLEVEL_DIR"
echo " -o | --output <path>
Where .idea directory with project files will be generated
(e.g. using '-o .' will place project files in './.idea')
Default: same as --root"
echo " -c | --conf <conf_name>
make configuration (release, slowdebug etc)"
echo " [modules...]
Generate project modules for specific java modules
(e.g. 'java.base java.desktop')
Default: all existing modules (java.* and jdk.*)"
exit 1
}
@@ -33,10 +52,14 @@ SCRIPT_DIR=`dirname $0`
#assume TOP is the dir from which the script has been called
TOP=`pwd`
cd $SCRIPT_DIR; SCRIPT_DIR=`pwd`
if [ "x$TOPLEVEL_DIR" = "x" ] ; then
cd .. ; TOPLEVEL_DIR=`pwd`
fi
cd $TOP;
IDEA_OUTPUT=$TOP/.idea
VERBOSE="false"
VERBOSE=true
ABSOLUTE_PATHS=false
CONF_ARG=
while [ $# -gt 0 ]
do
case $1 in
@@ -44,12 +67,26 @@ do
usage
;;
-v | --vebose )
VERBOSE="true"
-q | --quiet )
VERBOSE=false
;;
-a | --absolute-paths )
ABSOLUTE_PATHS=true
;;
-r | --root )
TOPLEVEL_DIR="$2"
shift
;;
-o | --output )
IDEA_OUTPUT=$2/.idea
IDEA_OUTPUT="$2/.idea"
shift
;;
-c | --conf )
CONF_ARG="CONF_NAME=$2"
shift
;;
@@ -64,20 +101,21 @@ do
shift
done
mkdir -p $IDEA_OUTPUT || exit 1
cd $IDEA_OUTPUT; IDEA_OUTPUT=`pwd`
if [ "x$TOPLEVEL_DIR" = "x" ] ; then
cd $SCRIPT_DIR/..
TOPLEVEL_DIR=`pwd`
cd $IDEA_OUTPUT
if [ "x$IDEA_OUTPUT" = "x" ] ; then
IDEA_OUTPUT="$TOPLEVEL_DIR/.idea"
fi
MAKE_DIR="$SCRIPT_DIR/../make"
IDEA_MAKE="$MAKE_DIR/ide/idea/jdk"
mkdir -p $IDEA_OUTPUT || exit 1
cd "$TOP" ; cd $TOPLEVEL_DIR; TOPLEVEL_DIR=`pwd`
cd "$TOP" ; cd $IDEA_OUTPUT; IDEA_OUTPUT=`pwd`
cd ..; IDEA_OUTPUT_PARENT=`pwd`
cd "$SCRIPT_DIR/.." ; OPENJDK_DIR=`pwd`
IDEA_MAKE="$OPENJDK_DIR/make/ide/idea/jdk"
IDEA_TEMPLATE="$IDEA_MAKE/template"
cp -r "$IDEA_TEMPLATE"/* "$IDEA_OUTPUT"
cp -rn "$TOPLEVEL_DIR/jb/project/idea-project-files"/* "$IDEA_OUTPUT"
cp -rn "$IDEA_TEMPLATE"/* "$IDEA_OUTPUT"
#override template
if [ -d "$TEMPLATES_OVERRIDE" ] ; then
@@ -86,31 +124,31 @@ if [ -d "$TEMPLATES_OVERRIDE" ] ; then
done
fi
if [ "$VERBOSE" = "true" ] ; then
echo "output dir: $IDEA_OUTPUT"
echo "idea template dir: $IDEA_TEMPLATE"
if [ "$VERBOSE" = true ] ; then
echo "Will generate IDEA project files in \"$IDEA_OUTPUT\" for project \"$TOPLEVEL_DIR\""
fi
cd $TOP ; make -f "$IDEA_MAKE/idea.gmk" -I $MAKE_DIR/.. idea MAKEOVERRIDES= OUT=$IDEA_OUTPUT/env.cfg MODULES="$*" || exit 1
cd $TOP ; make -f "$IDEA_MAKE/idea.gmk" -I "$OPENJDK_DIR" idea TOPLEVEL_DIR="$TOPLEVEL_DIR" \
MAKEOVERRIDES= IDEA_OUTPUT_PARENT="$IDEA_OUTPUT_PARENT" OUT="$IDEA_OUTPUT/env.cfg" MODULES="$*" $CONF_ARG || exit 1
cd $SCRIPT_DIR
. $IDEA_OUTPUT/env.cfg
# Expect MODULE_ROOTS, MODULE_NAMES, BOOT_JDK & SPEC to be set
if [ "x$MODULE_ROOTS" = "x" ] ; then
echo "FATAL: MODULE_ROOTS is empty" >&2; exit 1
# Expect MODULES, MODULE_NAMES, RELATIVE_PROJECT_DIR, RELATIVE_BUILD_DIR to be set
if [ "xMODULES" = "x" ] ; then
echo "FATAL: MODULES is empty" >&2; exit 1
fi
if [ "x$MODULE_NAMES" = "x" ] ; then
echo "FATAL: MODULE_NAMES is empty" >&2; exit 1
fi
if [ "x$BOOT_JDK" = "x" ] ; then
echo "FATAL: BOOT_JDK is empty" >&2; exit 1
if [ "x$RELATIVE_PROJECT_DIR" = "x" ] ; then
echo "FATAL: RELATIVE_PROJECT_DIR is empty" >&2; exit 1
fi
if [ "x$SPEC" = "x" ] ; then
echo "FATAL: SPEC is empty" >&2; exit 1
if [ "x$RELATIVE_BUILD_DIR" = "x" ] ; then
echo "FATAL: RELATIVE_BUILD_DIR is empty" >&2; exit 1
fi
if [ -d "$TOPLEVEL_DIR/.hg" ] ; then
@@ -121,6 +159,43 @@ if [ -d "$TOPLEVEL_DIR/.git" ] ; then
VCS_TYPE="Git"
fi
if [ "$ABSOLUTE_PATHS" = true ] ; then
if [ "x$PATHTOOL" != "x" ]; then
PROJECT_DIR="`$PATHTOOL -am $OPENJDK_DIR`"
TOPLEVEL_PROJECT_DIR="`$PATHTOOL -am $TOPLEVEL_DIR`"
else
PROJECT_DIR="$OPENJDK_DIR"
TOPLEVEL_PROJECT_DIR="$TOPLEVEL_DIR"
fi
MODULE_DIR="$PROJECT_DIR"
TOPLEVEL_MODULE_DIR="$TOPLEVEL_PROJECT_DIR"
cd "$IDEA_OUTPUT_PARENT" && cd "$RELATIVE_BUILD_DIR" && BUILD_DIR="`pwd`"
CLION_SCRIPT_TOPDIR="$OPENJDK_DIR"
CLION_PROJECT_DIR="$PROJECT_DIR"
else
if [ "$RELATIVE_PROJECT_DIR" = "." ] ; then
PROJECT_DIR=""
else
PROJECT_DIR="/$RELATIVE_PROJECT_DIR"
fi
if [ "$RELATIVE_TOPLEVEL_PROJECT_DIR" = "." ] ; then
TOPLEVEL_PROJECT_DIR=""
else
TOPLEVEL_PROJECT_DIR="/$RELATIVE_TOPLEVEL_PROJECT_DIR"
fi
MODULE_DIR="\$MODULE_DIR\$$PROJECT_DIR"
PROJECT_DIR="\$PROJECT_DIR\$$PROJECT_DIR"
TOPLEVEL_MODULE_DIR="\$MODULE_DIR\$$TOPLEVEL_PROJECT_DIR"
TOPLEVEL_PROJECT_DIR="\$PROJECT_DIR\$$TOPLEVEL_PROJECT_DIR"
BUILD_DIR="\$PROJECT_DIR\$/$RELATIVE_BUILD_DIR"
CLION_SCRIPT_TOPDIR="$CLION_RELATIVE_PROJECT_DIR"
CLION_PROJECT_DIR="\$PROJECT_DIR\$/$CLION_SCRIPT_TOPDIR"
fi
if [ "$VERBOSE" = true ] ; then
echo "Project root: $PROJECT_DIR"
echo "Generating IDEA project files..."
fi
### Replace template variables
NUM_REPLACEMENTS=0
@@ -144,105 +219,106 @@ add_replacement() {
eval TO$NUM_REPLACEMENTS='$2'
}
add_replacement "###PATHTOOL###" "$PATHTOOL"
add_replacement "###CLION_SCRIPT_TOPDIR###" "$CLION_SCRIPT_TOPDIR"
add_replacement "###CLION_PROJECT_DIR###" "$CLION_PROJECT_DIR"
add_replacement "###PROJECT_DIR###" "$PROJECT_DIR"
add_replacement "###MODULE_DIR###" "$MODULE_DIR"
add_replacement "###TOPLEVEL_PROJECT_DIR###" "$TOPLEVEL_PROJECT_DIR"
add_replacement "###TOPLEVEL_MODULE_DIR###" "$TOPLEVEL_MODULE_DIR"
add_replacement "###MODULE_NAMES###" "$MODULE_NAMES"
add_replacement "###VCS_TYPE###" "$VCS_TYPE"
SPEC_DIR=`dirname $SPEC`
if [ "x$CYGPATH" != "x" ]; then
add_replacement "###BUILD_DIR###" "`cygpath -am $SPEC_DIR`"
add_replacement "###IMAGES_DIR###" "`cygpath -am $SPEC_DIR`/images/jdk"
add_replacement "###ROOT_DIR###" "`cygpath -am $TOPLEVEL_DIR`"
add_replacement "###IDEA_DIR###" "`cygpath -am $IDEA_OUTPUT`"
add_replacement "###BUILD_DIR###" "$BUILD_DIR"
add_replacement "###RELATIVE_BUILD_DIR###" "$RELATIVE_BUILD_DIR"
if [ "x$PATHTOOL" != "x" ]; then
add_replacement "###BASH_RUNNER_PREFIX###" "\$PROJECT_DIR\$/.idea/bash.bat"
else
add_replacement "###BASH_RUNNER_PREFIX###" ""
fi
if [ "x$PATHTOOL" != "x" ]; then
if [ "x$JT_HOME" = "x" ]; then
add_replacement "###JTREG_HOME###" ""
else
add_replacement "###JTREG_HOME###" "`cygpath -am $JT_HOME`"
fi
elif [ "x$WSL_DISTRO_NAME" != "x" ]; then
add_replacement "###BUILD_DIR###" "`wslpath -am $SPEC_DIR`"
add_replacement "###IMAGES_DIR###" "`wslpath -am $SPEC_DIR`/images/jdk"
add_replacement "###ROOT_DIR###" "`wslpath -am $TOPLEVEL_DIR`"
add_replacement "###IDEA_DIR###" "`wslpath -am $IDEA_OUTPUT`"
if [ "x$JT_HOME" = "x" ]; then
add_replacement "###JTREG_HOME###" ""
else
add_replacement "###JTREG_HOME###" "`wslpath -am $JT_HOME`"
add_replacement "###JTREG_HOME###" "`$PATHTOOL -am $JT_HOME`"
fi
else
add_replacement "###BUILD_DIR###" "$SPEC_DIR"
add_replacement "###JTREG_HOME###" "$JT_HOME"
add_replacement "###IMAGES_DIR###" "$SPEC_DIR/images/jdk"
add_replacement "###ROOT_DIR###" "$TOPLEVEL_DIR"
add_replacement "###IDEA_DIR###" "$IDEA_OUTPUT"
fi
SOURCE_PREFIX="<sourceFolder url=\"file://"
SOURCE_POSTFIX="\" isTestSource=\"false\" />"
for root in $MODULE_ROOTS; do
if [ "x$CYGPATH" != "x" ]; then
root=`cygpath -am $root`
elif [ "x$WSL_DISTRO_NAME" != "x" ]; then
root=`wslpath -am $root`
fi
VM_CI="jdk.internal.vm.ci/share/classes"
VM_COMPILER="src/jdk.internal.vm.compiler/share/classes"
if test "${root#*$VM_CI}" != "$root" || test "${root#*$VM_COMPILER}" != "$root"; then
for subdir in "$root"/*; do
if [ -d "$subdir" ]; then
SOURCES=$SOURCES" $SOURCE_PREFIX""$subdir"/src"$SOURCE_POSTFIX"
fi
done
else
SOURCES=$SOURCES" $SOURCE_PREFIX""$root""$SOURCE_POSTFIX"
fi
MODULE_IMLS=""
TEST_MODULE_DEPENDENCIES=""
for module in $MODULE_NAMES; do
MODULE_IMLS="$MODULE_IMLS<module fileurl=\"file://\$PROJECT_DIR$/.idea/$module.iml\" filepath=\"\$PROJECT_DIR$/.idea/$module.iml\" /> "
TEST_MODULE_DEPENDENCIES="$TEST_MODULE_DEPENDENCIES<orderEntry type=\"module\" module-name=\"$module\" scope=\"TEST\" /> "
done
add_replacement "###SOURCE_ROOTS###" "$SOURCES"
add_replacement "###MODULE_IMLS###" "$MODULE_IMLS"
add_replacement "###TEST_MODULE_DEPENDENCIES###" "$TEST_MODULE_DEPENDENCIES"
replace_template_dir "$IDEA_OUTPUT"
### Compile the custom Logger
### Generate module project files
CLASSES=$IDEA_OUTPUT/classes
if [ "$VERBOSE" = true ] ; then
echo "Generating project modules:"
fi
(
DEFAULT_IFS="$IFS"
IFS='#'
for value in $MODULES; do
(
eval "$value"
if [ "$VERBOSE" = true ] ; then
echo " $module"
fi
MAIN_SOURCE_DIRS=""
CONTENT_ROOTS=""
IFS=' '
for dir in $moduleSrcDirs; do
case $dir in
"src/"*) MAIN_SOURCE_DIRS="$MAIN_SOURCE_DIRS <sourceFolder url=\"file://$MODULE_DIR/$dir\" isTestSource=\"false\" />" ;;
*"/support/gensrc/$module") ;; # Exclude generated sources to avoid module-info conflicts, see https://youtrack.jetbrains.com/issue/IDEA-185108
*) CONTENT_ROOTS="$CONTENT_ROOTS <content url=\"file://$MODULE_DIR/$dir\">\
<sourceFolder url=\"file://$MODULE_DIR/$dir\" isTestSource=\"false\" generated=\"true\" /></content>" ;;
esac
done
if [ "x$MAIN_SOURCE_DIRS" != "x" ] ; then
CONTENT_ROOTS="<content url=\"file://$MODULE_DIR/src/$module\">$MAIN_SOURCE_DIRS</content>$CONTENT_ROOTS"
fi
add_replacement "###MODULE_CONTENT_ROOTS###" "$CONTENT_ROOTS"
DEPENDENCIES=""
for dep in $moduleDependencies; do
case $MODULE_NAMES in # Exclude skipped modules from dependencies
*"$dep"*) DEPENDENCIES="$DEPENDENCIES<orderEntry type=\"module\" module-name=\"$dep\" /> "
esac
done
add_replacement "###DEPENDENCIES###" "$DEPENDENCIES"
cp "$IDEA_OUTPUT/module.iml" "$IDEA_OUTPUT/$module.iml"
IFS="$DEFAULT_IFS"
replace_template_file "$IDEA_OUTPUT/$module.iml"
)
done
)
rm "$IDEA_OUTPUT/module.iml"
if [ "x$ANT_HOME" = "x" ] ; then
# try some common locations, before giving up
if [ -f "/usr/share/ant/lib/ant.jar" ] ; then
ANT_HOME="/usr/share/ant"
elif [ -f "/usr/local/Cellar/ant/1.9.4/libexec/lib/ant.jar" ] ; then
ANT_HOME="/usr/local/Cellar/ant/1.9.4/libexec"
else
echo "FATAL: cannot find ant. Try setting ANT_HOME." >&2; exit 1
fi
fi
CP=$ANT_HOME/lib/ant.jar
rm -rf $CLASSES; mkdir $CLASSES
### Create shell script runner for Windows
if [ "x$CYGPATH" != "x" ] ; then ## CYGPATH may be set in env.cfg
JAVAC_SOURCE_FILE=`cygpath -am $IDEA_OUTPUT/src/idea/IdeaLoggerWrapper.java`
JAVAC_SOURCE_PATH=`cygpath -am $IDEA_OUTPUT/src`
JAVAC_CLASSES=`cygpath -am $CLASSES`
JAVAC_CP=`cygpath -am $CP`
JAVAC=javac
elif [ "x$WSL_DISTRO_NAME" != "x" ]; then
JAVAC_SOURCE_FILE=`realpath --relative-to=./ $IDEA_OUTPUT/src/idea/IdeaLoggerWrapper.java`
JAVAC_SOURCE_PATH=`realpath --relative-to=./ $IDEA_OUTPUT/src`
JAVAC_CLASSES=`realpath --relative-to=./ $CLASSES`
ANT_TEMP=`mktemp -d -p ./`
cp $ANT_HOME/lib/ant.jar $ANT_TEMP/ant.jar
JAVAC_CP=$ANT_TEMP/ant.jar
JAVAC=javac.exe
else
JAVAC_SOURCE_FILE=$IDEA_OUTPUT/src/idea/IdeaLoggerWrapper.java
JAVAC_SOURCE_PATH=$IDEA_OUTPUT/src
JAVAC_CLASSES=$CLASSES
JAVAC_CP=$CP
JAVAC=javac
if [ "x$PATHTOOL" != "x" ]; then
echo "@echo off" > "$IDEA_OUTPUT/bash.bat"
if [ "x$WSL_DISTRO_NAME" != "x" ] ; then
echo "wsl -d $WSL_DISTRO_NAME --cd \"%cd%\" -e %*" >> "$IDEA_OUTPUT/bash.bat"
else
echo "$WINENV_ROOT\bin\bash.exe -l -c \"cd %CD:\=/%/ && %*\"" >> "$IDEA_OUTPUT/bash.bat"
fi
fi
$BOOT_JDK/bin/$JAVAC -d $JAVAC_CLASSES -sourcepath $JAVAC_SOURCE_PATH -cp $JAVAC_CP $JAVAC_SOURCE_FILE
if [ "x$WSL_DISTRO_NAME" != "x" ]; then
rm -rf $ANT_TEMP
if [ "$VERBOSE" = true ] ; then
IDEA_PROJECT_DIR="`dirname $IDEA_OUTPUT`"
if [ "x$PATHTOOL" != "x" ]; then
IDEA_PROJECT_DIR="`$PATHTOOL -am $IDEA_PROJECT_DIR`"
fi
echo "
Now you can open \"$IDEA_PROJECT_DIR\" as IDEA project
You can also run 'bash \"$IDEA_OUTPUT/jdk-clion/update-project.sh\"' to generate Clion project"
fi

View File

@@ -1,45 +0,0 @@
/*
* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* This little utility can be used to expand the jib-profiles configuration
* files into plain json.
*
* Usage:
*
* jjs -scripting print-config.js -- [<jib-profiles.js>]
*
*/
var file = $ARG[0];
if (file == null) {
file = new java.io.File(__DIR__, "../conf/jib-profiles.js").getCanonicalPath();
}
load(file);
var input = {};
input.get = function(dependencyName, attribute) {
return "\${" + dependencyName + "." + attribute + "}";
};
print(JSON.stringify(getJibProfiles(input), null, 2));

0
configure vendored Normal file → Executable file
View File

View File

@@ -96,6 +96,7 @@
<li><a href="#specific-build-issues">Specific Build Issues</a></li>
<li><a href="#getting-help">Getting Help</a></li>
</ul></li>
<li><a href="#reproducible-builds">Reproducible Builds</a></li>
<li><a href="#hints-and-suggestions-for-advanced-users">Hints and Suggestions for Advanced Users</a><ul>
<li><a href="#bash-completion">Bash Completion</a></li>
<li><a href="#using-multiple-configurations">Using Multiple Configurations</a></li>
@@ -162,6 +163,8 @@
<h3 id="building-on-aarch64">Building on aarch64</h3>
<p>At a minimum, a machine with 8 cores is advisable, as well as 8 GB of RAM. (The more cores to use, the more memory you need.) At least 6 GB of free disk space is required.</p>
<p>If you do not have access to sufficiently powerful hardware, it is also possible to use <a href="#cross-compiling">cross-compiling</a>.</p>
<h4 id="branch-protection">Branch Protection</h4>
<p>In order to use Branch Protection features in the VM, <code>--enable-branch-protection</code> must be used. This option requires C++ compiler support (GCC 9.1.0+ or Clang 10+). The resulting build can be run on both machines with and without support for branch protection in hardware. Branch Protection is only supported for Linux targets.</p>
<h3 id="building-on-32-bit-arm">Building on 32-bit arm</h3>
<p>This is not recommended. Instead, see the section on <a href="#cross-compiling">Cross-compiling</a>.</p>
<h2 id="operating-system-requirements">Operating System Requirements</h2>
@@ -195,7 +198,7 @@
<h3 id="windows">Windows</h3>
<p>Windows XP is not a supported platform, but all newer Windows should be able to build the JDK.</p>
<p>On Windows, it is important that you pay attention to the instructions in the <a href="#special-considerations">Special Considerations</a>.</p>
<p>Windows is the only non-POSIX OS supported by the JDK, and as such, requires some extra care. A POSIX support layer is required to build on Windows. Currently, the only supported such layers are Cygwin and Windows Subsystem for Linux (WSL). (Msys is no longer supported due to a too old bash; msys2 would likely be possible to support in a future version but that would require effort to implement.)</p>
<p>Windows is the only non-POSIX OS supported by the JDK, and as such, requires some extra care. A POSIX support layer is required to build on Windows. Currently, the only supported such layers are Cygwin, Windows Subsystem for Linux (WSL), and MSYS2. (MSYS is no longer supported due to an outdated bash; While OpenJDK can be built with MSYS2, support for it is still experimental, so build failures and unusual errors are not uncommon.)</p>
<p>Internally in the build system, all paths are represented as Unix-style paths, e.g. <code>/cygdrive/c/git/jdk/Makefile</code> rather than <code>C:\git\jdk\Makefile</code>. This rule also applies to input to the build system, e.g. in arguments to <code>configure</code>. So, use <code>--with-msvcr-dll=/cygdrive/c/msvcr100.dll</code> rather than <code>--with-msvcr-dll=c:\msvcr100.dll</code>. For details on this conversion, see the section on <a href="#fixpath">Fixpath</a>.</p>
<h4 id="cygwin">Cygwin</h4>
<p>A functioning <a href="http://www.cygwin.com/">Cygwin</a> environment is required for building the JDK on Windows. If you have a 64-bit OS, we strongly recommend using the 64-bit version of Cygwin.</p>
@@ -213,7 +216,7 @@
<p>Unfortunately, Cygwin can be unreliable in certain circumstances. If you experience build tool crashes or strange issues when building on Windows, please check the Cygwin FAQ on the <a href="https://cygwin.com/faq/faq.html#faq.using.bloda">&quot;BLODA&quot; list</a> and the section on <a href="https://cygwin.com/faq/faq.html#faq.using.fixing-fork-failures">fork() failures</a>.</p>
<h4 id="windows-subsystem-for-linux-wsl">Windows Subsystem for Linux (WSL)</h4>
<p>Windows 10 1809 or newer is supported due to a dependency on the wslpath utility and support for environment variable sharing through WSLENV. Version 1803 can work but intermittent build failures have been observed.</p>
<p>It's possible to build both Windows and Linux binaries from WSL. To build Windows binaries, you must use a Windows boot JDK (located in a Windows-accessible directory). To build Linux binaries, you must use a Linux boot JDK. The default behavior is to build for Windows. To build for Linux, pass <code>--build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu</code> to <code>configure</code>.</p>
<p>It's possible to build both Windows and Linux binaries from WSL. To build Windows binaries, you must use a Windows boot JDK (located in a Windows-accessible directory). To build Linux binaries, you must use a Linux boot JDK. The default behavior is to build for Windows. To build for Linux, pass <code>--build=x86_64-unknown-linux-gnu --openjdk-target=x86_64-unknown-linux-gnu</code> to <code>configure</code>.</p>
<p>If building Windows binaries, the source code must be located in a Windows- accessible directory. This is because Windows executables (such as Visual Studio and the boot JDK) must be able to access the source code. Also, the drive where the source is stored must be mounted as case-insensitive by changing either /etc/fstab or /etc/wsl.conf in WSL. Individual directories may be corrected using the fsutil tool in case the source was cloned before changing the mount options.</p>
<p>Note that while it's possible to build on WSL, testing is still not fully supported.</p>
<h3 id="macos">macOS</h3>
@@ -270,7 +273,7 @@
<tbody>
<tr class="odd">
<td style="text-align: left;">Linux</td>
<td style="text-align: left;">gcc 10.2.0</td>
<td style="text-align: left;">gcc 11.2.0</td>
</tr>
<tr class="even">
<td style="text-align: left;">macOS</td>
@@ -278,14 +281,14 @@
</tr>
<tr class="odd">
<td style="text-align: left;">Windows</td>
<td style="text-align: left;">Microsoft Visual Studio 2019 update 16.7.2</td>
<td style="text-align: left;">Microsoft Visual Studio 2022 update 17.1.0</td>
</tr>
</tbody>
</table>
<p>All compilers are expected to be able to compile to the C99 language standard, as some C99 features are used in the source code. Microsoft Visual Studio doesn't fully support C99 so in practice shared code is limited to using C99 features that it does support.</p>
<h3 id="gcc">gcc</h3>
<p>The minimum accepted version of gcc is 5.0. Older versions will generate a warning by <code>configure</code> and are unlikely to work.</p>
<p>The JDK is currently known to be able to compile with at least version 10.2 of gcc.</p>
<p>The JDK is currently known to be able to compile with at least version 11.2 of gcc.</p>
<p>In general, any version between these two should be usable.</p>
<h3 id="clang">clang</h3>
<p>The minimum accepted version of clang is 3.5. Older versions will not be accepted by <code>configure</code>.</p>
@@ -297,7 +300,7 @@
<p>It is advisable to keep an older version of Xcode for building the JDK when updating Xcode. This <a href="http://iosdevelopertips.com/xcode/install-multiple-versions-of-xcode.html">blog page</a> has good suggestions on managing multiple Xcode versions. To use a specific version of Xcode, use <code>xcode-select -s</code> before running <code>configure</code>, or use <code>--with-toolchain-path</code> to point to the version of Xcode to use, e.g. <code>configure --with-toolchain-path=/Applications/Xcode8.app/Contents/Developer/usr/bin</code></p>
<p>If you have recently (inadvertently) updated your OS and/or Xcode version, and the JDK can no longer be built, please see the section on <a href="#problems-with-the-build-environment">Problems with the Build Environment</a>, and <a href="#getting-help">Getting Help</a> to find out if there are any recent, non-merged patches available for this update.</p>
<h3 id="microsoft-visual-studio">Microsoft Visual Studio</h3>
<p>The minimum accepted version of Visual Studio is 2017. Older versions will not be accepted by <code>configure</code> and will not work. The maximum accepted version of Visual Studio is 2019.</p>
<p>For aarch64 machines running Windows the minimum accepted version is Visual Studio 2019 (16.8 or higher). For all other platforms the minimum accepted version of Visual Studio is 2017. Older versions will not be accepted by <code>configure</code> and will not work. For all platforms the maximum accepted version of Visual Studio is 2022.</p>
<p>If you have multiple versions of Visual Studio installed, <code>configure</code> will by default pick the latest. You can request a specific version to be used by setting <code>--with-toolchain-version</code>, e.g. <code>--with-toolchain-version=2017</code>.</p>
<p>If you have Visual Studio installed but <code>configure</code> fails to detect it, it may be because of <a href="#spaces-in-path">spaces in path</a>.</p>
<h3 id="ibm-xl-cc">IBM XL C/C++</h3>
@@ -488,7 +491,7 @@
<li><code>CONF</code> and <code>CONF_NAME</code> - Selecting the configuration(s) to use. See <a href="#using-multiple-configurations">Using Multiple Configurations</a></li>
</ul>
<h4 id="test-make-control-variables">Test Make Control Variables</h4>
<p>These make control variables only make sense when running tests. Please see <a href="testing.html">Testing the JDK</a> for details.</p>
<p>These make control variables only make sense when running tests. Please see <strong>Testing the JDK</strong> (<a href="testing.html">html</a>, <a href="testing.md">markdown</a>) for details.</p>
<ul>
<li><code>TEST</code></li>
<li><code>TEST_JOBS</code></li>
@@ -506,7 +509,7 @@
</ul>
<h2 id="running-tests">Running Tests</h2>
<p>Most of the JDK tests are using the <a href="http://openjdk.java.net/jtreg">JTReg</a> test framework. Make sure that your configuration knows where to find your installation of JTReg. If this is not picked up automatically, use the <code>--with-jtreg=&lt;path to jtreg home&gt;</code> option to point to the JTReg framework. Note that this option should point to the JTReg home, i.e. the top directory, containing <code>lib/jtreg.jar</code> etc.</p>
<p>The <a href="https://wiki.openjdk.java.net/display/Adoption">Adoption Group</a> provides recent builds of jtreg <a href="https://ci.adoptopenjdk.net/view/Dependencies/job/jtreg/lastSuccessfulBuild/artifact">here</a>. Download the latest <code>.tar.gz</code> file, unpack it, and point <code>--with-jtreg</code> to the <code>jtreg</code> directory that you just unpacked.</p>
<p>The <a href="https://wiki.openjdk.java.net/display/Adoption">Adoption Group</a> provides recent builds of jtreg <a href="https://ci.adoptopenjdk.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/">here</a>. Download the latest <code>.tar.gz</code> file, unpack it, and point <code>--with-jtreg</code> to the <code>jtreg</code> directory that you just unpacked.</p>
<p>Building of Hotspot Gtest suite requires the source code of Google Test framework. The top directory, which contains both <code>googletest</code> and <code>googlemock</code> directories, should be specified via <code>--with-gtest</code>. The supported version of Google Test is 1.8.1, whose source code can be obtained:</p>
<ul>
<li>by downloading and unpacking the source bundle from <a href="https://github.com/google/googletest/releases/tag/release-1.8.1">here</a></li>
@@ -514,7 +517,7 @@
</ul>
<p>To execute the most basic tests (tier 1), use:</p>
<pre><code>make run-test-tier1</code></pre>
<p>For more details on how to run tests, please see the <a href="testing.html">Testing the JDK</a> document.</p>
<p>For more details on how to run tests, please see <strong>Testing the JDK</strong> (<a href="testing.html">html</a>, <a href="testing.md">markdown</a>).</p>
<h2 id="cross-compiling">Cross-compiling</h2>
<p>Cross-compiling means using one platform (the <em>build</em> platform) to generate output that can ran on another platform (the <em>target</em> platform).</p>
<p>The typical reason for cross-compiling is that the build is performed on a more powerful desktop computer, but the resulting binaries will be able to run on a different, typically low-performing system. Most of the complications that arise when building for embedded is due to this separation of <em>build</em> and <em>target</em> systems.</p>
@@ -567,7 +570,8 @@ x86_64-linux-gnu-to-ppc64le-linux-gnu</code></pre>
<p>To be able to build, we need a &quot;Build JDK&quot;, which is a JDK built from the current sources (that is, the same as the end result of the entire build process), but able to run on the <em>build</em> system, and not the <em>target</em> system. (In contrast, the Boot JDK should be from an older release, e.g. JDK 8 when building JDK 9.)</p>
<p>The build process will create a minimal Build JDK for you, as part of building. To speed up the build, you can use <code>--with-build-jdk</code> to <code>configure</code> to point to a pre-built Build JDK. Please note that the build result is unpredictable, and can possibly break in subtle ways, if the Build JDK does not <strong>exactly</strong> match the current sources.</p>
<h3 id="specifying-the-target-platform">Specifying the Target Platform</h3>
<p>You <em>must</em> specify the target platform when cross-compiling. Doing so will also automatically turn the build into a cross-compiling mode. The simplest way to do this is to use the <code>--openjdk-target</code> argument, e.g. <code>--openjdk-target=arm-linux-gnueabihf</code>. or <code>--openjdk-target=aarch64-oe-linux</code>. This will automatically set the <code>--build</code>, <code>--host</code> and <code>--target</code> options for autoconf, which can otherwise be confusing. (In autoconf terminology, the &quot;target&quot; is known as &quot;host&quot;, and &quot;target&quot; is used for building a Canadian cross-compiler.)</p>
<p>You <em>must</em> specify the target platform when cross-compiling. Doing so will also automatically turn the build into a cross-compiling mode. The simplest way to do this is to use the <code>--openjdk-target</code> argument, e.g. <code>--openjdk-target=arm-linux-gnueabihf</code>. or <code>--openjdk-target=aarch64-oe-linux</code>. This will automatically set the <code>--host</code> and <code>--target</code> options for autoconf, which can otherwise be confusing. (In autoconf terminology, the &quot;target&quot; is known as &quot;host&quot;, and &quot;target&quot; is used for building a Canadian cross-compiler.)</p>
<p>If <code>--build</code> has not been explicitly passed to configure, <code>--openjdk-target</code> will autodetect the build platform and internally set the flag automatically, otherwise the platform that was explicitly passed to <code>--build</code> will be used instead.</p>
<h3 id="toolchain-considerations">Toolchain Considerations</h3>
<p>You will need two copies of your toolchain, one which generates output that can run on the target system (the normal, or <em>target</em>, toolchain), and one that generates output that can run on the build system (the <em>build</em> toolchain). Note that cross-compiling is only supported for gcc at the time being. The gcc standard is to prefix cross-compiling toolchains with the target denominator. If you follow this standard, <code>configure</code> is likely to pick up the toolchain correctly.</p>
<p>The <em>build</em> toolchain will be autodetected just the same way the normal <em>build</em>/<em>target</em> toolchain will be autodetected when not cross-compiling. If this is not what you want, or if the autodetection fails, you can specify a devkit containing the <em>build</em> toolchain using <code>--with-build-devkit</code> to <code>configure</code>, or by giving <code>BUILD_CC</code> and <code>BUILD_CXX</code> arguments.</p>
@@ -884,6 +888,30 @@ spawn failed</code></pre>
<h3 id="getting-help">Getting Help</h3>
<p>If none of the suggestions in this document helps you, or if you find what you believe is a bug in the build system, please contact the Build Group by sending a mail to <a href="mailto:build-dev@openjdk.java.net">build-dev@openjdk.java.net</a>. Please include the relevant parts of the configure and/or build log.</p>
<p>If you need general help or advice about developing for the JDK, you can also contact the Adoption Group. See the section on <a href="#contributing-to-openjdk">Contributing to OpenJDK</a> for more information.</p>
<h2 id="reproducible-builds">Reproducible Builds</h2>
<p>Build reproducibility is the property of getting exactly the same bits out when building, every time, independent on who builds the product, or where. This is for many reasons a harder goal than it initially appears, but it is an important goal, for security reasons and others. Please see <a href="https://reproducible-builds.org">Reproducible Builds</a> for more information about the background and reasons for reproducible builds.</p>
<p>Currently, it is not possible to build OpenJDK fully reproducibly, but getting there is an ongoing effort.</p>
<p>An absolute prerequisite for building reproducible is to speficy a fixed build time, since time stamps are embedded in many file formats. This is done by setting the <code>SOURCE_DATE_EPOCH</code> environment variable, which is an <a href="https://reproducible-builds.org/docs/source-date-epoch/">industry standard</a>, that many tools, such as gcc, recognize, and use in place of the current time when generating output.</p>
<p>To generate reproducible builds, you must set <code>SOURCE_DATE_EPOCH</code> before running <code>configure</code>. The value in <code>SOURCE_DATE_EPOCH</code> will be stored in the configuration, and used by <code>make</code>. Setting <code>SOURCE_DATE_EPOCH</code> before running <code>make</code> will have no effect on the build.</p>
<p>You must also make sure your build does not rely on <code>configure</code>'s default adhoc version strings. Default adhoc version strings <code>OPT</code> segment include user name and source directory. You can either override just the <code>OPT</code> segment using <code>--with-version-opt=&lt;any fixed string&gt;</code>, or you can specify the entire version string using <code>--with-version-string=&lt;your version&gt;</code>.</p>
<p>This is a typical example of how to build the JDK in a reproducible way:</p>
<pre><code>export SOURCE_DATE_EPOCH=946684800
bash configure --with-version-opt=adhoc
make</code></pre>
<p>Note that regardless if you specify a source date for <code>configure</code> or not, the JDK build system will set <code>SOURCE_DATE_EPOCH</code> for all build tools when building. If <code>--with-source-date</code> has the value <code>updated</code> (which is the default unless <code>SOURCE_DATE_EPOCH</code> is found by in the environment by <code>configure</code>), the source date value will be determined at build time.</p>
<p>There are several aspects of reproducible builds that can be individually adjusted by <code>configure</code> arguments. If any of these are given, they will override the value derived from <code>SOURCE_DATE_EPOCH</code>. These arguments are:</p>
<ul>
<li><p><code>--with-source-date</code></p>
<p>This option controls how the JDK build sets <code>SOURCE_DATE_EPOCH</code> when building. It can be set to a value describing a date, either an epoch based timestamp as an integer, or a valid ISO-8601 date.</p>
<p>It can also be set to one of the special values <code>current</code>, <code>updated</code> or <code>version</code>. <code>current</code> means that the time of running <code>configure</code> will be used. <code>version</code> will use the nominal release date for the current JDK version. <code>updated</code>, which means that <code>SOURCE_DATE_EPOCH</code> will be set to the current time each time you are running <code>make</code>. All choices, except for <code>updated</code>, will set a fixed value for the source date timestamp.</p>
<p>When <code>SOURCE_DATE_EPOCH</code> is set, the default value for <code>--with-source-date</code> will be the value given by <code>SOURCE_DATE_EPOCH</code>. Otherwise, the default value is <code>updated</code>.</p></li>
<li><p><code>--with-hotspot-build-time</code></p>
<p>This option controls the build time string that will be included in the hotspot library (<code>libjvm.so</code> or <code>jvm.dll</code>). When the source date is fixed (e.g. by setting <code>SOURCE_DATE_EPOCH</code>), the default value for <code>--with-hotspot-build-time</code> will be an ISO 8601 representation of that time stamp. Otherwise the default value will be the current time when building hotspot.</p></li>
<li><p><code>--with-copyright-year</code></p>
<p>This option controls the copyright year in some generated text files. When the source date is fixed (e.g. by setting <code>SOURCE_DATE_EPOCH</code>), the default value for <code>--with-copyright-year</code> will be the year of that time stamp. Otherwise the default is the current year at the time of running configure. This can be overridden by <code>--with-copyright-year=&lt;year&gt;</code>.</p></li>
<li><p><code>--enable-reproducible-build</code></p>
<p>This option controls some additional behavior needed to make the build reproducible. When the source date is fixed (e.g. by setting <code>SOURCE_DATE_EPOCH</code>), this flag will be turned on by default. Otherwise, the value is determined by heuristics. If it is explicitly turned off, the build might not be reproducible.</p></li>
</ul>
<h2 id="hints-and-suggestions-for-advanced-users">Hints and Suggestions for Advanced Users</h2>
<h3 id="bash-completion">Bash Completion</h3>
<p>The <code>configure</code> and <code>make</code> commands tries to play nice with bash command-line completion (using <code>&lt;tab&gt;</code> or <code>&lt;tab&gt;&lt;tab&gt;</code>). To use this functionality, make sure you enable completion in your <code>~/.bashrc</code> (see instructions for bash in your operating system).</p>

View File

@@ -135,6 +135,14 @@ space is required.
If you do not have access to sufficiently powerful hardware, it is also
possible to use [cross-compiling](#cross-compiling).
#### Branch Protection
In order to use Branch Protection features in the VM, `--enable-branch-protection`
must be used. This option requires C++ compiler support (GCC 9.1.0+ or Clang
10+). The resulting build can be run on both machines with and without support
for branch protection in hardware. Branch Protection is only supported for
Linux targets.
### Building on 32-bit arm
This is not recommended. Instead, see the section on [Cross-compiling](
@@ -179,10 +187,10 @@ On Windows, it is important that you pay attention to the instructions in the
Windows is the only non-POSIX OS supported by the JDK, and as such, requires
some extra care. A POSIX support layer is required to build on Windows.
Currently, the only supported such layers are Cygwin and Windows Subsystem for
Linux (WSL). (Msys is no longer supported due to a too old bash; msys2 would
likely be possible to support in a future version but that would require effort
to implement.)
Currently, the only supported such layers are Cygwin, Windows Subsystem for
Linux (WSL), and MSYS2. (MSYS is no longer supported due to an outdated bash;
While OpenJDK can be built with MSYS2, support for it is still experimental, so
build failures and unusual errors are not uncommon.)
Internally in the build system, all paths are represented as Unix-style paths,
e.g. `/cygdrive/c/git/jdk/Makefile` rather than `C:\git\jdk\Makefile`. This
@@ -236,8 +244,8 @@ It's possible to build both Windows and Linux binaries from WSL. To build
Windows binaries, you must use a Windows boot JDK (located in a
Windows-accessible directory). To build Linux binaries, you must use a Linux
boot JDK. The default behavior is to build for Windows. To build for Linux, pass
`--build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu` to
`configure`.
`--build=x86_64-unknown-linux-gnu --openjdk-target=x86_64-unknown-linux-gnu`
to `configure`.
If building Windows binaries, the source code must be located in a Windows-
accessible directory. This is because Windows executables (such as Visual Studio
@@ -321,9 +329,9 @@ issues.
Operating system Toolchain version
------------------ -------------------------------------------------------
Linux gcc 10.2.0
Linux gcc 11.2.0
macOS Apple Xcode 10.1 (using clang 10.0.0)
Windows Microsoft Visual Studio 2019 update 16.7.2
Windows Microsoft Visual Studio 2022 update 17.1.0
All compilers are expected to be able to compile to the C99 language standard,
as some C99 features are used in the source code. Microsoft Visual Studio
@@ -335,7 +343,7 @@ features that it does support.
The minimum accepted version of gcc is 5.0. Older versions will generate a warning
by `configure` and are unlikely to work.
The JDK is currently known to be able to compile with at least version 10.2 of
The JDK is currently known to be able to compile with at least version 11.2 of
gcc.
In general, any version between these two should be usable.
@@ -374,9 +382,10 @@ available for this update.
### Microsoft Visual Studio
The minimum accepted version of Visual Studio is 2017. Older versions will not
be accepted by `configure` and will not work. The maximum accepted
version of Visual Studio is 2019.
For aarch64 machines running Windows the minimum accepted version is Visual Studio 2019
(16.8 or higher). For all other platforms the minimum accepted version of
Visual Studio is 2017. Older versions will not be accepted by `configure` and will
not work. For all platforms the maximum accepted version of Visual Studio is 2022.
If you have multiple versions of Visual Studio installed, `configure` will by
default pick the latest. You can request a specific version to be used by
@@ -818,7 +827,7 @@ configuration, as opposed to the "configure time" configuration.
#### Test Make Control Variables
These make control variables only make sense when running tests. Please see
[Testing the JDK](testing.html) for details.
**Testing the JDK** ([html](testing.html), [markdown](testing.md)) for details.
* `TEST`
* `TEST_JOBS`
@@ -848,7 +857,7 @@ containing `lib/jtreg.jar` etc.
The [Adoption Group](https://wiki.openjdk.java.net/display/Adoption) provides
recent builds of jtreg [here](
https://ci.adoptopenjdk.net/view/Dependencies/job/jtreg/lastSuccessfulBuild/artifact).
https://ci.adoptopenjdk.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/).
Download the latest `.tar.gz` file, unpack it, and point `--with-jtreg` to the
`jtreg` directory that you just unpacked.
@@ -865,8 +874,8 @@ To execute the most basic tests (tier 1), use:
make run-test-tier1
```
For more details on how to run tests, please see the [Testing
the JDK](testing.html) document.
For more details on how to run tests, please see **Testing the JDK**
([html](testing.html), [markdown](testing.md)).
## Cross-compiling
@@ -977,11 +986,16 @@ You *must* specify the target platform when cross-compiling. Doing so will also
automatically turn the build into a cross-compiling mode. The simplest way to
do this is to use the `--openjdk-target` argument, e.g.
`--openjdk-target=arm-linux-gnueabihf`. or `--openjdk-target=aarch64-oe-linux`.
This will automatically set the `--build`, `--host` and `--target` options for
This will automatically set the `--host` and `--target` options for
autoconf, which can otherwise be confusing. (In autoconf terminology, the
"target" is known as "host", and "target" is used for building a Canadian
cross-compiler.)
If `--build` has not been explicitly passed to configure, `--openjdk-target`
will autodetect the build platform and internally set the flag automatically,
otherwise the platform that was explicitly passed to `--build` will be used
instead.
### Toolchain Considerations
You will need two copies of your toolchain, one which generates output that can
@@ -1503,6 +1517,96 @@ If you need general help or advice about developing for the JDK, you can also
contact the Adoption Group. See the section on [Contributing to OpenJDK](
#contributing-to-openjdk) for more information.
## Reproducible Builds
Build reproducibility is the property of getting exactly the same bits out when
building, every time, independent on who builds the product, or where. This is
for many reasons a harder goal than it initially appears, but it is an important
goal, for security reasons and others. Please see [Reproducible Builds](
https://reproducible-builds.org) for more information about the background and
reasons for reproducible builds.
Currently, it is not possible to build OpenJDK fully reproducibly, but getting
there is an ongoing effort.
An absolute prerequisite for building reproducible is to speficy a fixed build
time, since time stamps are embedded in many file formats. This is done by
setting the `SOURCE_DATE_EPOCH` environment variable, which is an [industry
standard]( https://reproducible-builds.org/docs/source-date-epoch/), that many
tools, such as gcc, recognize, and use in place of the current time when
generating output.
To generate reproducible builds, you must set `SOURCE_DATE_EPOCH` before running
`configure`. The value in `SOURCE_DATE_EPOCH` will be stored in the
configuration, and used by `make`. Setting `SOURCE_DATE_EPOCH` before running
`make` will have no effect on the build.
You must also make sure your build does not rely on `configure`'s default adhoc
version strings. Default adhoc version strings `OPT` segment include user name
and source directory. You can either override just the `OPT` segment using
`--with-version-opt=<any fixed string>`, or you can specify the entire version
string using `--with-version-string=<your version>`.
This is a typical example of how to build the JDK in a reproducible way:
```
export SOURCE_DATE_EPOCH=946684800
bash configure --with-version-opt=adhoc
make
```
Note that regardless if you specify a source date for `configure` or not, the
JDK build system will set `SOURCE_DATE_EPOCH` for all build tools when building.
If `--with-source-date` has the value `updated` (which is the default unless
`SOURCE_DATE_EPOCH` is found by in the environment by `configure`), the source
date value will be determined at build time.
There are several aspects of reproducible builds that can be individually
adjusted by `configure` arguments. If any of these are given, they will override
the value derived from `SOURCE_DATE_EPOCH`. These arguments are:
* `--with-source-date`
This option controls how the JDK build sets `SOURCE_DATE_EPOCH` when
building. It can be set to a value describing a date, either an epoch based
timestamp as an integer, or a valid ISO-8601 date.
It can also be set to one of the special values `current`, `updated` or
`version`. `current` means that the time of running `configure` will be
used. `version` will use the nominal release date for the current JDK
version. `updated`, which means that `SOURCE_DATE_EPOCH` will be set to the
current time each time you are running `make`. All choices, except for
`updated`, will set a fixed value for the source date timestamp.
When `SOURCE_DATE_EPOCH` is set, the default value for `--with-source-date`
will be the value given by `SOURCE_DATE_EPOCH`. Otherwise, the default value
is `updated`.
* `--with-hotspot-build-time`
This option controls the build time string that will be included in the
hotspot library (`libjvm.so` or `jvm.dll`). When the source date is fixed
(e.g. by setting `SOURCE_DATE_EPOCH`), the default value for
`--with-hotspot-build-time` will be an ISO 8601 representation of that time
stamp. Otherwise the default value will be the current time when building
hotspot.
* `--with-copyright-year`
This option controls the copyright year in some generated text files. When
the source date is fixed (e.g. by setting `SOURCE_DATE_EPOCH`), the default
value for `--with-copyright-year` will be the year of that time stamp.
Otherwise the default is the current year at the time of running configure.
This can be overridden by `--with-copyright-year=<year>`.
* `--enable-reproducible-build`
This option controls some additional behavior needed to make the build
reproducible. When the source date is fixed (e.g. by setting
`SOURCE_DATE_EPOCH`), this flag will be turned on by default. Otherwise, the
value is determined by heuristics. If it is explicitly turned off, the build
might not be reproducible.
## Hints and Suggestions for Advanced Users
### Bash Completion

View File

@@ -50,6 +50,8 @@
<li><a href="#nullptr">nullptr</a></li>
<li><a href="#atomic">&lt;atomic&gt;</a></li>
<li><a href="#uniform-initialization">Uniform Initialization</a></li>
<li><a href="#local-function-objects">Local Function Objects</a></li>
<li><a href="#inheriting-constructors">Inheriting constructors</a></li>
<li><a href="#additional-permitted-features">Additional Permitted Features</a></li>
<li><a href="#excluded-features">Excluded Features</a></li>
<li><a href="#undecided-features">Undecided Features</a></li>
@@ -66,7 +68,9 @@
<h3 id="counterexamples-and-updates">Counterexamples and Updates</h3>
<p>Many of the guidelines mentioned here have (sometimes widespread) counterexamples in the HotSpot code base. Finding a counterexample is not sufficient justification for new code to follow the counterexample as a precedent, since readers of your code will rightfully expect your code to follow the greater bulk of precedents documented here.</p>
<p>Occasionally a guideline mentioned here may be just out of synch with the actual HotSpot code base. If you find that a guideline is consistently contradicted by a large number of counterexamples, please bring it up for discussion and possible change. The architectural rule, of course, is &quot;When in Rome do as the Romans&quot;. Sometimes in the suburbs of Rome the rules are a little different; these differences can be pointed out here.</p>
<p>Proposed changes should be discussed on the <a href="mailto:hotspot-dev@openjdk.java.net">HotSpot Developers</a> mailing list, and approved by <a href="https://en.wikipedia.org/wiki/Rough_consensus">rough consensus</a> of the <a href="https://openjdk.java.net/census#hotspot">HotSpot Group</a> Members. The Group Lead determines whether consensus has been reached. Changes are likely to be cautious and incremental, since HotSpot coders have been using these guidelines for years.</p>
<p>Proposed changes should be discussed on the <a href="mailto:hotspot-dev@openjdk.java.net">HotSpot Developers</a> mailing list. Changes are likely to be cautious and incremental, since HotSpot coders have been using these guidelines for years.</p>
<p>Substantive changes are approved by <a href="https://www.rfc-editor.org/rfc/rfc7282.html">rough consensus</a> of the <a href="https://openjdk.java.net/census#hotspot">HotSpot Group</a> Members. The Group Lead determines whether consensus has been reached.</p>
<p>Editorial changes (changes that only affect the description of HotSpot style, not its substance) do not require the full consensus gathering process. The normal HotSpot pull request process may be used for editorial changes, with the additional requirement that the requisite reviewers are also HotSpot Group Members.</p>
<h2 id="structure-and-formatting">Structure and Formatting</h2>
<h3 id="factoring-and-class-design">Factoring and Class Design</h3>
<ul>
@@ -150,7 +154,7 @@
<h3 id="whitespace">Whitespace</h3>
<ul>
<li><p>In general, don't change whitespace unless it improves readability or consistency. Gratuitous whitespace changes will make integrations and backports more difficult.</p></li>
<li><p>Use One-True-Brace-Style. The opening brace for a function or class is normally at the end of the line; it is sometimes moved to the beginning of the next line for emphasis. Substatements are enclosed in braces, even if there is only a single statement. Extremely simple one-line statements may drop braces around a substatement.</p></li>
<li><p>Use <a href="https://en.wikipedia.org/wiki/Indentation_style#Variant:_1TBS_(OTBS)">One-True-Brace-Style</a>. The opening brace for a function or class is normally at the end of the line; it is sometimes moved to the beginning of the next line for emphasis. Substatements are enclosed in braces, even if there is only a single statement. Extremely simple one-line statements may drop braces around a substatement.</p></li>
<li><p>Indentation levels are two columns.</p></li>
<li><p>There is no hard line length limit. That said, bear in mind that excessively long lines can cause difficulties. Some people like to have multiple side-by-side windows in their editors, and long lines may force them to choose among unpleasant options. They can use wide windows, reducing the number that can fit across the screen, and wasting a lot of screen real estate because most lines are not that long. Alternatively, they can have more windows across the screen, with long lines wrapping (or worse, requiring scrolling to see in their entirety), which is harder to read. Similar issues exist for side-by-side code reviews.</p></li>
<li><p>Tabs are not allowed in code. Set your editor accordingly.<br> (Emacs: <code>(setq-default indent-tabs-mode nil)</code>.)</p></li>
@@ -194,7 +198,7 @@ while ( test_foo(args...) ) { // No, excess spaces around control</code></pre></
<p>Similar discussions for some other projects:</p>
<ul>
<li><p><a href="https://google.github.io/styleguide/cppguide.html">Google C++ Style Guide</a> — Currently (2020) targeting C++17.</p></li>
<li><p><a href="https://chromium-cpp.appspot.com">C++11 and C++14 use in Chromium</a> — Categorizes features as allowed, banned, or to be discussed.</p></li>
<li><p><a href="https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++-features.md">C++11 and C++14 use in Chromium</a> — Categorizes features as allowed, banned, or to be discussed.</p></li>
<li><p><a href="https://llvm.org/docs/CodingStandards.html">llvm Coding Standards</a> — Currently (2020) targeting C++14.</p></li>
<li><p><a href="https://firefox-source-docs.mozilla.org/code-quality/coding-style/using_cxx_in_firefox_code.html">Using C++ in Mozilla code</a> — C++17 support is required for recent versions (2020).</p></li>
</ul>
@@ -207,7 +211,7 @@ while ( test_foo(args...) ) { // No, excess spaces around control</code></pre></
<p>Rationale: Other than to implement exceptions (which HotSpot doesn't use), most potential uses of <a href="https://en.wikipedia.org/wiki/Run-time_type_information" title="Runtime Type Information">RTTI</a> are better done via virtual functions. Some of the remainder can be replaced by bespoke mechanisms. The cost of the additional runtime data structures needed to support <a href="https://en.wikipedia.org/wiki/Run-time_type_information" title="Runtime Type Information">RTTI</a> are deemed not worthwhile, given the alternatives.</p>
<h3 id="memory-allocation">Memory Allocation</h3>
<p>Do not use the standard global allocation and deallocation functions (operator new and related functions). Use of these functions by HotSpot code is disabled for some platforms.</p>
<p>Rationale: HotSpot often uses &quot;resource&quot; or &quot;arena&quot; allocation. Even where heap allocation is used, the standard global functions are avoided in favor of wrappers around malloc and free that support the VM's Native Memory Tracking (NMT) feature.</p>
<p>Rationale: HotSpot often uses &quot;resource&quot; or &quot;arena&quot; allocation. Even where heap allocation is used, the standard global functions are avoided in favor of wrappers around malloc and free that support the VM's Native Memory Tracking (NMT) feature. Typically, uses of the global operator new are inadvertent and therefore often associated with memory leaks.</p>
<p>Native memory allocation failures are often treated as non-recoverable. The place where &quot;out of memory&quot; is (first) detected may be an innocent bystander, unrelated to the actual culprit.</p>
<h3 id="class-inheritance">Class Inheritance</h3>
<p>Use public single inheritance.</p>
@@ -254,8 +258,7 @@ while ( test_foo(args...) ) { // No, excess spaces around control</code></pre></
<li><p>Function argument deduction. This is always permitted, and indeed encouraged. It is nearly always better to allow the type of a function template argument to be deduced rather than explicitly specified.</p></li>
<li><p><code>auto</code> variable declarations (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1984.pdf">n1984</a>)<br> For local variables, this can be used to make the code clearer by eliminating type information that is obvious or irrelevant. Excessive use can make code much harder to understand.</p></li>
<li><p>Function return type deduction (<a href="https://isocpp.org/files/papers/N3638.html">n3638</a>)<br> Only use if the function body has a very small number of <code>return</code> statements, and generally relatively little other code.</p></li>
<li><p>Generic lambdas. Lambdas are not (yet) permitted.</p></li>
<li><p>Lambda init captures. Lambdas are not (yet) permitted.</p></li>
<li><p>Also see <a href="#lambdaexpressions">lambda expressions</a>.</p></li>
</ul>
<h3 id="expression-sfinae">Expression SFINAE</h3>
<p><a href="https://en.cppreference.com/w/cpp/language/sfinae" title="Substitution Failure Is Not An Error">Substitution Failure Is Not An Error</a> (SFINAE) is a template metaprogramming technique that makes use of template parameter substitution failures to make compile-time decisions.</p>
@@ -268,8 +271,8 @@ while ( test_foo(args...) ) { // No, excess spaces around control</code></pre></
<p>The underlying type of a <em>scoped-enum</em> should also be specified explicitly if conversions may be applied to values of that type.</p>
<p>Due to bugs in certain (very old) compilers, there is widespread use of enums and avoidance of in-class initialization of static integral constant members. Compilers having such bugs are no longer supported. Except where an enum is semantically appropriate, new code should use integral constants.</p>
<h3 id="thread_local">thread_local</h3>
<p>Do not use <code>thread_local</code> (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2659.htm">n2659</a>); instead, use the HotSpot macro <code>THREAD_LOCAL</code>. The initializer must be a constant expression.</p>
<p>As was discussed in the review for <a href="https://mail.openjdk.java.net/pipermail/hotspot-dev/2019-September/039487.html">JDK-8230877</a>, <code>thread_local</code> allows dynamic initialization and destruction semantics. However, that support requires a run-time penalty for references to non-function-local <code>thread_local</code> variables defined in a different translation unit, even if they don't need dynamic initialization. Dynamic initialization and destruction of namespace-scoped thread local variables also has the same ordering problems as for ordinary namespace-scoped variables.</p>
<p>Avoid use of <code>thread_local</code> (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2659.htm">n2659</a>); and instead, use the HotSpot macro <code>THREAD_LOCAL</code>, for which the initializer must be a constant expression. When <code>thread_local</code> must be used, use the Hotspot macro <code>APPROVED_CPP_THREAD_LOCAL</code> to indicate that the use has been given appropriate consideration.</p>
<p>As was discussed in the review for <a href="https://mail.openjdk.java.net/pipermail/hotspot-dev/2019-September/039487.html">JDK-8230877</a>, <code>thread_local</code> allows dynamic initialization and destruction semantics. However, that support requires a run-time penalty for references to non-function-local <code>thread_local</code> variables defined in a different translation unit, even if they don't need dynamic initialization. Dynamic initialization and destruction of non-local <code>thread_local</code> variables also has the same ordering problems as for ordinary non-local variables. So we avoid use of <code>thread_local</code> in general, limiting its use to only those cases where dynamic initialization or destruction are essential. See <a href="https://bugs.openjdk.java.net/browse/JDK-8282469">JDK-8282469</a> for further discussion.</p>
<h3 id="nullptr">nullptr</h3>
<p>Prefer <code>nullptr</code> (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2431.pdf">n2431</a>) to <code>NULL</code>. Don't use (constexpr or literal) 0 for pointers.</p>
<p>For historical reasons there are widespread uses of both <code>NULL</code> and of integer 0 as a pointer value.</p>
@@ -288,6 +291,125 @@ while ( test_foo(args...) ) { // No, excess spaces around control</code></pre></
<li><a href="https://en.cppreference.com/w/cpp/language/aggregate_initialization">aggregate initialization</a></li>
</ul>
<p>Although related, the use of <code>std::initializer_list</code> remains forbidden, as part of the avoidance of the C++ Standard Library in HotSpot code.</p>
<h3 id="local-function-objects">Local Function Objects</h3>
<ul>
<li>Local function objects, including lambda expressions, may be used.</li>
<li>Lambda expressions must only be used as a downward value.</li>
<li>Prefer <code>[&amp;]</code> as the capture list of a lambda expression.</li>
<li>Return type deduction for lambda expressions is permitted, and indeed encouraged.</li>
<li>An empty parameter list for a lambda expression may be elided.</li>
<li>A lambda expression must not be <code>mutable</code>.</li>
<li>Generic lambda expressions are permitted.</li>
<li>Lambda expressions should be relatively simple.</li>
<li>Anonymous lambda expressions should not overly clutter the enclosing expression.</li>
<li>An anonymous lambda expression must not be directly invoked.</li>
<li>Bind expressions are forbidden.</li>
</ul>
<p>Single-use function objects can be defined locally within a function, directly at the point of use. This is an alternative to having a function or function object class defined at class or namespace scope.</p>
<p>This usage was somewhat limited by C++03, which does not permit such a class to be used as a template parameter. That restriction was removed by C++11 (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2657.htm">n2657</a>). Use of this feature is permitted.</p>
<p>Many HotSpot protocols involve &quot;function-like&quot; objects that involve some named member function rather than a call operator. For example, a function that performs some action on all threads might be written as</p>
<pre><code>void do_something() {
struct DoSomething : public ThreadClosure {
virtual void do_thread(Thread* t) {
... do something with t ...
}
} closure;
Threads::threads_do(&amp;closure);
}</code></pre>
<p>HotSpot code has historically usually placed the DoSomething class at namespace (or sometimes class) scope. This separates the function's code from its use, often to the detriment of readability. It requires giving the class a globally unique name (if at namespace scope). It also loses the information that the class is intended for use in exactly one place, and does not have any subclasses. (However, the latter can now be indicated by declaring it <code>final</code>.) Often, for simplicity, a local class will skip things like access control and accessor functions, giving the enclosing function direct access to the implementation and eliminating some boilerplate that might be provided if the class is in some outer (more accessible) scope. On the other hand, if there is a lot of surrounding code in the function body or the local class is of significant size, defining it locally can increase clutter and reduce readability.</p>
<p><a name="lambdaexpressions"></a> C++11 added <em>lambda expressions</em> as a new way to write a function object. Simple lambda expressions can be significantly more concise than a function object, eliminating a lot of boiler-plate. On the other hand, a complex lambda expression may not provide much, if any, readability benefit compared to an ordinary function object. Also, while a lambda can encapsulate a call to a &quot;function-like&quot; object, it cannot be used in place of such.</p>
<p>A common use for local functions is as one-use <a href="https://en.cppreference.com/w/cpp/language/raii" title="Resource Acquisition Is Initialization">RAII</a> objects. The amount of boilerplate for a function object class (local or not) makes such usage somewhat clumsy and verbose. But with the help of a small amount of supporting utility code, lambdas work particularly well for this use case.</p>
<p>Another use for local functions is <a href="https://en.wikipedia.org/wiki/Partial_application" title="Partial Application">partial application</a>. Again here, lambdas are typically much simpler and less verbose than function object classes.</p>
<p>Because of these benefits, lambda expressions are permitted in HotSpot code, with some restrictions and usage guidance. An anonymous lambda is one which is passed directly as an argument. A named lambda is the value of a variable, which is its name.</p>
<p>Lambda expressions should only be passed downward. In particular, a lambda should not be returned from a function or stored in a global variable, whether directly or as the value of a member of some other object. Lambda capture is syntactically subtle (by design), and propagating a lambda in such ways can easily pass references to captured values to places where they are no longer valid. In particular, members of the enclosing <code>this</code> object are effectively captured by reference, even if the default capture is by-value. For such uses-cases a function object class should be used to make the desired value capturing and propagation explicit.</p>
<p>Limiting the capture list to <code>[&amp;]</code> (implicitly capture by reference) is a simplifying restriction that still provides good support for HotSpot usage, while reducing the cases a reader must recognize and understand.</p>
<ul>
<li><p>Many common lambda uses require reference capture. Not permitting it would substantially reduce the utility of lambdas.</p></li>
<li><p>Referential transparency. Implicit reference capture makes variable references in the lambda body have the same meaning they would have in the enclosing code. There isn't a semantic barrier across which the meaning of a variable changes.</p></li>
<li><p>Explicit reference capture introduces significant clutter, especially when lambda expressions are relatively small and simple, as they should be in HotSpot code.</p></li>
<li><p>There are a number of reasons why by-value capture might be used, but for the most part they don't apply to HotSpot code, given other usage restrictions.</p>
<ul>
<li><p>A primary use-case for by-value capture is to support escaping uses, where values captured by-reference might become invalid. That use-case doesn't apply if only downward lambdas are used.</p></li>
<li><p>By-value capture can also make a lambda-local copy for mutation, which requires making the lambda <code>mutable</code>; see below.</p></li>
<li><p>By-value capture might be viewed as an optimization, avoiding any overhead for reference capture of cheap to copy values. But the compiler can often eliminate any such overhead.</p></li>
<li><p>By-value capture by a non-<code>mutable</code> lambda makes the captured values const, preventing any modification by the lambda and making the captured value unaffected by modifications to the outer variable. But this only applies to captured auto variables, not member variables, and is inconsistent with referential transparency.</p></li>
</ul></li>
<li><p>Non-capturing lambdas (with an empty capture list - <code>[]</code>) have limited utility. There are cases where no captures are required (pure functions, for example), but if the function is small and simple then that's obvious anyway.</p></li>
<li><p>Capture initializers (a C++14 feature - <a href="https://isocpp.org/files/papers/N3649.html">N3649</a>) are not permitted. Capture initializers inherently increase the complexity of the capture list, and provide little benefit over an additional in-scope local variable.</p></li>
</ul>
<p>The use of <code>mutable</code> lambda expressions is forbidden because there don't seem to be many, if any, good use-cases for them in HotSpot. A lambda expression needs to be mutable in order to modify a by-value captured value. But with only downward lambdas, such usage seems likely to be rare and complicated. It is better to use a function object class in any such cases that arise, rather than requiring all HotSpot developers to understand this relatively obscure feature.</p>
<p>While it is possible to directly invoke an anonymous lambda expression, that feature should not be used, as such a form can be confusing to readers. Instead, name the lambda and call it by name.</p>
<p>Some reasons to prefer a named lambda instead of an anonymous lambda are</p>
<ul>
<li><p>The body contains non-trivial control flow or declarations or other nested constructs.</p></li>
<li><p>Its role in an argument list is hard to guess without examining the function declaration. Give it a name that indicates its purpose.</p></li>
<li><p>It has an unusual capture list.</p></li>
<li><p>It has a complex explicit return type or parameter types.</p></li>
</ul>
<p>Lambda expressions, and particularly anonymous lambda expressions, should be simple and compact. One-liners are good. Anonymous lambdas should usually be limited to a couple lines of body code. More complex lambdas should be named. A named lambda should not clutter the enclosing function and make it long and complex; do continue to break up large functions via the use of separate helper functions.</p>
<p>An anonymous lambda expression should either be a one-liner in a one-line expression, or isolated in its own set of lines. Don't place part of a lambda expression on the same line as other arguments to a function. The body of a multi-line lambda argument should be indented from the start of the capture list, as if that were the start of an ordinary function definition. The body of a multi-line named lambda should be indented one step from the variable's indentation.</p>
<p>Some examples:</p>
<ol type="1">
<li><code>foo([&amp;] { ++counter; });</code></li>
<li><code>foo(x, [&amp;] { ++counter; });</code></li>
<li><code>foo([&amp;] { if (predicate) ++counter; });</code></li>
<li><code>foo([&amp;] { auto tmp = process(x); tmp.f(); return tmp.g(); })</code></li>
<li><p>Separate one-line lambda from other arguments:</p>
<pre><code>foo(c.begin(), c.end(),
[&amp;] (const X&amp; x) { do_something(x); return x.value(); });</code></pre></li>
<li><p>Indentation for multi-line lambda:</p>
<pre><code>c.do_entries([&amp;] (const X&amp; x) {
do_something(x, a);
do_something1(x, b);
do_something2(x, c);
});</code></pre></li>
<li><p>Separate multi-line lambda from other arguments:</p>
<pre><code>foo(c.begin(), c.end(),
[&amp;] (const X&amp; x) {
do_something(x, a);
do_something1(x, b);
do_something2(x, c);
});</code></pre></li>
<li><p>Multi-line named lambda:</p>
<pre><code>auto do_entry = [&amp;] (const X&amp; x) {
do_something(x, a);
do_something1(x, b);
do_something2(x, c);
};</code></pre></li>
</ol>
<p>Item 4, and especially items 6 and 7, are pushing the simplicity limits for anonymous lambdas. Item 6 might be better written using a named lambda:</p>
<pre><code>c.do_entries(do_entry);</code></pre>
<p>Note that C++11 also added <em>bind expressions</em> as a way to write a function object for partial application, using <code>std::bind</code> and related facilities from the Standard Library. <code>std::bind</code> generalizes and replaces some of the binders from C++03. Bind expressions are not permitted in HotSpot code. They don't provide enough benefit over lambdas or local function classes in the cases where bind expressions are applicable to warrant the introduction of yet another mechanism in this space into HotSpot code.</p>
<p>References:</p>
<ul>
<li>Local and unnamed types as template parameters (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2657.htm">n2657</a>)</li>
<li>New wording for C++0x lambdas (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2927.pdf">n2927</a>)</li>
<li>Generalized lambda capture (init-capture) (<a href="https://isocpp.org/files/papers/N3648.html">N3648</a>)</li>
<li>Generic (polymorphic) lambda expressions (<a href="https://isocpp.org/files/papers/N3649.html">N3649</a>)</li>
</ul>
<p>References from C++17</p>
<ul>
<li>Wording for constexpr lambda (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0170r1.pdf">p0170r1</a>)</li>
<li>Lambda capture of *this by Value (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0018r3.html">p0018r3</a>)</li>
</ul>
<p>References from C++20</p>
<ul>
<li>Allow lambda capture [=, this] (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0409r2.html">p0409r2</a>)</li>
<li>Familiar template syntax for generic lambdas (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0428r2.pdf">p0428r2</a>)</li>
<li>Simplifying implicit lambda capture (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0588r1.html">p0588r1</a>)</li>
<li>Default constructible and assignable stateless lambdas (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0624r2.pdf">p0624r2</a>)</li>
<li>Lambdas in unevaluated contexts (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0315r4.pdf">p0315r4</a>)</li>
<li>Allow pack expansion in lambda init-capture (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0780r2.html">p0780r2</a>) (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2095r0.html">p2095r0</a>)</li>
<li>Deprecate implicit capture of this via [=] (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0806r2.html">p0806r2</a>)</li>
</ul>
<p>References from C++23</p>
<ul>
<li>Make () more optional for lambdas (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1102r2.html">p1102r2</a>)</li>
</ul>
<h3 id="inheriting-constructors">Inheriting constructors</h3>
<p>Do not use <em>inheriting constructors</em> (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2540.htm">n2540</a>).</p>
<p>C++11 provides simple syntax allowing a class to inherit the constructors of a base class. Unfortunately there are a number of problems with the original specification, and C++17 contains significant revisions (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0136r1.html" title="p0136r1">p0136r1</a> opens with a list of 8 Core Issues). Since HotSpot doesn't support use of C++17, use of inherited constructors could run into those problems. Such uses might also change behavior in a future HotSpot update to use C++17 or later, potentially in subtle ways that could lead to hard to diagnose problems. Because of this, HotSpot code must not use inherited constructors.</p>
<p>Note that gcc7 provides the <code>-fnew-inheriting-ctors</code> option to use the <a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0136r1.html" title="p0136r1">p0136r1</a> semantics. This is enabled by default when using C++17 or later. It is also enabled by default for <code>fabi-version=11</code> (introduced by gcc7) or higher when using C++11/14, as the change is considered a Defect Report that applies to those versions. Earlier versions of gcc don't have that option, and other supported compilers may not have anything similar.</p>
<h3 id="additional-permitted-features">Additional Permitted Features</h3>
<ul>
<li><p><code>constexpr</code> (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2235.pdf">n2235</a>) (<a href="https://isocpp.org/files/papers/N3652.html">n3652</a>)</p></li>
@@ -305,8 +427,8 @@ while ( test_foo(args...) ) { // No, excess spaces around control</code></pre></
<li><p>Dynamic initialization and destruction with concurrency (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2660.htm">n2660</a>)</p></li>
<li><p><code>final</code> virtual specifiers for classes and virtual functions (<a href="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2928.htm">n2928</a>), (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3206.htm">n3206</a>), (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3272.htm">n3272</a>)</p></li>
<li><p><code>override</code> virtual specifiers for virtual functions (<a href="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2928.htm">n2928</a>), (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3206.htm">n3206</a>), (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3272.htm">n3272</a>)</p></li>
<li><p>Local and unnamed types as template parameters (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2657.htm">n2657</a>)</p></li>
<li><p>Range-based <code>for</code> loops (<a href="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2930.html">n2930</a>) (<a href="https://en.cppreference.com/w/cpp/language/range-for">range-for</a>)</p></li>
<li><p>Unrestricted Unions (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2544.pdf">n2544</a>)</p></li>
</ul>
<h3 id="excluded-features">Excluded Features</h3>
<ul>
@@ -322,7 +444,7 @@ while ( test_foo(args...) ) { // No, excess spaces around control</code></pre></
<li><p>Inline namespaces (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2535.htm">n2535</a>) — HotSpot makes very limited use of namespaces.</p></li>
<li><p><code>using namespace</code> directives. In particular, don't use <code>using namespace std;</code> to avoid needing to qualify Standard Library names.</p></li>
<li><p>Propagating exceptions (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.html">n2179</a>) — HotSpot does not permit the use of exceptions, so this feature isn't useful.</p></li>
<li><p>Avoid namespace-scoped variables with non-constexpr initialization. In particular, avoid variables with types requiring non-trivial initialization or destruction. Initialization order problems can be difficult to deal with and lead to surprises, as can destruction ordering. HotSpot doesn't generally try to cleanup on exit, and running destructors at exit can also lead to problems.</p></li>
<li><p>Avoid non-local variables with non-constexpr initialization. In particular, avoid variables with types requiring non-trivial initialization or destruction. Initialization order problems can be difficult to deal with and lead to surprises, as can destruction ordering. HotSpot doesn't generally try to cleanup on exit, and running destructors at exit can also lead to problems.</p></li>
<li><p><code>[[deprecated]]</code> attribute (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3760.html">n3760</a>) — Not relevant in HotSpot code.</p></li>
<li><p>Avoid most operator overloading, preferring named functions. When operator overloading is used, ensure the semantics conform to the normal expected behavior of the operation.</p></li>
<li><p>Avoid most implicit conversion constructors and (implicit or explicit) conversion operators. (Note that conversion to <code>bool</code> isn't needed in HotSpot code because of the &quot;no implicit boolean&quot; guideline.)</p></li>
@@ -337,7 +459,6 @@ while ( test_foo(args...) ) { // No, excess spaces around control</code></pre></
<li><p>Member initializers and aggregates (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3653.html">n3653</a>)</p></li>
<li><p><code>[[noreturn]]</code> attribute (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf">n2761</a>)</p></li>
<li><p>Rvalue references and move semantics</p></li>
<li><p>Lambdas</p></li>
</ul>
</body>
</html>

View File

@@ -56,12 +56,19 @@ can be pointed out here.
Proposed changes should be discussed on the
[HotSpot Developers](mailto:hotspot-dev@openjdk.java.net) mailing
list, and approved by
[rough consensus](https://en.wikipedia.org/wiki/Rough_consensus) of
list. Changes are likely to be cautious and incremental, since HotSpot
coders have been using these guidelines for years.
Substantive changes are approved by
[rough consensus](https://www.rfc-editor.org/rfc/rfc7282.html) of
the [HotSpot Group](https://openjdk.java.net/census#hotspot) Members.
The Group Lead determines whether consensus has been reached.
Changes are likely to be cautious and incremental, since HotSpot
coders have been using these guidelines for years.
Editorial changes (changes that only affect the description of HotSpot
style, not its substance) do not require the full consensus gathering
process. The normal HotSpot pull request process may be used for
editorial changes, with the additional requirement that the requisite
reviewers are also HotSpot Group Members.
## Structure and Formatting
@@ -287,7 +294,9 @@ well.
or consistency. Gratuitous whitespace changes will make integrations
and backports more difficult.
* Use One-True-Brace-Style. The opening brace for a function or class
* Use [One-True-Brace-Style](
https://en.wikipedia.org/wiki/Indentation_style#Variant:_1TBS_(OTBS)).
The opening brace for a function or class
is normally at the end of the line; it is sometimes moved to the
beginning of the next line for emphasis. Substatements are enclosed
in braces, even if there is only a single statement. Extremely simple
@@ -409,7 +418,7 @@ Similar discussions for some other projects:
* [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html) &mdash;
Currently (2020) targeting C++17.
* [C++11 and C++14 use in Chromium](https://chromium-cpp.appspot.com) &mdash;
* [C++11 and C++14 use in Chromium](https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++-features.md) &mdash;
Categorizes features as allowed, banned, or to be discussed.
* [llvm Coding Standards](https://llvm.org/docs/CodingStandards.html) &mdash;
@@ -462,7 +471,9 @@ code is disabled for some platforms.
Rationale: HotSpot often uses "resource" or "arena" allocation. Even
where heap allocation is used, the standard global functions are
avoided in favor of wrappers around malloc and free that support the
VM's Native Memory Tracking (NMT) feature.
VM's Native Memory Tracking (NMT) feature. Typically, uses of the global
operator new are inadvertent and therefore often associated with memory
leaks.
Native memory allocation failures are often treated as non-recoverable.
The place where "out of memory" is (first) detected may be an innocent
@@ -596,9 +607,7 @@ use can make code much harder to understand.
Only use if the function body has a very small number of `return`
statements, and generally relatively little other code.
* Generic lambdas. Lambdas are not (yet) permitted.
* Lambda init captures. Lambdas are not (yet) permitted.
* Also see [lambda expressions](#lambdaexpressions).
### Expression SFINAE
@@ -624,7 +633,7 @@ Here are a few closely related example bugs:<br>
### enum
Where appropriate, _scoped-enums_ should be used.
([n2347](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2347.pdf))
([n2347](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2347.pdf))
Use of _unscoped-enums_ is permitted, though ordinary constants may be
preferable when the automatic initializer feature isn't used.
@@ -644,10 +653,12 @@ integral constants.
### thread_local
Do not use `thread_local`
Avoid use of `thread_local`
([n2659](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2659.htm));
instead, use the HotSpot macro `THREAD_LOCAL`. The initializer must
be a constant expression.
and instead, use the HotSpot macro `THREAD_LOCAL`, for which the initializer must
be a constant expression. When `thread_local` must be used, use the Hotspot macro
`APPROVED_CPP_THREAD_LOCAL` to indicate that the use has been given appropriate
consideration.
As was discussed in the review for
[JDK-8230877](https://mail.openjdk.java.net/pipermail/hotspot-dev/2019-September/039487.html),
@@ -656,14 +667,18 @@ semantics. However, that support requires a run-time penalty for
references to non-function-local `thread_local` variables defined in a
different translation unit, even if they don't need dynamic
initialization. Dynamic initialization and destruction of
namespace-scoped thread local variables also has the same ordering
problems as for ordinary namespace-scoped variables.
non-local `thread_local` variables also has the same ordering
problems as for ordinary non-local variables. So we avoid use of
`thread_local` in general, limiting its use to only those cases where dynamic
initialization or destruction are essential. See
[JDK-8282469](https://bugs.openjdk.java.net/browse/JDK-8282469)
for further discussion.
### nullptr
Prefer `nullptr`
([n2431](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2431.pdf))
to `NULL`. Don't use (constexpr or literal) 0 for pointers.
to `NULL`. Don't use (constexpr or literal) 0 for pointers.
For historical reasons there are widespread uses of both `NULL` and of
integer 0 as a pointer value.
@@ -703,10 +718,301 @@ Some relevant sections from cppreference.com:
Although related, the use of `std::initializer_list` remains forbidden, as
part of the avoidance of the C++ Standard Library in HotSpot code.
### Local Function Objects
* Local function objects, including lambda expressions, may be used.
* Lambda expressions must only be used as a downward value.
* Prefer `[&]` as the capture list of a lambda expression.
* Return type deduction for lambda expressions is permitted, and indeed encouraged.
* An empty parameter list for a lambda expression may be elided.
* A lambda expression must not be `mutable`.
* Generic lambda expressions are permitted.
* Lambda expressions should be relatively simple.
* Anonymous lambda expressions should not overly clutter the enclosing expression.
* An anonymous lambda expression must not be directly invoked.
* Bind expressions are forbidden.
Single-use function objects can be defined locally within a function,
directly at the point of use. This is an alternative to having a function
or function object class defined at class or namespace scope.
This usage was somewhat limited by C++03, which does not permit such a class
to be used as a template parameter. That restriction was removed by C++11
([n2657]). Use of this feature is permitted.
Many HotSpot protocols involve "function-like" objects that involve some
named member function rather than a call operator. For example, a function
that performs some action on all threads might be written as
```
void do_something() {
struct DoSomething : public ThreadClosure {
virtual void do_thread(Thread* t) {
... do something with t ...
}
} closure;
Threads::threads_do(&closure);
}
```
HotSpot code has historically usually placed the DoSomething class at
namespace (or sometimes class) scope. This separates the function's code
from its use, often to the detriment of readability. It requires giving the
class a globally unique name (if at namespace scope). It also loses the
information that the class is intended for use in exactly one place, and
does not have any subclasses. (However, the latter can now be indicated by
declaring it `final`.) Often, for simplicity, a local class will skip
things like access control and accessor functions, giving the enclosing
function direct access to the implementation and eliminating some
boilerplate that might be provided if the class is in some outer (more
accessible) scope. On the other hand, if there is a lot of surrounding code
in the function body or the local class is of significant size, defining it
locally can increase clutter and reduce readability.
<a name="lambdaexpressions"></a>
C++11 added _lambda expressions_ as a new way to write a function object.
Simple lambda expressions can be significantly more concise than a function
object, eliminating a lot of boiler-plate. On the other hand, a complex
lambda expression may not provide much, if any, readability benefit compared
to an ordinary function object. Also, while a lambda can encapsulate a call
to a "function-like" object, it cannot be used in place of such.
A common use for local functions is as one-use [RAII] objects. The amount
of boilerplate for a function object class (local or not) makes such usage
somewhat clumsy and verbose. But with the help of a small amount of
supporting utility code, lambdas work particularly well for this use case.
Another use for local functions is [partial application][PARTIALAPP]. Again
here, lambdas are typically much simpler and less verbose than function
object classes.
Because of these benefits, lambda expressions are permitted in HotSpot code,
with some restrictions and usage guidance. An anonymous lambda is one which
is passed directly as an argument. A named lambda is the value of a
variable, which is its name.
Lambda expressions should only be passed downward. In particular, a lambda
should not be returned from a function or stored in a global variable,
whether directly or as the value of a member of some other object. Lambda
capture is syntactically subtle (by design), and propagating a lambda in
such ways can easily pass references to captured values to places where they
are no longer valid. In particular, members of the enclosing `this` object
are effectively captured by reference, even if the default capture is
by-value. For such uses-cases a function object class should be used to
make the desired value capturing and propagation explicit.
Limiting the capture list to `[&]` (implicitly capture by reference) is a
simplifying restriction that still provides good support for HotSpot usage,
while reducing the cases a reader must recognize and understand.
* Many common lambda uses require reference capture. Not permitting it
would substantially reduce the utility of lambdas.
* Referential transparency. Implicit reference capture makes variable
references in the lambda body have the same meaning they would have in the
enclosing code. There isn't a semantic barrier across which the meaning of
a variable changes.
* Explicit reference capture introduces significant clutter, especially when
lambda expressions are relatively small and simple, as they should be in
HotSpot code.
* There are a number of reasons why by-value capture might be used, but for
the most part they don't apply to HotSpot code, given other usage restrictions.
* A primary use-case for by-value capture is to support escaping uses,
where values captured by-reference might become invalid. That use-case
doesn't apply if only downward lambdas are used.
* By-value capture can also make a lambda-local copy for mutation, which
requires making the lambda `mutable`; see below.
* By-value capture might be viewed as an optimization, avoiding any
overhead for reference capture of cheap to copy values. But the
compiler can often eliminate any such overhead.
* By-value capture by a non-`mutable` lambda makes the captured values
const, preventing any modification by the lambda and making the captured
value unaffected by modifications to the outer variable. But this only
applies to captured auto variables, not member variables, and is
inconsistent with referential transparency.
* Non-capturing lambdas (with an empty capture list - `[]`) have limited
utility. There are cases where no captures are required (pure functions,
for example), but if the function is small and simple then that's obvious
anyway.
* Capture initializers (a C++14 feature - [N3649]) are not permitted.
Capture initializers inherently increase the complexity of the capture list,
and provide little benefit over an additional in-scope local variable.
The use of `mutable` lambda expressions is forbidden because there don't
seem to be many, if any, good use-cases for them in HotSpot. A lambda
expression needs to be mutable in order to modify a by-value captured value.
But with only downward lambdas, such usage seems likely to be rare and
complicated. It is better to use a function object class in any such cases
that arise, rather than requiring all HotSpot developers to understand this
relatively obscure feature.
While it is possible to directly invoke an anonymous lambda expression, that
feature should not be used, as such a form can be confusing to readers.
Instead, name the lambda and call it by name.
Some reasons to prefer a named lambda instead of an anonymous lambda are
* The body contains non-trivial control flow or declarations or other nested
constructs.
* Its role in an argument list is hard to guess without examining the
function declaration. Give it a name that indicates its purpose.
* It has an unusual capture list.
* It has a complex explicit return type or parameter types.
Lambda expressions, and particularly anonymous lambda expressions, should be
simple and compact. One-liners are good. Anonymous lambdas should usually
be limited to a couple lines of body code. More complex lambdas should be
named. A named lambda should not clutter the enclosing function and make it
long and complex; do continue to break up large functions via the use of
separate helper functions.
An anonymous lambda expression should either be a one-liner in a one-line
expression, or isolated in its own set of lines. Don't place part of a
lambda expression on the same line as other arguments to a function. The
body of a multi-line lambda argument should be indented from the start of
the capture list, as if that were the start of an ordinary function
definition. The body of a multi-line named lambda should be indented one
step from the variable's indentation.
Some examples:
1. `foo([&] { ++counter; });`
2. `foo(x, [&] { ++counter; });`
3. `foo([&] { if (predicate) ++counter; });`
4. `foo([&] { auto tmp = process(x); tmp.f(); return tmp.g(); })`
5. Separate one-line lambda from other arguments:
```
foo(c.begin(), c.end(),
[&] (const X& x) { do_something(x); return x.value(); });
```
6. Indentation for multi-line lambda:
```
c.do_entries([&] (const X& x) {
do_something(x, a);
do_something1(x, b);
do_something2(x, c);
});
```
7. Separate multi-line lambda from other arguments:
```
foo(c.begin(), c.end(),
[&] (const X& x) {
do_something(x, a);
do_something1(x, b);
do_something2(x, c);
});
```
8. Multi-line named lambda:
```
auto do_entry = [&] (const X& x) {
do_something(x, a);
do_something1(x, b);
do_something2(x, c);
};
```
Item 4, and especially items 6 and 7, are pushing the simplicity limits for
anonymous lambdas. Item 6 might be better written using a named lambda:
```
c.do_entries(do_entry);
```
Note that C++11 also added _bind expressions_ as a way to write a function
object for partial application, using `std::bind` and related facilities
from the Standard Library. `std::bind` generalizes and replaces some of the
binders from C++03. Bind expressions are not permitted in HotSpot code.
They don't provide enough benefit over lambdas or local function classes in
the cases where bind expressions are applicable to warrant the introduction
of yet another mechanism in this space into HotSpot code.
References:
* Local and unnamed types as template parameters ([n2657])
* New wording for C++0x lambdas ([n2927])
* Generalized lambda capture (init-capture) ([N3648])
* Generic (polymorphic) lambda expressions ([N3649])
[n2657]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2657.htm
[n2927]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2927.pdf
[N3648]: https://isocpp.org/files/papers/N3648.html
[N3649]: https://isocpp.org/files/papers/N3649.html
References from C++17
* Wording for constexpr lambda ([p0170r1])
* Lambda capture of *this by Value ([p0018r3])
[p0170r1]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0170r1.pdf
[p0018r3]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0018r3.html
References from C++20
* Allow lambda capture [=, this] ([p0409r2])
* Familiar template syntax for generic lambdas ([p0428r2])
* Simplifying implicit lambda capture ([p0588r1])
* Default constructible and assignable stateless lambdas ([p0624r2])
* Lambdas in unevaluated contexts ([p0315r4])
* Allow pack expansion in lambda init-capture ([p0780r2]) ([p2095r0])
* Deprecate implicit capture of this via [=] ([p0806r2])
[p0409r2]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0409r2.html
[p0428r2]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0428r2.pdf
[p0588r1]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0588r1.html
[p0624r2]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0624r2.pdf
[p0315r4]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0315r4.pdf
[p0780r2]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0780r2.html
[p2095r0]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2095r0.html
[p0806r2]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0806r2.html
References from C++23
* Make () more optional for lambdas ([p1102r2])
[p1102r2]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1102r2.html
### Inheriting constructors
Do not use _inheriting constructors_
([n2540](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2540.htm)).
C++11 provides simple syntax allowing a class to inherit the constructors of a
base class. Unfortunately there are a number of problems with the original
specification, and C++17 contains significant revisions ([p0136r1] opens with
a list of 8 Core Issues). Since HotSpot doesn't support use of C++17, use of
inherited constructors could run into those problems. Such uses might also
change behavior in a future HotSpot update to use C++17 or later, potentially
in subtle ways that could lead to hard to diagnose problems. Because of this,
HotSpot code must not use inherited constructors.
Note that gcc7 provides the `-fnew-inheriting-ctors` option to use the
[p0136r1] semantics. This is enabled by default when using C++17 or later.
It is also enabled by default for `fabi-version=11` (introduced by gcc7) or
higher when using C++11/14, as the change is considered a Defect Report that
applies to those versions. Earlier versions of gcc don't have that option,
and other supported compilers may not have anything similar.
[p0136r1]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0136r1.html
"p0136r1"
### Additional Permitted Features
* `constexpr`
([n2235](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2235.pdf))
([n2235](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2235.pdf))
([n3652](https://isocpp.org/files/papers/N3652.html))
* Sized deallocation
@@ -757,13 +1063,13 @@ part of the avoidance of the C++ Standard Library in HotSpot code.
([n3206](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3206.htm)),
([n3272](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3272.htm))
* Local and unnamed types as template parameters
([n2657](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2657.htm))
* Range-based `for` loops
([n2930](http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2930.html))
([range-for](https://en.cppreference.com/w/cpp/language/range-for))
* Unrestricted Unions
([n2544](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2544.pdf))
### Excluded Features
* New string and character literals
@@ -795,7 +1101,7 @@ namespace std;` to avoid needing to qualify Standard Library names.
([n2179](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.html)) &mdash;
HotSpot does not permit the use of exceptions, so this feature isn't useful.
* Avoid namespace-scoped variables with non-constexpr initialization.
* Avoid non-local variables with non-constexpr initialization.
In particular, avoid variables with types requiring non-trivial
initialization or destruction. Initialization order problems can be
difficult to deal with and lead to surprises, as can destruction
@@ -816,14 +1122,14 @@ in HotSpot code because of the "no implicit boolean" guideline.)
* Avoid covariant return types.
* Avoid `goto` statements.
* Avoid `goto` statements.
### Undecided Features
This list is incomplete; it serves to explicitly call out some
features that have not yet been discussed.
* Trailing return type syntax for functions
* Trailing return type syntax for functions
([n2541](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2541.htm))
* Variable templates
@@ -837,10 +1143,7 @@ features that have not yet been discussed.
* Rvalue references and move semantics
* Lambdas
[ADL]: https://en.cppreference.com/w/cpp/language/adl
[ADL]: https://en.cppreference.com/w/cpp/language/adl
"Argument Dependent Lookup"
[ODR]: https://en.cppreference.com/w/cpp/language/definition
@@ -854,3 +1157,6 @@ features that have not yet been discussed.
[SFINAE]: https://en.cppreference.com/w/cpp/language/sfinae
"Substitution Failure Is Not An Error"
[PARTIALAPP]: https://en.wikipedia.org/wiki/Partial_application
"Partial Application"

View File

@@ -41,14 +41,20 @@
<pre class="shell"><code>make vscode-project-clangd</code></pre>
<p>Additional instructions for configuring the given indexer will be displayed after the workspace has been generated.</p>
<h4 id="visual-studio">Visual Studio</h4>
<p>This section is a work in progress.</p>
<pre class="shell"><code>make ide-project</code></pre>
<p>The make system can generate a Visual Studio project for the Hotspot native source. After configuring, the project is generated using:</p>
<pre class="shell"><code>make hotspot-ide-project</code></pre>
<p>This creates a file named <code>jvm.vcxproj</code> in <code>ide\hotspot-visualstudio</code> subfolder of the build output folder. The file can be opened in Visual Studio via <code>File -&gt; Open -&gt; Project/Solution</code>.</p>
<h4 id="compilation-database">Compilation Database</h4>
<p>The make system can generate generic native code indexing support in the form of a <a href="https://clang.llvm.org/docs/JSONCompilationDatabase.html">Compilation Database</a> that can be used by many different IDEs and source code indexers.</p>
<pre class="shell"><code>make compile-commands</code></pre>
<p>It's also possible to generate the Compilation Database for the HotSpot source code only, which is a bit faster as it includes less information.</p>
<pre class="shell"><code>make compile-commands-hotspot</code></pre>
<h3 id="ide-support-for-java-code">IDE support for Java code</h3>
<p>This section is a work in progress.</p>
<h4 id="intellij-idea">IntelliJ IDEA</h4>
<p>The JDK project has a script that can be used for indexing the project with IntelliJ. After configuring and building the JDK, an IntelliJ workspace can be generated by running the following command in the top-level folder of the cloned repository:</p>
<pre class="shell"><code>bash bin/idea.sh</code></pre>
<p>To use it, choose <code>File -&gt; Open...</code> in IntelliJ and select the folder where you ran the above script.</p>
<p>Next, configure the project SDK in IntelliJ. Open <code>File -&gt; Project Structure -&gt; Project</code> and select <code>build/&lt;config&gt;/images/jdk</code> as the SDK to use.</p>
<p>In order to run the tests from the IDE, you can use the JTReg plugin. Instructions for building and using the plugin can be found <a href="https://github.com/openjdk/jtreg/tree/master/plugins/idea">here</a>.</p>
</body>
</html>

View File

@@ -45,12 +45,17 @@ after the workspace has been generated.
#### Visual Studio
This section is a work in progress.
The make system can generate a Visual Studio project for the Hotspot
native source. After configuring, the project is generated using:
```shell
make ide-project
make hotspot-ide-project
```
This creates a file named `jvm.vcxproj` in `ide\hotspot-visualstudio`
subfolder of the build output folder. The file can be opened in Visual Studio
via `File -> Open -> Project/Solution`.
#### Compilation Database
The make system can generate generic native code indexing support in the form of
@@ -70,4 +75,24 @@ make compile-commands-hotspot
### IDE support for Java code
This section is a work in progress.
#### IntelliJ IDEA
The JDK project has a script that can be used for indexing the project
with IntelliJ. After configuring and building the JDK, an IntelliJ workspace
can be generated by running the following command in the top-level folder
of the cloned repository:
```shell
bash bin/idea.sh
```
To use it, choose `File -> Open...` in IntelliJ and select the folder where
you ran the above script.
Next, configure the project SDK in IntelliJ. Open
`File -> Project Structure -> Project` and select `build/<config>/images/jdk`
as the SDK to use.
In order to run the tests from the IDE, you can use the JTReg plugin.
Instructions for building and using the plugin can be found
[here](https://github.com/openjdk/jtreg/tree/master/plugins/idea).

View File

@@ -27,6 +27,7 @@
<li><a href="#configuration">Configuration</a></li>
</ul></li>
<li><a href="#test-selection">Test selection</a><ul>
<li><a href="#common-test-groups">Common Test Groups</a></li>
<li><a href="#jtreg">JTReg</a></li>
<li><a href="#gtest">Gtest</a></li>
<li><a href="#microbenchmarks">Microbenchmarks</a></li>
@@ -67,6 +68,19 @@ $ make exploded-test TEST=tier2</code></pre>
<p>All functionality is available using the <code>test</code> make target. In this use case, the test or tests to be executed is controlled using the <code>TEST</code> variable. To speed up subsequent test runs with no source code changes, <code>test-only</code> can be used instead, which do not depend on the source and test image build.</p>
<p>For some common top-level tests, direct make targets have been generated. This includes all JTReg test groups, the hotspot gtest, and custom tests (if present). This means that <code>make test-tier1</code> is equivalent to <code>make test TEST=&quot;tier1&quot;</code>, but the latter is more tab-completion friendly. For more complex test runs, the <code>test TEST=&quot;x&quot;</code> solution needs to be used.</p>
<p>The test specifications given in <code>TEST</code> is parsed into fully qualified test descriptors, which clearly and unambigously show which tests will be run. As an example, <code>:tier1</code> will expand to <code>jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1 jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 jtreg:$(TOPDIR)/test/nashorn:tier1 jtreg:$(TOPDIR)/test/jaxp:tier1</code>. You can always submit a list of fully qualified test descriptors in the <code>TEST</code> variable if you want to shortcut the parser.</p>
<h3 id="common-test-groups">Common Test Groups</h3>
<p>Ideally, all tests are run for every change but this may not be practical due to the limited testing resources, the scope of the change, etc.</p>
<p>The source tree currently defines a few common test groups in the relevant <code>TEST.groups</code> files. There are test groups that cover a specific component, for example <code>hotspot_gc</code>. It is a good idea to look into <code>TEST.groups</code> files to get a sense what tests are relevant to a particular JDK component.</p>
<p>Component-specific tests may miss some unintended consequences of a change, so other tests should also be run. Again, it might be impractical to run all tests, and therefore <em>tiered</em> test groups exist. Tiered test groups are not component-specific, but rather cover the significant parts of the entire JDK.</p>
<p>Multiple tiers allow balancing test coverage and testing costs. Lower test tiers are supposed to contain the simpler, quicker and more stable tests. Higher tiers are supposed to contain progressively more thorough, slower, and sometimes less stable tests, or the tests that require special configuration.</p>
<p>Contributors are expected to run the tests for the areas that are changed, and the first N tiers they can afford to run, but at least tier1.</p>
<p>A brief description of the tiered test groups:</p>
<ul>
<li><p><code>tier1</code>: This is the lowest test tier. Multiple developers run these tests every day. Because of the widespread use, the tests in <code>tier1</code> are carefully selected and optimized to run fast, and to run in the most stable manner. The test failures in <code>tier1</code> are usually followed up on quickly, either with fixes, or adding relevant tests to problem list. GitHub Actions workflows, if enabled, run <code>tier1</code> tests.</p></li>
<li><p><code>tier2</code>: This test group covers even more ground. These contain, among other things, tests that either run for too long to be at <code>tier1</code>, or may require special configuration, or tests that are less stable, or cover the broader range of non-core JVM and JDK features/components (for example, XML).</p></li>
<li><p><code>tier3</code>: This test group includes more stressful tests, the tests for corner cases not covered by previous tiers, plus the tests that require GUIs. As such, this suite should either be run with low concurrency (<code>TEST_JOBS=1</code>), or without headful tests (<code>JTREG_KEYWORDS=\!headful</code>), or both.</p></li>
<li><p><code>tier4</code>: This test group includes every other test not covered by previous tiers. It includes, for example, <code>vmTestbase</code> suites for Hotspot, which run for many hours even on large machines. It also runs GUI tests, so the same <code>TEST_JOBS</code> and <code>JTREG_KEYWORDS</code> caveats apply.</p></li>
</ul>
<h3 id="jtreg">JTReg</h3>
<p>JTReg tests can be selected either by picking a JTReg test group, or a selection of files or directories containing JTReg tests.</p>
<p>JTReg test groups can be specified either without a test root, e.g. <code>:tier1</code> (or <code>tier1</code>, the initial colon is optional), or with, e.g. <code>hotspot:tier1</code>, <code>test/jdk:jdk_util</code> or <code>$(TOPDIR)/test/hotspot/jtreg:hotspot_all</code>. The test root can be specified either as an absolute path, or a path relative to the JDK top directory, or the <code>test</code> directory. For simplicity, the hotspot JTReg test root, which really is <code>hotspot/jtreg</code> can be abbreviated as just <code>hotspot</code>.</p>
@@ -179,7 +193,9 @@ TEST FAILURE</code></pre>
<h4 id="aot_modules-1">AOT_MODULES</h4>
<p>Generate AOT modules before testing for the specified module, or set of modules. If multiple modules are specified, they should be separated by space (or, to help avoid quoting issues, the special value <code>%20</code>).</p>
<h4 id="retry_count">RETRY_COUNT</h4>
<p>Retry failed tests up to a set number of times. Defaults to 0.</p>
<p>Retry failed tests up to a set number of times, until they pass. This allows to pass the tests with intermittent failures. Defaults to 0.</p>
<h4 id="repeat_count">REPEAT_COUNT</h4>
<p>Repeat the tests up to a set number of times, stopping at first failure. This helps to reproduce intermittent test failures. Defaults to 0.</p>
<h3 id="gtest-keywords">Gtest keywords</h3>
<h4 id="repeat">REPEAT</h4>
<p>The number of times to repeat the tests (<code>--gtest_repeat</code>).</p>
@@ -215,7 +231,7 @@ TEST FAILURE</code></pre>
JTREG=&quot;JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu
-Djdk.test.docker.image.version=latest&quot;</code></pre>
<h3 id="non-us-locale">Non-US locale</h3>
<p>If your locale is non-US, some tests are likely to fail. To work around this you can set the locale to US. On Unix platforms simply setting <code>LANG=&quot;en_US&quot;</code> in the environment before running tests should work. On Windows, setting <code>JTREG=&quot;VM_OPTIONS=-Duser.language=en -Duser.country=US&quot;</code> helps for most, but not all test cases.</p>
<p>If your locale is non-US, some tests are likely to fail. To work around this you can set the locale to US. On Unix platforms simply setting <code>LANG=&quot;en_US&quot;</code> in the environment before running tests should work. On Windows or MacOS, setting <code>JTREG=&quot;VM_OPTIONS=-Duser.language=en -Duser.country=US&quot;</code> helps for most, but not all test cases.</p>
<p>For example:</p>
<pre><code>$ export LANG=&quot;en_US&quot; &amp;&amp; make test TEST=...
$ make test JTREG=&quot;VM_OPTIONS=-Duser.language=en -Duser.country=US&quot; TEST=...</code></pre>

View File

@@ -64,6 +64,52 @@ jtreg:$(TOPDIR)/test/nashorn:tier1 jtreg:$(TOPDIR)/test/jaxp:tier1`. You can
always submit a list of fully qualified test descriptors in the `TEST` variable
if you want to shortcut the parser.
### Common Test Groups
Ideally, all tests are run for every change but this may not be practical due to the limited
testing resources, the scope of the change, etc.
The source tree currently defines a few common test groups in the relevant `TEST.groups`
files. There are test groups that cover a specific component, for example `hotspot_gc`.
It is a good idea to look into `TEST.groups` files to get a sense what tests are relevant
to a particular JDK component.
Component-specific tests may miss some unintended consequences of a change, so other
tests should also be run. Again, it might be impractical to run all tests, and therefore
_tiered_ test groups exist. Tiered test groups are not component-specific, but rather cover
the significant parts of the entire JDK.
Multiple tiers allow balancing test coverage and testing costs. Lower test tiers are supposed to
contain the simpler, quicker and more stable tests. Higher tiers are supposed to contain
progressively more thorough, slower, and sometimes less stable tests, or the tests that require
special configuration.
Contributors are expected to run the tests for the areas that are changed, and the first N tiers
they can afford to run, but at least tier1.
A brief description of the tiered test groups:
- `tier1`: This is the lowest test tier. Multiple developers run these tests every day.
Because of the widespread use, the tests in `tier1` are carefully selected and optimized to run
fast, and to run in the most stable manner. The test failures in `tier1` are usually followed up
on quickly, either with fixes, or adding relevant tests to problem list. GitHub Actions workflows,
if enabled, run `tier1` tests.
- `tier2`: This test group covers even more ground. These contain, among other things,
tests that either run for too long to be at `tier1`, or may require special configuration,
or tests that are less stable, or cover the broader range of non-core JVM and JDK features/components
(for example, XML).
- `tier3`: This test group includes more stressful tests, the tests for corner cases
not covered by previous tiers, plus the tests that require GUIs. As such, this suite
should either be run with low concurrency (`TEST_JOBS=1`), or without headful tests
(`JTREG_KEYWORDS=\!headful`), or both.
- `tier4`: This test group includes every other test not covered by previous tiers. It includes,
for example, `vmTestbase` suites for Hotspot, which run for many hours even on large
machines. It also runs GUI tests, so the same `TEST_JOBS` and `JTREG_KEYWORDS` caveats
apply.
### JTReg
JTReg tests can be selected either by picking a JTReg test group, or a selection
@@ -373,7 +419,15 @@ modules. If multiple modules are specified, they should be separated by space
#### RETRY_COUNT
Retry failed tests up to a set number of times. Defaults to 0.
Retry failed tests up to a set number of times, until they pass.
This allows to pass the tests with intermittent failures.
Defaults to 0.
#### REPEAT_COUNT
Repeat the tests up to a set number of times, stopping at first failure.
This helps to reproduce intermittent test failures.
Defaults to 0.
### Gtest keywords
@@ -460,7 +514,7 @@ $ make test TEST="jtreg:test/hotspot/jtreg/containers/docker" \
If your locale is non-US, some tests are likely to fail. To work around this
you can set the locale to US. On Unix platforms simply setting `LANG="en_US"`
in the environment before running tests should work. On Windows, setting
in the environment before running tests should work. On Windows or MacOS, setting
`JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US"` helps for most, but
not all test cases.

230
jb/jdkdiff.py Executable file
View File

@@ -0,0 +1,230 @@
#!/usr/bin/env python3
import argparse
import math
import os.path
import sys
import subprocess
def fatal(msg):
sys.stderr.write(f"[fatal] {msg}\n")
sys.exit(1)
def verbose(options, *msg):
if options.verbose:
sys.stdout.write(f"[verbose] ")
sys.stdout.write(*msg)
sys.stdout.write('\n')
def first_line(str):
return "" if not str else str.splitlines()[0]
class Options:
def __init__(self):
ap = argparse.ArgumentParser(description="Show bugfixes differences between JBR and OpenJDK git repos",
epilog="Example: %(prog)s --jdk ./jdk11u/ --jbr ./JetBrainsRuntime/ --path src/hotspot --limit 200")
ap.add_argument('--jdk', dest='jdkpath', help='path to OpenJDK git repo', required=True)
ap.add_argument('--jbr', dest='jbrpath', help='path to JBR git repo', required=True)
ap.add_argument('--path', dest='path', help='limit to changes in this path (relative to git root)')
ap.add_argument('--limit', dest='limit', help='limit to this many log entries in --jdk repo', type=int, default=-1)
ap.add_argument('-o', dest="output_dir", help="save patches to this directory (created if necessary)")
ap.add_argument('-v', dest='verbose', help="verbose output", default=False, action='store_true')
args = ap.parse_args()
if not os.path.isdir(args.jdkpath):
fatal(f"{args.jdkpath} not a directory")
if not os.path.isdir(args.jbrpath):
fatal(f"{args.jbrpath} not a directory")
if not git_is_available():
fatal("can't run git commands; make sure git is in PATH")
self.jdkpath = args.jdkpath
self.jbrpath = args.jbrpath
self.path = args.path
self.limit = args.limit
self.output_dir = args.output_dir
self.verbose = args.verbose
class GitRepo:
def __init__(self, rootpath):
self.rootpath = rootpath
def run_git_cmd(self, git_args):
args = ["git", "-C", self.rootpath]
args.extend(git_args)
# print(f"Runnig git cmd '{' '.join(args)}'")
p = subprocess.run(args, capture_output=True, text=True)
if p.returncode != 0:
fatal(f"git returned non-zero code in {self.rootpath} ({first_line(p.stderr)})")
return p.stdout
def save_git_cmd(self, fname, git_args):
args = ["git", "-C", self.rootpath]
args.extend(git_args)
# print(f"Runnig git cmd '{' '.join(args)}'")
with open(fname, "w") as stdout_file:
p = subprocess.run(args, stdout=stdout_file)
if p.returncode != 0:
fatal(f"git returned non-zero code in {self.rootpath} ({first_line(p.stderr)})")
def current_branch(self):
branch_name = self.run_git_cmd(["branch", "--show-current"]).strip()
return branch_name
def log(self, path=None, limit=None):
cmds = ["log", "--no-decorate"]
if limit:
cmds.extend(["-n", str(limit)])
if path:
cmds.append(path)
full_log = self.run_git_cmd(cmds)
return full_log
class Commit:
def __init__(self, lines):
self.sha = lines[0].split()[1]
self.message = ""
self.bugid = None
# Commit message starts after one blank line
read_message = False
for l in lines:
if read_message:
self.message += l + "\n"
if not read_message and l == "":
read_message = True
if self.message and self.message != "" and ":" in self.message:
maybe_bugid = self.message.split(":")[0].strip()
if 10 >= len(maybe_bugid) >= 4:
self.bugid = maybe_bugid
class History:
def __init__(self, log):
log_itr = iter(log.splitlines())
self.commits = []
commit_lines = []
for line in log_itr:
if line.startswith("commit ") and len(commit_lines) > 0:
commit = Commit(commit_lines)
self.commits.append(commit)
commit_lines = []
commit_lines.append(line)
if len(commit_lines) > 0:
commit = Commit(commit_lines)
self.commits.append(commit)
def contains(self, str):
return any(str in commit.message for commit in self.commits)
def size(self):
return len(self.commits)
def print_explanation(options, jdk, jbr):
verbose(options, f"Reading history from '{jdk.rootpath}' on branch '{jdk.current_branch()}'")
if options.path:
verbose(options, f"\t(only under '{options.path}')")
verbose(options, f"Searching for same fixes in '{jbr.rootpath}' on branch '{jbr.current_branch()}'")
def git_is_available():
p = None
try:
p = subprocess.run(["git", "--help"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
except:
pass
return p is not None and p.returncode == 0
def main():
check_python_min_requirements()
options = Options()
jdk = GitRepo(options.jdkpath)
jbr = GitRepo(options.jbrpath)
print_explanation(options, jdk, jbr)
commits_to_save = []
try:
jdk_log = jdk.log(options.path, options.limit)
jdk_history = History(jdk_log)
jbr_log = jbr.log(options.path)
jbr_history = History(jbr_log)
verbose(options, f"Read {jdk_history.size()} commits in JDK, {jbr_history.size()} in JBR")
for c in jdk_history.commits:
if c.bugid:
verbose(options, f"Looking for bugfix for {c.bugid}")
if not jbr_history.contains(c.bugid):
commits_to_save.append(c)
print(f"[note] Fix for {c.bugid} not found in JBR ({jbr.rootpath})")
print(f" commit {c.sha}")
print(f" {first_line(c.message).strip()}")
except KeyboardInterrupt:
fatal("Interrupted")
if len(commits_to_save) > 0 and options.output_dir:
print()
if not os.path.exists(options.output_dir):
verbose(options, f"Creating output directory {options.output_dir}")
os.makedirs(options.output_dir)
nzeroes = len(str(len(commits_to_save)))
for i, c in enumerate(reversed(commits_to_save)):
fname = os.path.join(options.output_dir, f"{str(i).zfill(nzeroes)}-{c.bugid}.patch")
print(f"[note] {c.bugid} saved as {fname}")
fname = os.path.abspath(fname)
jdk.save_git_cmd(fname, ["format-patch", "-1", c.sha, "--stdout"])
script_fname = os.path.join(options.output_dir, "apply.sh")
with open(script_fname, "w") as script_file:
print(apply_script_code.format(os.path.abspath(jbr.rootpath), os.path.abspath(options.output_dir)),
file=script_file)
print(f"[note] Execute 'bash {script_fname}' to apply patches to {jbr.rootpath}")
def check_python_min_requirements():
if sys.version_info < (3, 6):
fatal("Minimum version 3.6 is required to run this script")
apply_script_code = """
#!/bin/bash
GITROOT={0}
PATCHROOT={1}
cd $PATCHROOT || exit 1
PATCHES=$(find $PATCHROOT -name '*.patch' | sort -n)
for P in $PATCHES; do
git -C $GITROOT am $P
if [ $? != 0 ]; then
mv "$P" "$P.failed"
echo "[ERROR] Patch $P did not apply cleanly. Try applying it manually."
echo "[NOTE] Execute this script to apply the remaining patches."
exit 1
else
mv "$P" "$P.done"
fi
done
echo "[NOTE] Done applying patches; check $PATCHROOT for .patch and .patch.failed to see if all have been applied."
"""
if __name__ == '__main__':
main()

View File

@@ -0,0 +1,13 @@
# jetbrains/runtime:jbr15env
FROM centos:7
RUN yum -y install centos-release-scl
RUN yum -y install devtoolset-8
RUN yum -y install zip bzip2 unzip tar wget make autoconf automake libtool gcc gcc-c++ libstdc++-devel alsa-devel cups-devel xorg-x11-devel libjpeg62-devel giflib-devel freetype-devel file which libXtst-devel libXt-devel libXrender-devel alsa-lib-devel fontconfig-devel libXrandr-devel libXi-devel git
# Install Java 16
RUN wget https://cdn.azul.com/zulu/bin/zulu17.28.13-ca-jdk17.0.0-linux_x64.tar.gz \
-O - | tar xz -C /
RUN mv /zulu17.28.13-ca-jdk17.0.0-linux_x64 /jdk17.0.0
ENV PATH /opt/rh/devtoolset-8/root/usr/bin:$PATH
RUN mkdir .git
RUN git config user.email "teamcity@jetbrains.com"
RUN git config user.name "builduser"

View File

@@ -0,0 +1,47 @@
# NOTE: This Dockerfile is meant to be used from the mkdocker_aarch64.sh script.
# Pull a concrete version of Linux that does NOT recieve updates after it's
# been created. This is so that the image is as stable as possible to make
# image creation reproducible.
# NB: this also means there may be no security-related fixes there, need to
# move the version to the next manually.
FROM arm64v8/ubuntu:focal-20211006
# Install the necessary build tools
RUN export DEBIAN_FRONTEND=noninteractive \
export DEBCONF_NONINTERACTIVE_SEEN=true && \
echo 'tzdata tzdata/Areas select Etc' | debconf-set-selections; \
echo 'tzdata tzdata/Zones/Etc select UTC' | debconf-set-selections; \
apt-get update -qy && \
apt-get install -qy \
autoconf \
build-essential \
bzip2 \
file \
g++-10=10.3.0-1ubuntu1~20.04 \
gcc-10=10.3.0-1ubuntu1~20.04 \
git \
libasound2-dev \
libcups2-dev \
libfontconfig1-dev \
libx11-dev \
libxext-dev \
libxrandr-dev \
libxrender-dev \
libxt-dev \
libxtst-dev \
make \
tar \
unzip \
zip && \
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10 && \
apt-get clean -qy && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Set up boot JDK for building
COPY boot_jdk.tar.gz /jdk17/
RUN cd /jdk17 && tar --strip-components=1 -xzf boot_jdk.tar.gz && rm /jdk17/boot_jdk.tar.gz
ENV BOOT_JDK=/jdk17
RUN git config --global user.email "teamcity@jetbrains.com" && \
git config --global user.name "builduser"

View File

@@ -0,0 +1,22 @@
# NOTE: This Dockerfile is meant to be used from the mkdocker_musl_aarch64.sh script.
# Pull a concrete version of Linux that does NOT recieve updates after it's
# been created. This is so that the image is as stable as possible to make
# image creation reproducible.
# NB: this also means there may be no security-related fixes there, need to
# move the version to the next manually.
FROM arm64v8/alpine:3.12
# Install the necessary build tools
RUN apk --no-cache add --update bash grep tar zip bzip2 fontconfig build-base \
git libx11-dev libxext-dev libxrandr-dev libxrender-dev libxt-dev \
libxtst-dev autoconf freetype-dev cups-dev alsa-lib-dev file \
fontconfig fontconfig-dev linux-headers
# Set up boot JDK for building
COPY boot_jdk_musl_aarch64.tar.gz /jdk17/
RUN cd /jdk17 && tar --strip-components=1 -xzf boot_jdk_musl_aarch64.tar.gz && rm /jdk17/boot_jdk_musl_aarch64.tar.gz
ENV BOOT_JDK=/jdk17
RUN git config --global user.email "teamcity@jetbrains.com" && \
git config --global user.name "builduser"

View File

@@ -0,0 +1,22 @@
# NOTE: This Dockerfile is meant to be used from the mkdocker_musl_x64.sh script.
# Pull a concrete version of Linux that does NOT recieve updates after it's
# been created. This is so that the image is as stable as possible to make
# image creation reproducible.
# NB: this also means there may be no security-related fixes there, need to
# move the version to the next manually.
FROM alpine:3.5
# Install the necessary build tools
RUN apk --no-cache add --update bash grep tar zip bzip2 fontconfig build-base \
git libx11-dev libxext-dev libxrandr-dev libxrender-dev libxt-dev \
libxtst-dev autoconf freetype-dev cups-dev alsa-lib-dev file \
fontconfig fontconfig-dev linux-headers
# Set up boot JDK for building
COPY boot_jdk_musl_amd64.tar.gz /jdk17/
RUN cd /jdk17 && tar --strip-components=1 -xzf boot_jdk_musl_amd64.tar.gz && rm /jdk17/boot_jdk_musl_amd64.tar.gz
ENV BOOT_JDK=/jdk17
RUN git config --global user.email "teamcity@jetbrains.com" && \
git config --global user.name "builduser"

View File

@@ -0,0 +1,7 @@
FROM i386/ubuntu:xenial
RUN linux32 apt-get update && apt-get install -y --no-install-recommends apt-utils
COPY jbrsdk-11.0.5-b1 /jbrsdk-11.0.5-b1
RUN linux32 apt-get -y install file build-essential zip unzip curl libx11-dev libxext-dev \
libxrender-dev libxrandr-dev libxtst-dev libxt-dev libcups2-dev libasound2-data \
libpng12-0 libasound2 libfreetype6 libfontconfig1-dev libasound2-dev autoconf

View File

@@ -0,0 +1,26 @@
#!/bin/bash -x
# This script creates a Docker image suitable for building AArch64 variant
# of the JetBrains Runtime "dev" version.
BOOT_JDK_REMOTE_FILE=zulu17.30.15-ca-jdk17.0.1-linux_aarch64.tar.gz
BOOT_JDK_SHA=4d9c9116eb0cdd2d7fb220d6d27059f4bf1b7e95cc93d5512bd8ce3791af86c7
BOOT_JDK_LOCAL_FILE=boot_jdk.tar.gz
if [ ! -f $BOOT_JDK_LOCAL_FILE ]; then
# Obtain "boot JDK" from outside of the container.
wget -nc https://cdn.azul.com/zulu/bin/${BOOT_JDK_REMOTE_FILE} -O $BOOT_JDK_LOCAL_FILE
else
echo "boot JDK \"$BOOT_JDK_LOCAL_FILE\" present, skipping download"
fi
# Verify that what we've downloaded can be trusted.
sha256sum -c - <<EOF
$BOOT_JDK_SHA *$BOOT_JDK_LOCAL_FILE
EOF
docker build -t jbrdevenv_arm64v8 -f Dockerfile.aarch64 .
# NB: the resulting container can (and should) be used without the network
# connection (--network none) during build in order to reduce the chance
# of build contamination.

View File

@@ -0,0 +1,26 @@
#!/bin/bash -x
# This script creates a Docker image suitable for building musl AArch64 variant
# of the JetBrains Runtime version 17.
BOOT_JDK_REMOTE_FILE=zulu17.32.13-ca-jdk17.0.2-linux_musl_aarch64.tar.gz
BOOT_JDK_SHA=6b920559abafbe9bdef386a20ecf3a2f318bc1f0d8359eb1f95aee26606bbc70
BOOT_JDK_LOCAL_FILE=boot_jdk_musl_aarch64.tar.gz
if [ ! -f $BOOT_JDK_LOCAL_FILE ]; then
# Obtain "boot JDK" from outside of the container.
wget -nc https://cdn.azul.com/zulu/bin/${BOOT_JDK_REMOTE_FILE} -O $BOOT_JDK_LOCAL_FILE
else
echo "boot JDK \"$BOOT_JDK_LOCAL_FILE\" present, skipping download"
fi
# Verify that what we've downloaded can be trusted.
sha256sum -c - <<EOF
$BOOT_JDK_SHA *$BOOT_JDK_LOCAL_FILE
EOF
docker build -t jbr17buildenv -f Dockerfile.musl_aarch64 .
# NB: the resulting container can (and should) be used without the network
# connection (--network none) during build in order to reduce the chance
# of build contamination.

View File

@@ -0,0 +1,26 @@
#!/bin/bash -x
# This script creates a Docker image suitable for building musl-x64 variant
# of the JetBrains Runtime version 17.
BOOT_JDK_REMOTE_FILE=zulu17.32.13-ca-jdk17.0.2-linux_musl_x64.tar.gz
BOOT_JDK_SHA=bcc5342011bd9f3643372aadbdfa68d47463ff0d8621668a0bdf2910614d95c6
BOOT_JDK_LOCAL_FILE=boot_jdk_musl_amd64.tar.gz
if [ ! -f $BOOT_JDK_LOCAL_FILE ]; then
# Obtain "boot JDK" from outside of the container.
wget -nc https://cdn.azul.com/zulu/bin/${BOOT_JDK_REMOTE_FILE} -O $BOOT_JDK_LOCAL_FILE
else
echo "boot JDK \"$BOOT_JDK_LOCAL_FILE\" present, skipping download"
fi
# Verify that what we've downloaded can be trusted.
sha256sum -c - <<EOF
$BOOT_JDK_SHA *$BOOT_JDK_LOCAL_FILE
EOF
docker build -t jbr17buildenv -f Dockerfile.musl_x64 .
# NB: the resulting container can (and should) be used without the network
# connection (--network none) during build in order to reduce the chance
# of build contamination.

View File

@@ -0,0 +1,9 @@
<component name="CopyrightManager">
<copyright>
<option name="notice" value="Copyright &amp;#36;originalComment.match(&quot;Copyright (\d+)&quot;, 1, &quot;-&quot;)&amp;#36;today.year JetBrains s.r.o.&#10;DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.&#10;&#10;This code is free software; you can redistribute it and/or modify it&#10;under the terms of the GNU General Public License version 2 only, as&#10;published by the Free Software Foundation.&#10;&#10;This code is distributed in the hope that it will be useful, but WITHOUT&#10;ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or&#10;FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License&#10;version 2 for more details (a copy is included in the LICENSE file that&#10;accompanied this code).&#10;&#10;You should have received a copy of the GNU General Public License version&#10;2 along with this work; if not, write to the Free Software Foundation,&#10;Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.&#10;&#10;Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA&#10;or visit www.oracle.com if you need additional information or have any&#10;questions." />
<option name="keyword" value="Copyright" />
<option name="allowReplaceKeyword" value="JetBrains" />
<option name="myName" value="JetBrains" />
<option name="myLocal" value="true" />
</copyright>
</component>

View File

@@ -0,0 +1,3 @@
<component name="CopyrightManager">
<settings default="JetBrains" />
</component>

View File

@@ -0,0 +1 @@
JetBrainsRuntime

View File

@@ -0,0 +1,9 @@
<component name="CopyrightManager">
<copyright>
<option name="notice" value="Copyright 2000-&amp;#36;today.year JetBrains s.r.o.&#10;&#10;Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);&#10;you may not use this file except in compliance with the License.&#10;You may obtain a copy of the License at&#10;&#10;http://www.apache.org/licenses/LICENSE-2.0&#10;&#10;Unless required by applicable law or agreed to in writing, software&#10;distributed under the License is distributed on an &quot;AS IS&quot; BASIS,&#10;WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#10;See the License for the specific language governing permissions and&#10;limitations under the License." />
<option name="keyword" value="Copyright" />
<option name="allowReplaceKeyword" value="JetBrains" />
<option name="myName" value="JetBrains" />
<option name="myLocal" value="true" />
</copyright>
</component>

View File

@@ -0,0 +1,3 @@
<component name="CopyrightManager">
<settings default="JetBrains" />
</component>

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="IssueNavigationConfiguration">
<option name="links">
<list>
<IssueNavigationLink>
<option name="issueRegexp" value="(?:^|\s|\p{Punct})([A-Z]+\-\d+)(?=$|\s|\p{Punct})" />
<option name="linkRegexp" value="https://youtrack.jetbrains.com/issue/$1" />
</IssueNavigationLink>
<IssueNavigationLink>
<option name="issueRegexp" value="(?:^|\s|\p{Punct})(?:JDK-)?(\d{7})(?=$|\s|\p{Punct})" />
<option name="linkRegexp" value="https://bugs.openjdk.java.net/browse/JDK-$1" />
</IssueNavigationLink>
</list>
</option>
</component>
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
</component>
</project>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$/src/jetbrains.api">
<sourceFolder url="file://$MODULE_DIR$/src/jetbrains.api/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/jetbrains.api/templates" isTestSource="false" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="inheritedJdk" />
</component>
</module>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/jdk.iml" filepath="$PROJECT_DIR$/.idea/jdk.iml" />
###MODULE_IMLS###
<module fileurl="file://$PROJECT_DIR$/.idea/jetbrains.api.iml" filepath="$PROJECT_DIR$/.idea/jetbrains.api.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/test.iml" filepath="$PROJECT_DIR$/.idea/test.iml" />
</modules>
</component>
</project>

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="IssueNavigationConfiguration">
<option name="links">
<list>
<IssueNavigationLink>
<option name="issueRegexp" value="(?:^|\s|\p{Punct})([A-Z]+\-\d+)(?=$|\s|\p{Punct})" />
<option name="linkRegexp" value="https://youtrack.jetbrains.com/issue/$1" />
</IssueNavigationLink>
<IssueNavigationLink>
<option name="issueRegexp" value="(?:^|\s|\p{Punct})(?:JDK-)?(\d{7})(?=$|\s|\p{Punct})" />
<option name="linkRegexp" value="https://bugs.openjdk.java.net/browse/JDK-$1" />
</IssueNavigationLink>
</list>
</option>
</component>
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

View File

@@ -0,0 +1,135 @@
apply plugin: 'java'
import org.gradle.internal.os.OperatingSystem
repositories {
mavenCentral()
}
def test_jvm = {
if (project.hasProperty('jbsdkhome')) {
file(jbsdkhome + (OperatingSystem.current().isWindows()?"/bin/java.exe" : "/bin/java")).absolutePath
} else {
if (OperatingSystem.current().isMacOsX()) {
file('../../../build/macosx-x86_64-normal-server-release/images/jdk-bundle/jdk-11.0.4.jdk/Contents/Home/bin/java').absolutePath
} else if (OperatingSystem.current().isLinux()) {
file('../../../build/linux-x86_64-normal-server-release/images/jdk/bin/java').absolutePath
} else {
file('../../../build/windows-x86_64-normal-server-release/images/jdk/bin/java.exe').absolutePath
}
}
}
dependencies {
testCompile('junit:junit:4.12'){
exclude group: 'org.hamcrest'
}
testCompile 'org.hamcrest:hamcrest-library:1.3'
testCompile 'net.java.dev.jna:jna:4.4.0'
testCompile 'com.twelvemonkeys.imageio:imageio-tiff:3.3.2'
testCompile 'org.apache.commons:commons-lang3:3.0'
}
def jdk_modules = ["java.base", "java.logging", "java.prefs",
"java.se.ee", "java.sql", "java.datatransfer",
"java.management", "java.rmi", "java.security.jgss",
"java.sql.rowset", "java.desktop", "java.management.rmi",
"java.scripting", "java.security.sasl", "java.transaction",
"java.instrument", "java.naming", "java.se",
"java.smartcardio", "java.xml.crypto"]
def jdk_class_dirs = []
jdk_modules.collect(jdk_class_dirs) {
new File("../../../src/" + it + "/share/classes")
}
if (OperatingSystem.current().isMacOsX())
jdk_modules.collect(jdk_class_dirs) {
"../../../src/" + it + "/macosx/classes"
}
else if (OperatingSystem.current().isLinux()) {
jdk_modules.collect(jdk_class_dirs) {
"../../../src/" + it + "/solaris/classes"
}
jdk_modules.collect(jdk_class_dirs) {
"../../../src/" + it + "/unix/classes"
}
} else
jdk_modules.collect(jdk_class_dirs) {
"../../../src/" + it + "/windows/classes"
}
sourceSets.main.java.srcDirs = jdk_class_dirs
sourceSets {
test {
java {
srcDir "../../../test/jdk/jbu"
}
}
}
test.dependsOn.clear()
test.dependsOn tasks.compileTestJava
test {
systemProperty "jb.java2d.metal", "true"
systemProperty "testdata", file('../../../test/jdk/jbu/testdata').absolutePath
// Generate golden images for DroidFontTest and MixedTextTest
// systemProperty "gentestdata", ""
// Enable Java2D logging (https://confluence.jetbrains.com/display/JRE/Java2D+Rendering+Logging)
// systemProperty "sun.java2d.trace", "log"
// systemProperty "sun.java2d.trace", "log,pimpl"
outputs.upToDateWhen { false }
executable = test_jvm()
// Enable async/dtrace profiler
jvmArgs "-XX:+PreserveFramePointer"
// Enable native J2D logging (only in debug build)
// Can be turned on for J2D by adding "#define DEBUG 1" into jdk/src/share/native/sun/java2d/Trace.h
// environment 'J2D_TRACE_LEVEL', '4'
}
def buildDir = project.buildscript.sourceFile.parentFile.parentFile.parentFile.parentFile
def make_cmd = "make"
if (OperatingSystem.current().isWindows()) {
def cyg_make_cmd = new File("c:/cygwin64/bin/make.exe")
if (cyg_make_cmd.exists()) make_cmd = cyg_make_cmd.absolutePath
}
def test_run = false
task make_images {
doLast {
if (!test_run) {
def pb = new ProcessBuilder().command(make_cmd.toString(), "-C", buildDir.absolutePath, "images")
def proc = pb.redirectErrorStream(true).start()
proc.inputStream.eachLine { println it }
assert proc.waitFor() == 0
}
}
}
task make_clean {
doLast {
def pb = new ProcessBuilder().command(make_cmd.toString(), "-C", buildDir.absolutePath, "clean")
def proc = pb.redirectErrorStream(true).start()
proc.inputStream.eachLine { println it }
assert proc.waitFor() == 0
}
}
task run_test {
doLast {
test_run = true
}
}
tasks.cleanTest.dependsOn tasks.run_test
classes.dependsOn.clear()
classes.dependsOn tasks.make_images
tasks.cleanClasses.dependsOn tasks.make_clean

View File

@@ -0,0 +1,54 @@
java.base,
java.compiler,
java.datatransfer,
java.desktop,
java.instrument,
java.logging,
java.management,
java.management.rmi,
java.naming,
java.net.http,
java.prefs,
java.rmi,
java.scripting,
java.se,
java.security.jgss,
java.security.sasl,
java.smartcardio,
java.sql,
java.sql.rowset,
java.transaction.xa,
java.xml,
java.xml.crypto,
jdk.accessibility,
jdk.attach,
jdk.charsets,
jdk.compiler,
jdk.crypto.cryptoki,
jdk.crypto.ec,
jdk.dynalink,
jdk.httpserver,
jdk.internal.ed,
jdk.internal.le,
jdk.internal.vm.ci,
jdk.javadoc,
jdk.jdi,
jdk.jdwp.agent,
jdk.jfr,
jdk.jsobject,
jdk.localedata,
jdk.management,
jdk.management.agent,
jdk.management.jfr,
jdk.naming.dns,
jdk.naming.rmi,
jdk.net,
jdk.sctp,
jdk.security.auth,
jdk.security.jgss,
jdk.unsupported,
jdk.unsupported.desktop,
jdk.xml.dom,
jdk.zipfs,
jdk.hotspot.agent,
jdk.jcmd

View File

@@ -0,0 +1,16 @@
#!/bin/sh
# $1 - Boot JDK
# $2 - JBR part of API version
cd "`dirname "$0"`/../../../../.."
PWD="`pwd`"
CONF="$PWD/build/jbr-api.conf"
./configure --with-debug-level=release --with-boot-jdk=$1 || exit $?
make jbr-api CONF=release MAKEOVERRIDES= "JBR_API_CONF_FILE=$CONF" JBR_API_JBR_VERSION=$2 || exit $?
. $CONF || exit $?
echo "##teamcity[buildNumber '$VERSION']"
cp "$JAR" ./jbr-api-${VERSION}.jar || exit $?
cp "$SOURCES_JAR" ./jbr-api-${VERSION}-sources.jar || exit $?
echo "##teamcity[publishArtifacts '$PWD/jbr-api-${VERSION}.jar']"
echo "##teamcity[publishArtifacts '$PWD/jbr-api-${VERSION}-sources.jar']"

View File

@@ -0,0 +1,138 @@
#!/bin/bash -x
function do_maketest() {
if [ "${bundle_type: -1}" == "t" ]; then
echo ${bundle_type%?}
return 1
else
echo ${bundle_type}
return 0
fi
}
function getVersionProp() {
grep "^${1}" make/conf/version-numbers.conf | cut -d'=' -f2
}
while getopts ":i?" o; do
case "${o}" in
i)
i="incremental build"
INC_BUILD=1
;;
esac
done
shift $((OPTIND-1))
build_number=$1
bundle_type=$2
architecture=$3 # aarch64 or x64
bundle_type=$(do_maketest)
do_maketest=$?
tag_prefix="jdk-"
OPENJDK_TAG=$(git log --simplify-by-decoration --decorate=short --pretty=short | grep "$tag_prefix" | cut -d "(" -f2 | cut -d ")" -f1 | awk '{print $2}' | sort -t "-" -k 2 -g | tail -n 1)
VERSION_FEATURE=$(getVersionProp "DEFAULT_VERSION_FEATURE")
VERSION_INTERIM=$(getVersionProp "DEFAULT_VERSION_INTERIM")
VERSION_UPDATE=$(getVersionProp "DEFAULT_VERSION_UPDATE")
[[ $VERSION_UPDATE = 0 ]] && JBSDK_VERSION="$VERSION_FEATURE" || JBSDK_VERSION="${VERSION_FEATURE}.${VERSION_INTERIM}.${VERSION_UPDATE}"
echo "##teamcity[setParameter name='env.JBSDK_VERSION' value='${JBSDK_VERSION}']"
JDK_BUILD_NUMBER=${JDK_BUILD_NUMBER:=$(echo $OPENJDK_TAG | awk -F "-|[+]" '{print $3}')}
[ -z $JDK_BUILD_NUMBER ] && JDK_BUILD_NUMBER=1
echo "##teamcity[setParameter name='env.JDK_UPDATE_NUMBER' value='${JDK_BUILD_NUMBER}']"
VENDOR_NAME="JetBrains s.r.o."
VENDOR_VERSION_STRING="JBR-${JBSDK_VERSION}+${JDK_BUILD_NUMBER}-${build_number}"
[ -z "$bundle_type" ] || VENDOR_VERSION_STRING="${VENDOR_VERSION_STRING}-${bundle_type}"
do_reset_changes=0
do_reset_dcevm=0
HEAD_REVISION=0
OS_NAME=$(uname -s)
# Enable reproducible builds
TZ=UTC
export TZ
SOURCE_DATE_EPOCH="$(git log -1 --pretty=%ct)"
export SOURCE_DATE_EPOCH
case "$OS_NAME" in
Linux)
COPYRIGHT_YEAR="$(date --utc --date=@$SOURCE_DATE_EPOCH +%Y)"
BUILD_TIME="$(date --utc --date=@$SOURCE_DATE_EPOCH +%F)"
REPRODUCIBLE_TAR_OPTS="--mtime=@$SOURCE_DATE_EPOCH --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime"
;;
Darwin)
COPYRIGHT_YEAR="$(date -u -r $SOURCE_DATE_EPOCH +%Y)"
BUILD_TIME="$(date -u -r $SOURCE_DATE_EPOCH +%F)"
TOUCH_TIME="$(date -u -r $SOURCE_DATE_EPOCH +%Y%m%d%H%M.%S)"
REPRODUCIBLE_TAR_OPTS="--uid 0 --gid 0 --numeric-owner"
;;
*)
# TODO: Windows
;;
esac
REPRODUCIBLE_BUILD_OPTS="--enable-reproducible-build
--with-source-date=$SOURCE_DATE_EPOCH
--with-hotspot-build-time=$BUILD_TIME
--with-copyright-year=$COPYRIGHT_YEAR
--disable-absolute-paths-in-output
--with-build-user=builduser"
function do_exit() {
exit_code=$1
[ $do_reset_changes -eq 1 ] && git checkout HEAD jb/project/tools/common/modules.list src/java.desktop/share/classes/module-info.java
if [ $do_reset_dcevm -eq 1 ]; then
[ ! -z $HEAD_REVISION ] && git reset --hard $HEAD_REVISION
fi
exit "$exit_code"
}
function update_jsdk_mods() {
__jsdk=$1
__jcef_mods=$2
__orig_jsdk_mods=$3
__updated_jsdk_mods=$4
# re-create java.desktop.jmod with updated module-info.class
tmp=.java.desktop.$$.tmp
mkdir "$tmp" || exit $?
"$__jsdk"/bin/jmod extract --dir "$tmp" "$__orig_jsdk_mods"/java.desktop.jmod || exit $?
"$__jsdk"/bin/javac \
--patch-module java.desktop="$__orig_jsdk_mods"/java.desktop.jmod \
--module-path "$__jcef_mods" -d "$tmp"/classes src/java.desktop/share/classes/module-info.java || exit $?
"$__jsdk"/bin/jmod \
create --class-path "$tmp"/classes --config "$tmp"/conf --header-files "$tmp"/include --legal-notice "$tmp"/legal --libs "$tmp"/lib \
java.desktop.jmod || exit $?
mv java.desktop.jmod "$__updated_jsdk_mods" || exit $?
rm -rf "$tmp"
# re-create java.base.jmod with updated hashes
tmp=.java.base.$$.tmp
mkdir "$tmp" || exit $?
hash_modules=$("$JSDK"/bin/jmod describe "$__orig_jsdk_mods"/java.base.jmod | grep hashes | awk '{print $2}' | tr '\n' '|' | sed s/\|$//) || exit $?
"$__jsdk"/bin/jmod extract --dir "$tmp" "$__orig_jsdk_mods"/java.base.jmod || exit $?
rm "$__updated_jsdk_mods"/java.base.jmod || exit $? # temp exclude from path
"$__jsdk"/bin/jmod \
create --module-path "$__updated_jsdk_mods" --hash-modules "$hash_modules" \
--class-path "$tmp"/classes --cmds "$tmp"/bin --config "$tmp"/conf --header-files "$tmp"/include --legal-notice "$tmp"/legal --libs "$tmp"/lib \
java.base.jmod || exit $?
mv java.base.jmod "$__updated_jsdk_mods" || exit $?
rm -rf "$tmp"
}
function get_mods_list() {
__mods=$1
echo $(ls $__mods) | sed s/\.jmod/,/g | sed s/,$//g | sed s/' '//g
}
function copy_jmods() {
__mods_list=$1
__jmods_from=$2
__jmods_to=$3
mkdir -p $__jmods_to
echo "${__mods_list}," | while read -d, mod; do cp $__jmods_from/$mod.jmod $__jmods_to/; done
}

View File

@@ -0,0 +1,158 @@
#!/bin/bash -x
# The following parameters must be specified:
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built;possible values:
# <empty> or nomod - the release bundles without any additional modules (jcef)
# jcef - the release bundles with jcef
# fd - the fastdebug bundles which also include the jcef module
#
# This script makes test-image along with JDK images when bundle_type is set to "jcef".
# If the character 't' is added at the end of bundle_type then it also makes test-image along with JDK images.
#
# Environment variables:
# JDK_BUILD_NUMBER - specifies update release of OpenJDK build or the value of --with-version-build argument
# to configure
# By default JDK_BUILD_NUMBER is set zero
# JCEF_PATH - specifies the path to the directory with JCEF binaries.
# By default JCEF binaries should be located in ./jcef_linux_aarch64
source jb/project/tools/common/scripts/common.sh
JCEF_PATH=${JCEF_PATH:=./jcef_linux_aarch64}
function do_configure {
sh configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="$VENDOR_NAME" \
--with-vendor-version-string="$VENDOR_VERSION_STRING" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build="$JDK_BUILD_NUMBER" \
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
--enable-cds=yes \
$REPRODUCIBLE_BUILD_OPTS \
|| do_exit $?
}
function is_musl {
libc=$(ldd /bin/ls | grep 'musl' | head -1 | cut -d ' ' -f1)
if [ -z $libc ]; then
# This is not Musl, return 1 == false
return 1
fi
return 0
}
function create_image_bundle {
__bundle_name=$1
__arch_name=$2
__modules_path=$3
__modules=$4
libc_type_suffix=''
if is_musl; then libc_type_suffix='musl-' ; fi
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
JBR=${__bundle_name}-${JBSDK_VERSION}-linux-${libc_type_suffix}aarch64-${fastdebug_infix}b${build_number}
echo Running jlink....
[ -d "$IMAGES_DIR"/"$__arch_name" ] && rm -rf "${IMAGES_DIR:?}"/"$__arch_name"
$JSDK/bin/jlink \
--module-path "$__modules_path" --no-man-pages --compress=2 \
--add-modules "$__modules" --output "$IMAGES_DIR"/"$__arch_name"
grep -v "^JAVA_VERSION" "$JSDK"/release | grep -v "^MODULES" >> "$IMAGES_DIR"/"$__arch_name"/release
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then
sed 's/JBR/JBRSDK/g' "$IMAGES_DIR"/"$__arch_name"/release > release
mv release "$IMAGES_DIR"/"$__arch_name"/release
copy_jmods "$__modules" "$__modules_path" "$IMAGES_DIR"/"$__arch_name"/jmods
fi
# jmod does not preserve file permissions (JDK-8173610)
[ -f "$IMAGES_DIR"/"$__arch_name"/lib/jcef_helper ] && chmod a+x "$IMAGES_DIR"/"$__arch_name"/lib/jcef_helper
echo Creating "$JBR".tar.gz ...
(cd "$IMAGES_DIR" &&
find "$__arch_name" -print0 | LC_ALL=C sort -z | \
tar $REPRODUCIBLE_TAR_OPTS \
--no-recursion --null -T - -cf "$JBR".tar) || do_exit $?
mv "$IMAGES_DIR"/"$JBR".tar ./"$JBR".tar
[ -f "$JBR".tar.gz ] && rm "$JBR.tar.gz"
touch -c -d "@$SOURCE_DATE_EPOCH" "$JBR".tar
gzip "$JBR".tar || do_exit $?
rm -rf "${IMAGES_DIR:?}"/"$__arch_name"
}
WITH_DEBUG_LEVEL="--with-debug-level=release"
RELEASE_NAME=linux-aarch64-server-release
case "$bundle_type" in
"jcef")
do_reset_changes=1
do_maketest=1
;;
"dcevm")
HEAD_REVISION=$(git rev-parse HEAD)
git am jb/project/tools/patches/dcevm/*.patch || do_exit $?
do_reset_dcevm=0
do_reset_changes=0
;;
"nomod" | "")
bundle_type=""
;;
"fd")
do_reset_changes=1
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
RELEASE_NAME=linux-aarch64-server-fastdebug
;;
esac
if [ -z "$INC_BUILD" ]; then
do_configure || do_exit $?
make clean CONF=$RELEASE_NAME || do_exit $?
fi
make images CONF=$RELEASE_NAME || do_exit $?
IMAGES_DIR=build/$RELEASE_NAME/images
JSDK=$IMAGES_DIR/jdk
JSDK_MODS_DIR=$IMAGES_DIR/jmods
JBRSDK_BUNDLE=jbrsdk
echo Fixing permissions
chmod -R a+r $JSDK
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "dcevm" ] || [ "$bundle_type" == "fd" ]; then
git apply -p0 < jb/project/tools/patches/add_jcef_module_aarch64.patch || do_exit $?
update_jsdk_mods $JSDK $JCEF_PATH/jmods $JSDK/jmods $JSDK_MODS_DIR || do_exit $?
cp $JCEF_PATH/jmods/* $JSDK_MODS_DIR # $JSDK/jmods is not changed
jbr_name_postfix="_${bundle_type}"
[ "$bundle_type" != "fd" ] && jbrsdk_name_postfix="_${bundle_type}"
fi
# create runtime image bundle
modules=$(xargs < jb/project/tools/common/modules.list | sed s/" "//g) || do_exit $?
create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" || do_exit $?
# create sdk image bundle
modules=$(cat $JSDK/release | grep MODULES | sed s/MODULES=//g | sed s/' '/','/g | sed s/\"//g | sed s/\\n//g) || do_exit $?
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "dcevm" ] || [ "$bundle_type" == "fd" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
modules=${modules},$(get_mods_list "$JCEF_PATH"/jmods)
fi
create_image_bundle "$JBRSDK_BUNDLE${jbr_name_postfix}" $JBRSDK_BUNDLE $JSDK_MODS_DIR "$modules" || do_exit $?
if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=${JBRSDK_BUNDLE}-${JBSDK_VERSION}-linux-${libc_type_suffix}test-aarch64-b${build_number}
echo Creating "$JBRSDK_TEST" ...
[ $do_reset_changes -eq 1 ] && git checkout HEAD jb/project/tools/common/modules.list src/java.desktop/share/classes/module-info.java
make test-image CONF=$RELEASE_NAME || do_exit $?
tar -pcf "$JBRSDK_TEST".tar -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
[ -f "$JBRSDK_TEST.tar.gz" ] && rm "$JBRSDK_TEST.tar.gz"
gzip "$JBRSDK_TEST".tar || do_exit $?
fi
do_exit 0

View File

@@ -0,0 +1,158 @@
#!/bin/bash -x
# The following parameters must be specified:
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built;possible values:
# <empty> or nomod - the release bundles without any additional modules (jcef)
# jcef - the release bundles with jcef
# fd - the fastdebug bundles which also include the jcef module
#
# This script makes test-image along with JDK images when bundle_type is set to "jcef".
# If the character 't' is added at the end of bundle_type then it also makes test-image along with JDK images.
#
# Environment variables:
# JDK_BUILD_NUMBER - specifies update release of OpenJDK build or the value of --with-version-build argument
# to configure
# By default JDK_BUILD_NUMBER is set zero
# JCEF_PATH - specifies the path to the directory with JCEF binaries.
# By default JCEF binaries should be located in ./jcef_linux_x64
source jb/project/tools/common/scripts/common.sh
JCEF_PATH=${JCEF_PATH:=./jcef_linux_x64}
function do_configure {
sh configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="$VENDOR_NAME" \
--with-vendor-version-string="$VENDOR_VERSION_STRING" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build="$JDK_BUILD_NUMBER" \
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
--enable-cds=yes \
$REPRODUCIBLE_BUILD_OPTS \
|| do_exit $?
}
function is_musl {
libc=$(ldd /bin/ls | grep 'musl' | head -1 | cut -d ' ' -f1)
if [ -z $libc ]; then
# This is not Musl, return 1 == false
return 1
fi
return 0
}
function create_image_bundle {
__bundle_name=$1
__arch_name=$2
__modules_path=$3
__modules=$4
libc_type_suffix=''
if is_musl; then libc_type_suffix='musl-' ; fi
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
JBR=${__bundle_name}-${JBSDK_VERSION}-linux-${libc_type_suffix}x64-${fastdebug_infix}b${build_number}
echo Running jlink....
[ -d "$IMAGES_DIR"/"$__arch_name" ] && rm -rf "${IMAGES_DIR:?}"/"$__arch_name"
$JSDK/bin/jlink \
--module-path "$__modules_path" --no-man-pages --compress=2 \
--add-modules "$__modules" --output "$IMAGES_DIR"/"$__arch_name"
grep -v "^JAVA_VERSION" "$JSDK"/release | grep -v "^MODULES" >> "$IMAGES_DIR"/"$__arch_name"/release
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then
sed 's/JBR/JBRSDK/g' "$IMAGES_DIR"/"$__arch_name"/release > release
mv release "$IMAGES_DIR"/"$__arch_name"/release
copy_jmods "$__modules" "$__modules_path" "$IMAGES_DIR"/"$__arch_name"/jmods
fi
# jmod does not preserve file permissions (JDK-8173610)
[ -f "$IMAGES_DIR"/"$__arch_name"/lib/jcef_helper ] && chmod a+x "$IMAGES_DIR"/"$__arch_name"/lib/jcef_helper
echo Creating "$JBR".tar.gz ...
(cd "$IMAGES_DIR" &&
find "$__arch_name" -print0 | LC_ALL=C sort -z | \
tar $REPRODUCIBLE_TAR_OPTS \
--no-recursion --null -T - -cf "$JBR".tar) || do_exit $?
mv "$IMAGES_DIR"/"$JBR".tar ./"$JBR".tar
[ -f "$JBR".tar.gz ] && rm "$JBR.tar.gz"
touch -c -d "@$SOURCE_DATE_EPOCH" "$JBR".tar
gzip "$JBR".tar || do_exit $?
rm -rf "${IMAGES_DIR:?}"/"$__arch_name"
}
WITH_DEBUG_LEVEL="--with-debug-level=release"
RELEASE_NAME=linux-x86_64-server-release
case "$bundle_type" in
"jcef")
do_reset_changes=1
do_maketest=1
;;
"dcevm")
HEAD_REVISION=$(git rev-parse HEAD)
git am jb/project/tools/patches/dcevm/*.patch || do_exit $?
do_reset_dcevm=0
do_reset_changes=0
;;
"nomod" | "")
bundle_type=""
;;
"fd")
do_reset_changes=1
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
RELEASE_NAME=linux-x86_64-server-fastdebug
;;
esac
if [ -z "$INC_BUILD" ]; then
do_configure || do_exit $?
make clean CONF=$RELEASE_NAME || do_exit $?
fi
make images CONF=$RELEASE_NAME || do_exit $?
IMAGES_DIR=build/$RELEASE_NAME/images
JSDK=$IMAGES_DIR/jdk
JSDK_MODS_DIR=$IMAGES_DIR/jmods
JBRSDK_BUNDLE=jbrsdk
echo Fixing permissions
chmod -R a+r $JSDK
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "dcevm" ] || [ "$bundle_type" == "fd" ]; then
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
update_jsdk_mods $JSDK $JCEF_PATH/jmods $JSDK/jmods $JSDK_MODS_DIR || do_exit $?
cp $JCEF_PATH/jmods/* $JSDK_MODS_DIR # $JSDK/jmods is not changed
jbr_name_postfix="_${bundle_type}"
[ "$bundle_type" != "fd" ] && jbrsdk_name_postfix="_${bundle_type}"
fi
# create runtime image bundle
modules=$(xargs < jb/project/tools/common/modules.list | sed s/" "//g) || do_exit $?
create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" || do_exit $?
# create sdk image bundle
modules=$(cat $JSDK/release | grep MODULES | sed s/MODULES=//g | sed s/' '/','/g | sed s/\"//g | sed s/\\n//g) || do_exit $?
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "dcevm" ] || [ "$bundle_type" == "fd" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
modules=${modules},$(get_mods_list "$JCEF_PATH"/jmods)
fi
create_image_bundle "$JBRSDK_BUNDLE${jbr_name_postfix}" $JBRSDK_BUNDLE $JSDK_MODS_DIR "$modules" || do_exit $?
if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=${JBRSDK_BUNDLE}-${JBSDK_VERSION}-linux-${libc_type_suffix}test-x64-b${build_number}
echo Creating "$JBRSDK_TEST" ...
[ $do_reset_changes -eq 1 ] && git checkout HEAD jb/project/tools/common/modules.list src/java.desktop/share/classes/module-info.java
make test-image CONF=$RELEASE_NAME || do_exit $?
tar -pcf "$JBRSDK_TEST".tar -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
[ -f "$JBRSDK_TEST.tar.gz" ] && rm "$JBRSDK_TEST.tar.gz"
gzip "$JBRSDK_TEST".tar || do_exit $?
fi
do_exit 0

View File

@@ -0,0 +1,80 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
source jb/project/tools/common/scripts/common.sh
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
[ -z "$bundle_type" ] && (git apply -p0 < jb/project/tools/patches/exclude_jcef_module.patch || exit $?)
linux32 bash configure \
--with-debug-level=release \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-version-pre= \
--with-version-build=$JDK_BUILD_NUMBER \
--with-version-opt=b${build_number} \
--with-boot-jdk=${BOOT_JDK} \
--enable-cds=yes || exit $?
make clean CONF=linux-x86-server-release || exit $?
make images CONF=linux-x86-server-release test-image || exit $?
JBSDK=${JBRSDK_BASE_NAME}-linux-x86-b${build_number}
BASE_DIR=build/linux-x86-server-release/images
JSDK=${BASE_DIR}/jdk
JBRSDK_BUNDLE=jbrsdk
echo Fixing permissions
chmod -R a+r $JSDK
rm -rf $BASE_DIR/$JBRSDK_BUNDLE
cp -r $JSDK $BASE_DIR/$JBRSDK_BUNDLE || exit $?
echo Creating $JBSDK.tar.gz ...
sed 's/JBR/JBRSDK/g' ${BASE_DIR}/${JBRSDK_BUNDLE}/release > release
mv release ${BASE_DIR}/${JBRSDK_BUNDLE}/release
tar -pcf $JBSDK.tar --exclude=*.debuginfo --exclude=demo --exclude=sample --exclude=man -C $BASE_DIR ${JBRSDK_BUNDLE} || exit $?
gzip $JBSDK.tar || exit $?
JBR_BUNDLE=jbr
JBR_BASE_NAME=jbr-$JBSDK_VERSION
rm -rf $BASE_DIR/$JBR_BUNDLE
JBR=$JBR_BASE_NAME-linux-x86-b$build_number
grep -v javafx jb/project/tools/common/modules.list | grep -v "jdk.internal.vm\|jdk.aot\|jcef" > modules.list.x86
echo Running jlink....
${JSDK}/bin/jlink \
--module-path ${JSDK}/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules.list.x86 | sed s/" "//g | sed s/,$//g) --output ${BASE_DIR}/${JBR_BUNDLE} || exit $?
echo Modifying release info ...
grep -v \"^JAVA_VERSION\" ${JSDK}/release | grep -v \"^MODULES\" >> ${BASE_DIR}/${JBR_BUNDLE}/release
echo Creating $JBR.tar.gz ...
tar -pcf $JBR.tar -C $BASE_DIR $JBR_BUNDLE || exit $?
gzip $JBR.tar || exit $?
JBRSDK_TEST=$JBRSDK_BASE_NAME-linux-test-x86-b$build_number
echo Creating $JBRSDK_TEST.tar.gz ...
tar -pcf $JBRSDK_TEST.tar -C $BASE_DIR --exclude='test/jdk/demos' --exclude='test/hotspot/gtest' test || exit $?
gzip $JBRSDK_TEST.tar || exit $?

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.cs.disable-executable-page-protection</key>
<true/>
</dict>
</plist>

View File

@@ -0,0 +1,178 @@
#!/bin/bash -x
# The following parameters must be specified:
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built;possible values:
# <empty> or nomod - the release bundles without any additional modules (jcef)
# jcef - the release bundles with jcef
# fd - the fastdebug bundles which also include the jcef module
#
# This script makes test-image along with JDK images when bundle_type is set to "jcef".
# If the character 't' is added at the end of bundle_type then it also makes test-image along with JDK images.
#
# Environment variables:
# JDK_BUILD_NUMBER - specifies update release of OpenJDK build or the value of --with-version-build argument
# to configure
# By default JDK_BUILD_NUMBER is set zero
# JCEF_PATH - specifies the path to the directory with JCEF binaries.
# By default JCEF binaries should be located in ./jcef_mac
source jb/project/tools/common/scripts/common.sh
JCEF_PATH=${JCEF_PATH:=./jcef_mac}
architecture=${architecture:=x64}
BOOT_JDK=${BOOT_JDK:=$(/usr/libexec/java_home -v 17)}
function do_configure {
if [[ "${architecture}" == *aarch64* ]]; then
sh configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-macosx-bundle-name-base=${VENDOR_VERSION_STRING} \
--with-macosx-bundle-id-base="com.jetbrains.jbr" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build="${JDK_BUILD_NUMBER}" \
--with-version-opt=b"${build_number}" \
--with-boot-jdk="$BOOT_JDK" \
--disable-hotspot-gtest --disable-javac-server --disable-full-docs --disable-manpages \
--enable-cds=no \
--with-extra-cflags="-F$(pwd)/Frameworks" \
--with-extra-cxxflags="-F$(pwd)/Frameworks" \
--with-extra-ldflags="-F$(pwd)/Frameworks" \
$REPRODUCIBLE_BUILD_OPTS \
|| do_exit $?
else
sh configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="$VENDOR_NAME" \
--with-vendor-version-string="$VENDOR_VERSION_STRING" \
--with-macosx-bundle-name-base=${VENDOR_VERSION_STRING} \
--with-macosx-bundle-id-base="com.jetbrains.jbr" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build="$JDK_BUILD_NUMBER" \
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
--enable-cds=yes \
$REPRODUCIBLE_BUILD_OPTS \
|| do_exit $?
fi
}
function create_image_bundle {
__bundle_name=$1
__arch_name=$2
__modules_path=$3
__modules=$4
tmp=.bundle.$$.tmp
mkdir "$tmp" || do_exit $?
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
JBR=${__bundle_name}-${JBSDK_VERSION}-osx-${architecture}-${fastdebug_infix}b${build_number}
JRE_CONTENTS=$tmp/$__arch_name/Contents
mkdir -p "$JRE_CONTENTS" || do_exit $?
echo Running jlink...
"$JSDK"/bin/jlink \
--module-path "$__modules_path" --no-man-pages --compress=2 \
--add-modules "$__modules" --output "$JRE_CONTENTS/Home" || do_exit $?
grep -v "^JAVA_VERSION" "$JSDK"/release | grep -v "^MODULES" >> "$JRE_CONTENTS/Home/release"
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then
sed 's/JBR/JBRSDK/g' $JRE_CONTENTS/Home/release > release
mv release $JRE_CONTENTS/Home/release
cp $IMAGES_DIR/jdk-bundle/jdk-$JBSDK_VERSION.jdk/Contents/Home/lib/src.zip $JRE_CONTENTS/Home/lib
copy_jmods "$__modules" "$__modules_path" "$JRE_CONTENTS"/Home/jmods
fi
cp -R "$JSDK"/../MacOS "$JRE_CONTENTS"
cp "$JSDK"/../Info.plist "$JRE_CONTENTS"
[ -n "$bundle_type" ] && (cp -a $JCEF_PATH/Frameworks "$JRE_CONTENTS" || do_exit $?)
echo Creating "$JBR".tar.gz ...
# Normalize timestamp
find "$tmp"/"$__arch_name" -print0 | xargs -0 touch -c -h -t "$TOUCH_TIME"
(cd "$tmp" &&
find "$__arch_name" -print0 | LC_ALL=C sort -z | \
COPYFILE_DISABLE=1 tar $REPRODUCIBLE_TAR_OPTS --no-recursion --null -T - \
-czf "$JBR".tar.gz --exclude='*.dSYM' --exclude='man') || do_exit $?
mv "$tmp"/"$JBR".tar.gz "$JBR".tar.gz
rm -rf "$tmp"
}
WITH_DEBUG_LEVEL="--with-debug-level=release"
CONF_ARCHITECTURE=x86_64
if [[ "${architecture}" == *aarch64* ]]; then
CONF_ARCHITECTURE=aarch64
fi
RELEASE_NAME=macosx-${CONF_ARCHITECTURE}-server-release
case "$bundle_type" in
"jcef")
do_reset_changes=1
do_maketest=1
;;
"dcevm")
HEAD_REVISION=$(git rev-parse HEAD)
git am jb/project/tools/patches/dcevm/*.patch || do_exit $?
do_reset_dcevm=0
do_reset_changes=0
;;
"nomod" | "")
bundle_type=""
;;
"fd")
do_reset_changes=1
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
RELEASE_NAME=macosx-${CONF_ARCHITECTURE}-server-fastdebug
JBSDK=macosx-${architecture}-server-release
;;
esac
if [ -z "$INC_BUILD" ]; then
do_configure || do_exit $?
make clean CONF=$RELEASE_NAME || do_exit $?
fi
make images CONF=$RELEASE_NAME || do_exit $?
IMAGES_DIR=build/$RELEASE_NAME/images
JSDK=$IMAGES_DIR/jdk-bundle/jdk-$JBSDK_VERSION.jdk/Contents/Home
JSDK_MODS_DIR=$IMAGES_DIR/jmods
JBRSDK_BUNDLE=jbrsdk
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "dcevm" ] || [ "$bundle_type" == "fd" ]; then
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
update_jsdk_mods "$JSDK" "$JCEF_PATH"/jmods "$JSDK"/jmods "$JSDK_MODS_DIR" || do_exit $?
cp $JCEF_PATH/jmods/* $JSDK_MODS_DIR # $JSDK/jmods is not changed
jbr_name_postfix="_${bundle_type}"
fi
# create runtime image bundle
modules=$(xargs < jb/project/tools/common/modules.list | sed s/" "//g) || do_exit $?
create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" || do_exit $?
# create sdk image bundle
modules=$(cat "$JSDK"/release | grep MODULES | sed s/MODULES=//g | sed s/' '/','/g | sed s/\"//g | sed s/\\n//g) || do_exit $?
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "dcevm" ] || [ "$bundle_type" == "fd" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
modules=${modules},$(get_mods_list "$JCEF_PATH"/jmods)
fi
create_image_bundle "$JBRSDK_BUNDLE${jbr_name_postfix}" "$JBRSDK_BUNDLE" "$JSDK_MODS_DIR" "$modules" || do_exit $?
if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=${JBRSDK_BUNDLE}-${JBSDK_VERSION}-osx-test-${architecture}-b${build_number}
echo Creating "$JBRSDK_TEST" ...
[ $do_reset_changes -eq 1 ] && git checkout HEAD jb/project/tools/common/modules.list src/java.desktop/share/classes/module-info.java
make test-image CONF=$RELEASE_NAME || do_exit $?
[ -f "$JBRSDK_TEST.tar.gz" ] && rm "$JBRSDK_TEST.tar.gz"
COPYFILE_DISABLE=1 tar -pczf "$JBRSDK_TEST".tar.gz -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
fi
do_exit 0

View File

@@ -0,0 +1,118 @@
#!/bin/bash -x
APP_DIRECTORY=$1
APPL_USER=$2
APPL_PASSWORD=$3
APP_NAME=$4
BUNDLE_ID=$5
FAKE_ROOT="${6:-fake-root}"
if [[ -z "$APP_DIRECTORY" ]] || [[ -z "$APPL_USER" ]] || [[ -z "$APPL_PASSWORD" ]]; then
echo "Usage: $0 AppDirectory Username Password"
exit 1
fi
if [[ ! -d "$APP_DIRECTORY" ]]; then
echo "AppDirectory '$APP_DIRECTORY' does not exist or not a directory"
exit 1
fi
function log() {
echo "$(date '+[%H:%M:%S]') $*"
}
function publish-log() {
id=$1
file=$2
curl -T "$file" "$ARTIFACTORY_URL/$id" || true
}
function altool-upload() {
# Since altool uses same file for upload token we have to trick it into using different folders for token file location
# Also it copies zip into TMPDIR so we override it too, to simplify cleanup
OLD_HOME="$HOME"
export HOME="$FAKE_ROOT/home"
export TMPDIR="$FAKE_ROOT/tmp"
mkdir -p "$HOME"
mkdir -p "$TMPDIR"
export _JAVA_OPTIONS="-Duser.home=$HOME -Djava.io.tmpdir=$TMPDIR"
# Reduce amount of downloads, cache transporter libraries
shared_itmstransporter="$OLD_HOME/shared-itmstransporter"
if [[ -f "$shared_itmstransporter" ]]; then
cp -r "$shared_itmstransporter" "$HOME/.itmstransporter"
fi
# For some reason altool prints everything to stderr, not stdout
set +e
xcrun altool --notarize-app \
--username "$APPL_USER" --password "$APPL_PASSWORD" \
--primary-bundle-id "$BUNDLE_ID" \
--asc-provider JetBrainssro --file "$1" 2>&1 | tee "altool.init.out"
unset TMPDIR
export HOME="$OLD_HOME"
set -e
}
#immediately exit script with an error if a command fails
set -euo pipefail
#file="$APP_NAME.zip"
#log "Zipping $file..."
#rm -rf "$file"
#ditto -c -k --sequesterRsrc --keepParent "$APP_DIRECTORY" "$file"
log "Notarizing $APP_NAME..."
rm -rf "altool.init.out" "altool.check.out"
altool-upload "$APP_NAME"
notarization_info="$(grep -e "RequestUUID" "altool.init.out" | grep -oE '([0-9a-f-]{36})')"
if [ -z "$notarization_info" ]; then
log "Faile to read RequestUUID from altool.init.out"
exit 10
fi
PATH="$PATH:/usr/local/bin/"
log "Notarization request sent, awaiting response"
spent=0
while true; do
# For some reason altool prints everything to stderr, not stdout
xcrun altool --username "$APPL_USER" --notarization-info "$notarization_info" --password "$APPL_PASSWORD" >"altool.check.out" 2>&1 || true
status="$(grep -oe 'Status: .*' "altool.check.out" | cut -c 9- || true)"
log "Current status: $status"
if [ "$status" = "invalid" ]; then
log "Notarization failed"
ec=1
elif [ "$status" = "success" ]; then
log "Notarization succeeded"
ec=0
else
if [ "$status" != "in progress" ]; then
log "Unknown notarization status, waiting more, altool output:"
cat "altool.check.out"
fi
if [[ $spent -gt 60 ]]; then
log "Waiting time out (apx 60 minutes)"
ec=2
break
fi
sleep 60
((spent += 1))
continue
fi
developer_log="developer_log.json"
log "Fetching $developer_log"
# TODO: Replace cut with trim or something better
url="$(grep -oe 'LogFileURL: .*' "altool.check.out" | cut -c 13-)"
wget "$url" -O "$developer_log" && cat "$developer_log" || true
if [ $ec != 0 ]; then
log "Publishing $developer_log"
publish-log "$notarization_info" "$developer_log"
fi
break
done
cat "altool.check.out"
rm -rf "altool.init.out" "altool.check.out"
exit $ec

View File

@@ -0,0 +1,111 @@
#!/bin/bash -x
APPLICATION_PATH=$1
APP_NAME=$2
BUNDLE_ID=$3
JB_DEVELOPER_CERT=$4
JB_INSTALLER_CERT=$5
if [[ -z "$APPLICATION_PATH" ]] || [[ -z "$JB_DEVELOPER_CERT" ]]; then
echo "Usage: $0 AppDirectory CertificateID"
exit 1
fi
if [[ ! -d "$APPLICATION_PATH" ]]; then
echo "AppDirectory '$APPLICATION_PATH' does not exist or not a directory"
exit 1
fi
function log() {
echo "$(date '+[%H:%M:%S]') $*"
}
#immediately exit script with an error if a command fails
set -euo pipefail
# Cleanup files left from previous sign attempt (if any)
find "$APPLICATION_PATH" -name '*.cstemp' -exec rm '{}' \;
log "Signing libraries and executables..."
# -perm +111 searches for executables
for f in \
"Contents/Home/lib" "Contents/MacOS" \
"Contents/Home/Frameworks" \
"Contents/Frameworks"; do
if [ -d "$APPLICATION_PATH/$f" ]; then
find "$APPLICATION_PATH/$f" \
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -name "*.tbd" -o -name "*.node" -o -perm +111 \) \
-exec codesign --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime --force \
--entitlements entitlements.xml {} \;
fi
done
log "Signing libraries in jars in $PWD"
# todo: add set -euo pipefail; into the inner sh -c
# `-e` prevents `grep -q && printf` loginc
# with `-o pipefail` there's no input for 'while' loop
find "$APPLICATION_PATH" -name '*.jar' \
-exec sh -c "set -u; unzip -l \"\$0\" | grep -q -e '\.dylib\$' -e '\.jnilib\$' -e '\.so\$' -e '\.tbd\$' -e '^jattach\$' && printf \"\$0\0\" " {} \; |
while IFS= read -r -d $'\0' file; do
log "Processing libraries in $file"
rm -rf jarfolder jar.jar
mkdir jarfolder
filename="${file##*/}"
log "Filename: $filename"
cp "$file" jarfolder && (cd jarfolder && jar xf "$filename" && rm "$filename")
find jarfolder \
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -name "*.tbd" -o -name "jattach" \) \
-exec codesign --timestamp \
--force \
-v -s "$JB_DEVELOPER_CERT" --options=runtime \
--entitlements entitlements.xml {} \;
(cd jarfolder; zip -q -r -o -0 ../jar.jar .)
mv jar.jar "$file"
done
rm -rf jarfolder jar.jar
log "Signing other files..."
for f in \
"Contents/Home/bin"; do
if [ -d "$APPLICATION_PATH/$f" ]; then
find "$APPLICATION_PATH/$f" \
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -name "*.tbd" -o -perm +111 \) \
-exec codesign --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime --force \
--entitlements entitlements.xml {} \;
fi
done
#log "Signing executable..."
#codesign --timestamp \
# -v -s "$JB_DEVELOPER_CERT" --options=runtime \
# --force \
# --entitlements entitlements.xml "$APPLICATION_PATH/Contents/MacOS/idea"
log "Signing whole app..."
codesign --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime \
--force \
--entitlements entitlements.xml "$APPLICATION_PATH"
BUILD_NAME=$(echo $APPLICATION_PATH | awk -F"/" '{ print $2 }')
log "Creating $APP_NAME.pkg..."
rm -rf "$APP_NAME.pkg"
pkgbuild --identifier $BUNDLE_ID --sign "$JB_INSTALLER_CERT" --root $APPLICATION_PATH \
--install-location /Library/Java/JavaVirtualMachines/${BUILD_NAME} ${APP_NAME}.pkg
#log "Signing whole app..."
#codesign --timestamp \
# -v -s "$JB_DEVELOPER_CERT" --options=runtime \
# --force \
# --entitlements entitlements.xml $APP_NAME.pkg
log "Verifying java is not broken"
find "$APPLICATION_PATH" \
-type f -name 'java' -perm +111 -exec {} -version \;

View File

@@ -0,0 +1,138 @@
#!/bin/bash -x
#immediately exit script with an error if a command fails
set -euo pipefail
export COPY_EXTENDED_ATTRIBUTES_DISABLE=true
export COPYFILE_DISABLE=true
INPUT_FILE=$1
EXPLODED=$2.exploded
BACKUP_JMODS=$2.backup
USERNAME=$3
PASSWORD=$4
CODESIGN_STRING=$5
JB_INSTALLER_CERT=$6
NOTARIZE=$7
BUNDLE_ID=$8
cd "$(dirname "$0")"
function log() {
echo "$(date '+[%H:%M:%S]') $*"
}
log "Deleting $EXPLODED ..."
if test -d "$EXPLODED"; then
find "$EXPLODED" -mindepth 1 -maxdepth 1 -exec chmod -R u+wx '{}' \;
fi
rm -rf "$EXPLODED"
mkdir "$EXPLODED"
rm -rf "$BACKUP_JMODS"
mkdir "$BACKUP_JMODS"
log "Unzipping $INPUT_FILE to $EXPLODED ..."
tar -xzvf "$INPUT_FILE" --directory $EXPLODED
BUILD_NAME="$(ls "$EXPLODED")"
#sed -i '' s/BNDL/APPL/ $EXPLODED/$BUILD_NAME/Contents/Info.plist
rm -f $EXPLODED/$BUILD_NAME/Contents/CodeResources
rm "$INPUT_FILE"
if test -d $EXPLODED/$BUILD_NAME/Contents/Home/jmods; then
mv $EXPLODED/$BUILD_NAME/Contents/Home/jmods $BACKUP_JMODS
fi
log "$INPUT_FILE extracted and removed"
APP_NAME=$(echo ${INPUT_FILE} | awk -F".tar" '{ print $1 }')
APPLICATION_PATH=$(sed "s/osx-//" <<< "$EXPLODED/$APP_NAME")
mv $EXPLODED/$BUILD_NAME $APPLICATION_PATH
find "$APPLICATION_PATH/Contents/Home/bin" \
-maxdepth 1 -type f -name '*.jnilib' -print0 |
while IFS= read -r -d $'\0' file; do
if [ -f "$file" ]; then
log "Linking $file"
b="$(basename "$file" .jnilib)"
ln -sf "$b.jnilib" "$(dirname "$file")/$b.dylib"
fi
done
find "$APPLICATION_PATH/Contents/" \
-maxdepth 1 -type f -name '*.txt' -print0 |
while IFS= read -r -d $'\0' file; do
if [ -f "$file" ]; then
log "Moving $file"
mv "$file" "$APPLICATION_PATH/Contents/Resources"
fi
done
non_plist=$(find "$APPLICATION_PATH/Contents/" -maxdepth 1 -type f -and -not -name 'Info.plist' | wc -l)
if [[ $non_plist -gt 0 ]]; then
log "Only Info.plist file is allowed in Contents directory but found $non_plist file(s):"
log "$(find "$APPLICATION_PATH/Contents/" -maxdepth 1 -type f -and -not -name 'Info.plist')"
exit 1
fi
log "Unlocking keychain..."
# Make sure *.p12 is imported into local KeyChain
security unlock-keychain -p "$PASSWORD" "/Users/$USERNAME/Library/Keychains/login.keychain"
attempt=1
limit=3
set +e
while [[ $attempt -le $limit ]]; do
log "Signing (attempt $attempt) $APPLICATION_PATH ..."
./sign.sh "$APPLICATION_PATH" "$APP_NAME" "$BUNDLE_ID" "$CODESIGN_STRING" "$JB_INSTALLER_CERT"
ec=$?
if [[ $ec -ne 0 ]]; then
((attempt += 1))
if [ $attempt -eq $limit ]; then
set -e
fi
log "Signing failed, wait for 30 sec and try to sign again"
sleep 30
else
log "Signing done"
codesign -v "$APPLICATION_PATH" -vvvvv
log "Check sign done"
spctl -a -v $APPLICATION_PATH
((attempt += limit))
fi
done
set -e
if [ "$NOTARIZE" = "yes" ]; then
log "Notarizing..."
# shellcheck disable=SC1090
source "$HOME/.notarize_token"
# Since notarization tool uses same file for upload token we have to trick it into using different folders, hence fake root
# Also it leaves copy of zip file in TMPDIR, so notarize.sh overrides it and uses FAKE_ROOT as location for temp TMPDIR
FAKE_ROOT="$(pwd)/fake-root"
mkdir -p "$FAKE_ROOT"
echo "Notarization will use fake root: $FAKE_ROOT"
./notarize.sh "$APPLICATION_PATH" "$APPLE_USERNAME" "$APPLE_PASSWORD" "$APP_NAME.pkg" "$BUNDLE_ID" "$FAKE_ROOT"
rm -rf "$FAKE_ROOT"
set +e
log "Stapling..."
xcrun stapler staple "$APPLICATION_PATH"
else
log "Notarization disabled"
log "Stapling disabled"
fi
log "Zipping $BUILD_NAME to $INPUT_FILE ..."
(
#cd "$EXPLODED"
#ditto -c -k --sequesterRsrc --keepParent "$BUILD_NAME" "../$INPUT_FILE"
if test -d $BACKUP_JMODS/jmods; then
mv $BACKUP_JMODS/jmods $APPLICATION_PATH/Contents/Home
fi
mv $APPLICATION_PATH $EXPLODED/$BUILD_NAME
tar -pczvf $INPUT_FILE --exclude='man' -C $EXPLODED $BUILD_NAME
log "Finished zipping"
)
rm -rf "$EXPLODED"
log "Done"

View File

@@ -0,0 +1,30 @@
diff --git jb/project/tools/common/modules.list jb/project/tools/common/modules.list
index 522acb7cb43..c40e689d5de 100644
--- jb/project/tools/common/modules.list
+++ jb/project/tools/common/modules.list
@@ -51,4 +51,7 @@ jdk.unsupported.desktop,
jdk.xml.dom,
jdk.zipfs,
jdk.hotspot.agent,
-jdk.jcmd
+jdk.jcmd,
+jcef,
+gluegen.rt,
+jogl.all
diff --git src/java.desktop/share/classes/module-info.java src/java.desktop/share/classes/module-info.java
index 897647ee368..781d1809493 100644
--- src/java.desktop/share/classes/module-info.java
+++ src/java.desktop/share/classes/module-info.java
@@ -116,7 +116,11 @@ module java.desktop {
// see make/GensrcModuleInfo.gmk
exports sun.awt to
jdk.accessibility,
- jdk.unsupported.desktop;
+ jdk.unsupported.desktop,
+ jcef,
+ jogl.all;
+
+ exports java.awt.peer to jcef;
exports java.awt.dnd.peer to jdk.unsupported.desktop;
exports sun.awt.dnd to jdk.unsupported.desktop;

View File

@@ -0,0 +1,30 @@
diff --git jb/project/tools/common/modules.list jb/project/tools/common/modules.list
index 522acb7..c40e689 100644
--- jb/project/tools/common/modules.list
+++ jb/project/tools/common/modules.list
@@ -51,4 +51,7 @@ jdk.unsupported.desktop,
jdk.xml.dom,
jdk.zipfs,
jdk.hotspot.agent,
-jdk.jcmd
+jdk.jcmd,
+jcef,
+gluegen.rt,
+jogl.all
diff --git src/java.desktop/share/classes/module-info.java src/java.desktop/share/classes/module-info.java
index 897647e..781d180 100644
--- src/java.desktop/share/classes/module-info.java
+++ src/java.desktop/share/classes/module-info.java
@@ -116,7 +116,11 @@ module java.desktop {
// see make/GensrcModuleInfo.gmk
exports sun.awt to
jdk.accessibility,
- jdk.unsupported.desktop;
+ jdk.unsupported.desktop,
+ jcef,
+ jogl.all;
+
+ exports java.awt.peer to jcef;
exports java.awt.dnd.peer to jdk.unsupported.desktop;
exports sun.awt.dnd to jdk.unsupported.desktop;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,29 @@
From 960dafbeeba190911955c208b611fecc15d66738 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Wed, 11 Mar 2020 14:19:34 +0100
Subject: [PATCH 03/34] Fix class cast exception on redefinition of class A,
that is superclass of B that has anonymous class C
---
src/hotspot/share/oops/instanceKlass.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/hotspot/share/oops/instanceKlass.cpp b/src/hotspot/share/oops/instanceKlass.cpp
index 994fc8a3bc8..3be3a09ef8f 100644
--- a/src/hotspot/share/oops/instanceKlass.cpp
+++ b/src/hotspot/share/oops/instanceKlass.cpp
@@ -953,7 +953,10 @@ bool InstanceKlass::link_class_impl(TRAPS) {
if (!is_linked()) {
if (!is_rewritten()) {
- {
+ // (DCEVM): If class A is being redefined and class B->A (B is extended from A) and B is host class of anonymous class C
+ // then second redefinition fails with cannot cast klass exception. So we currently turn off bytecode verification
+ // on redefinition.
+ if (!AllowEnhancedClassRedefinition || !newest_version()->is_redefining()) {
bool verify_ok = verify_code(THREAD);
if (!verify_ok) {
return false;
--
2.23.0

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,240 @@
From 39df5f163d4a0f1fd6b92313a5570808f19d5e20 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 4 Oct 2020 21:12:12 +0200
Subject: [PATCH 05/34] Support for Lambda class redefinition
---
.../share/classfile/classLoaderData.cpp | 9 +++
.../share/classfile/classLoaderData.hpp | 2 +-
.../share/classfile/systemDictionary.cpp | 12 +++-
.../share/classfile/systemDictionary.hpp | 1 +
.../prims/jvmtiEnhancedRedefineClasses.cpp | 65 +++++++++++++++++--
.../prims/jvmtiEnhancedRedefineClasses.hpp | 1 +
.../share/prims/resolvedMethodTable.cpp | 2 +
src/hotspot/share/prims/unsafe.cpp | 1 +
8 files changed, 83 insertions(+), 10 deletions(-)
diff --git a/src/hotspot/share/classfile/classLoaderData.cpp b/src/hotspot/share/classfile/classLoaderData.cpp
index 0cd90bb8c27..4d64c6b454a 100644
--- a/src/hotspot/share/classfile/classLoaderData.cpp
+++ b/src/hotspot/share/classfile/classLoaderData.cpp
@@ -593,6 +593,15 @@ Dictionary* ClassLoaderData::create_dictionary() {
return new Dictionary(this, size, resizable);
}
+void ClassLoaderData::exchange_holders(ClassLoaderData* cld) {
+ oop holder_oop = _holder.peek();
+ _holder.replace(cld->_holder.peek());
+ cld->_holder.replace(holder_oop);
+ WeakHandle<vm_class_loader_data> exchange = _holder;
+ _holder = cld->_holder;
+ cld->_holder = exchange;
+}
+
// Tell the GC to keep this klass alive while iterating ClassLoaderDataGraph
oop ClassLoaderData::holder_phantom() const {
// A klass that was previously considered dead can be looked up in the
diff --git a/src/hotspot/share/classfile/classLoaderData.hpp b/src/hotspot/share/classfile/classLoaderData.hpp
index ba2393f8dd0..e2ae0a77351 100644
--- a/src/hotspot/share/classfile/classLoaderData.hpp
+++ b/src/hotspot/share/classfile/classLoaderData.hpp
@@ -181,7 +181,7 @@ class ClassLoaderData : public CHeapObj<mtClass> {
bool has_accumulated_modified_oops() { return _accumulated_modified_oops; }
oop holder_no_keepalive() const;
oop holder_phantom() const;
-
+ void exchange_holders(ClassLoaderData* cld);
private:
void unload();
bool keep_alive() const { return _keep_alive > 0; }
diff --git a/src/hotspot/share/classfile/systemDictionary.cpp b/src/hotspot/share/classfile/systemDictionary.cpp
index bd0cae7cb9b..8f2b46add4d 100644
--- a/src/hotspot/share/classfile/systemDictionary.cpp
+++ b/src/hotspot/share/classfile/systemDictionary.cpp
@@ -1062,10 +1062,14 @@ InstanceKlass* SystemDictionary::parse_stream(Symbol* class_name,
Handle class_loader,
ClassFileStream* st,
const ClassLoadInfo& cl_info,
+ InstanceKlass* old_klass,
TRAPS) {
EventClassLoad class_load_start_event;
ClassLoaderData* loader_data;
+
+ bool is_redefining = (old_klass != NULL);
+
bool is_unsafe_anon_class = cl_info.unsafe_anonymous_host() != NULL;
// - for unsafe anonymous class: create a new CLD whith a class holder that uses
@@ -1094,8 +1098,12 @@ InstanceKlass* SystemDictionary::parse_stream(Symbol* class_name,
class_name,
loader_data,
cl_info,
- false, // pick_newest
+ is_redefining, // pick_newest
CHECK_NULL);
+ if (is_redefining && k != NULL) {
+ k->set_redefining(true);
+ k->set_old_version(old_klass);
+ }
if ((cl_info.is_hidden() || is_unsafe_anon_class) && k != NULL) {
// Hidden classes that are not strong and unsafe anonymous classes must update
@@ -1998,7 +2006,7 @@ void SystemDictionary::remove_from_hierarchy(InstanceKlass* k) {
k->remove_from_sibling_list();
}
-// (DCEVM)
+// (DCEVM)
void SystemDictionary::update_constraints_after_redefinition() {
constraints()->update_after_redefinition();
}
diff --git a/src/hotspot/share/classfile/systemDictionary.hpp b/src/hotspot/share/classfile/systemDictionary.hpp
index 4547449dbec..931e655d631 100644
--- a/src/hotspot/share/classfile/systemDictionary.hpp
+++ b/src/hotspot/share/classfile/systemDictionary.hpp
@@ -329,6 +329,7 @@ public:
Handle class_loader,
ClassFileStream* st,
const ClassLoadInfo& cl_info,
+ InstanceKlass* old_klass,
TRAPS);
// Resolve from stream (called by jni_DefineClass and JVM_DefineClass)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 92ce6c27b8a..8b765623dcd 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -494,6 +494,8 @@ void VM_EnhancedRedefineClasses::doit() {
ClassLoaderDataGraph::classes_do(&clear_cpool_cache);
+ // SystemDictionary::methods_do(fix_invoke_method);
+
// JSR-292 support
if (_any_class_has_resolved_methods) {
bool trace_name_printed = false;
@@ -756,12 +758,34 @@ jvmtiError VM_EnhancedRedefineClasses::load_new_class_versions(TRAPS) {
// load hook event.
state->set_class_being_redefined(the_class, _class_load_kind);
- InstanceKlass* k = SystemDictionary::resolve_from_stream(the_class_sym,
- the_class_loader,
- protection_domain,
- &st,
- the_class,
- THREAD);
+ InstanceKlass* k;
+
+ if (InstanceKlass::cast(the_class)->is_anonymous()) {
+ const InstanceKlass* host_class = the_class->host_klass();
+
+ // Make sure it's the real host class, not another anonymous class.
+ while (host_class != NULL && host_class->is_anonymous()) {
+ host_class = host_class->host_klass();
+ }
+
+ k = SystemDictionary::parse_stream(the_class_sym,
+ the_class_loader,
+ protection_domain,
+ &st,
+ host_class,
+ the_class,
+ NULL,
+ THREAD);
+ k->class_loader_data()->exchange_holders(the_class->class_loader_data());
+ the_class->class_loader_data()->inc_keep_alive();
+ } else {
+ k = SystemDictionary::resolve_from_stream(the_class_sym,
+ the_class_loader,
+ protection_domain,
+ &st,
+ the_class,
+ THREAD);
+ }
// Clear class_being_redefined just to be sure.
state->clear_class_being_redefined();
@@ -1442,6 +1466,30 @@ void VM_EnhancedRedefineClasses::MethodDataCleaner::do_klass(Klass* k) {
}
}
+void VM_EnhancedRedefineClasses::fix_invoke_method(Method* method) {
+
+ constantPoolHandle other_cp = constantPoolHandle(method->constants());
+
+ for (int i = 0; i < other_cp->length(); i++) {
+ if (other_cp->tag_at(i).is_klass()) {
+ Klass* klass = other_cp->resolved_klass_at(i);
+ if (klass->new_version() != NULL) {
+ // Constant pool entry points to redefined class -- update to the new version
+ other_cp->klass_at_put(i, klass->newest_version());
+ }
+ assert(other_cp->resolved_klass_at(i)->new_version() == NULL, "Must be new klass!");
+ }
+ }
+
+ ConstantPoolCache* cp_cache = other_cp->cache();
+ if (cp_cache != NULL) {
+ cp_cache->clear_entries();
+ }
+
+}
+
+
+
void VM_EnhancedRedefineClasses::update_jmethod_ids() {
for (int j = 0; j < _matching_methods_length; ++j) {
Method* old_method = _matching_old_methods[j];
@@ -1979,7 +2027,10 @@ jvmtiError VM_EnhancedRedefineClasses::find_sorted_affected_classes(TRAPS) {
// Find classes not directly redefined, but affected by a redefinition (because one of its supertypes is redefined)
AffectedKlassClosure closure(_affected_klasses);
// Updated in j10, from original SystemDictionary::classes_do
- ClassLoaderDataGraph::dictionary_classes_do(&closure);
+
+ ClassLoaderDataGraph::classes_do(&closure);
+ //ClassLoaderDataGraph::dictionary_classes_do(&closure);
+
log_trace(redefine, class, load)("%d classes affected", _affected_klasses->length());
// Sort the affected klasses such that a supertype is always on a smaller array index than its subtype.
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
index 60b62c3170a..d8a11b51fe9 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
@@ -116,6 +116,7 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
void rollback();
static void mark_as_scavengable(nmethod* nm);
static void unpatch_bytecode(Method* method);
+ static void fix_invoke_method(Method* method);
// Figure out which new methods match old methods in name and signature,
// which methods have been added, and which are no longer present
diff --git a/src/hotspot/share/prims/resolvedMethodTable.cpp b/src/hotspot/share/prims/resolvedMethodTable.cpp
index 122bb8c186b..81b3aa96564 100644
--- a/src/hotspot/share/prims/resolvedMethodTable.cpp
+++ b/src/hotspot/share/prims/resolvedMethodTable.cpp
@@ -414,6 +414,8 @@ void ResolvedMethodTable::adjust_method_entries_dcevm(bool * trace_name_printed)
InstanceKlass* newer_klass = InstanceKlass::cast(old_method->method_holder()->new_version());
Method* newer_method = newer_klass->method_with_idnum(old_method->orig_method_idnum());
+ log_info(redefine, class, load, exceptions)("Adjusting method: '%s' of new class %s", newer_method->name_and_sig_as_C_string(), newer_klass->name()->as_C_string());
+
assert(newer_klass == newer_method->method_holder(), "call after swapping redefined guts");
assert(newer_method != NULL, "method_with_idnum() should not be NULL");
assert(old_method != newer_method, "sanity check");
diff --git a/src/hotspot/share/prims/unsafe.cpp b/src/hotspot/share/prims/unsafe.cpp
index 72d81ec9d6c..027afa3fabd 100644
--- a/src/hotspot/share/prims/unsafe.cpp
+++ b/src/hotspot/share/prims/unsafe.cpp
@@ -865,6 +865,7 @@ Unsafe_DefineAnonymousClass_impl(JNIEnv *env,
host_loader,
&st,
cl_info,
+ NULL,
CHECK_NULL);
if (anonk == NULL) {
return NULL;
--
2.23.0

View File

@@ -0,0 +1,135 @@
From 5af1daedc86b5fec0f222cbdda3afbdf518985ea Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sat, 23 May 2020 10:02:15 +0200
Subject: [PATCH 06/34] Fix "no original bytecode found" error if method with
bkp is missing
Sometimes IDE can deploy class with erroneous method, such method has
n bytecode, but breakpoint position can still exist.
---
src/hotspot/share/interpreter/bytecodes.cpp | 2 +-
.../share/interpreter/interpreterRuntime.cpp | 2 +-
src/hotspot/share/oops/method.cpp | 8 ++++----
src/hotspot/share/oops/method.hpp | 4 ++--
.../prims/jvmtiEnhancedRedefineClasses.cpp | 18 ++++++++++--------
5 files changed, 18 insertions(+), 16 deletions(-)
diff --git a/src/hotspot/share/interpreter/bytecodes.cpp b/src/hotspot/share/interpreter/bytecodes.cpp
index e377e36b88c..262ecc021b2 100644
--- a/src/hotspot/share/interpreter/bytecodes.cpp
+++ b/src/hotspot/share/interpreter/bytecodes.cpp
@@ -84,7 +84,7 @@ Bytecodes::Code Bytecodes::code_at(Method* method, int bci) {
Bytecodes::Code Bytecodes::non_breakpoint_code_at(const Method* method, address bcp) {
assert(method != NULL, "must have the method for breakpoint conversion");
assert(method->contains(bcp), "must be valid bcp in method");
- return method->orig_bytecode_at(method->bci_from(bcp));
+ return method->orig_bytecode_at(method->bci_from(bcp), false);
}
int Bytecodes::special_length_at(Bytecodes::Code code, address bcp, address end) {
diff --git a/src/hotspot/share/interpreter/interpreterRuntime.cpp b/src/hotspot/share/interpreter/interpreterRuntime.cpp
index ed3cc3eb6a2..504e59caf51 100644
--- a/src/hotspot/share/interpreter/interpreterRuntime.cpp
+++ b/src/hotspot/share/interpreter/interpreterRuntime.cpp
@@ -814,7 +814,7 @@ JRT_END
// Invokes
JRT_ENTRY(Bytecodes::Code, InterpreterRuntime::get_original_bytecode_at(JavaThread* thread, Method* method, address bcp))
- return method->orig_bytecode_at(method->bci_from(bcp));
+ return method->orig_bytecode_at(method->bci_from(bcp), false);
JRT_END
JRT_ENTRY(void, InterpreterRuntime::set_original_bytecode_at(JavaThread* thread, Method* method, address bcp, Bytecodes::Code new_code))
diff --git a/src/hotspot/share/oops/method.cpp b/src/hotspot/share/oops/method.cpp
index 516f2bb8f2f..1c88511a5fc 100644
--- a/src/hotspot/share/oops/method.cpp
+++ b/src/hotspot/share/oops/method.cpp
@@ -1853,14 +1853,14 @@ bool CompressedLineNumberReadStream::read_pair() {
#if INCLUDE_JVMTI
-Bytecodes::Code Method::orig_bytecode_at(int bci) const {
+Bytecodes::Code Method::orig_bytecode_at(int bci, bool no_fatal) const {
BreakpointInfo* bp = method_holder()->breakpoints();
for (; bp != NULL; bp = bp->next()) {
if (bp->match(this, bci)) {
return bp->orig_bytecode();
}
}
- {
+ if (!no_fatal) {
ResourceMark rm;
fatal("no original bytecode found in %s at bci %d", name_and_sig_as_C_string(), bci);
}
@@ -2006,7 +2006,7 @@ BreakpointInfo::BreakpointInfo(Method* m, int bci) {
_signature_index = m->signature_index();
_orig_bytecode = (Bytecodes::Code) *m->bcp_from(_bci);
if (_orig_bytecode == Bytecodes::_breakpoint)
- _orig_bytecode = m->orig_bytecode_at(_bci);
+ _orig_bytecode = m->orig_bytecode_at(_bci, false);
_next = NULL;
}
@@ -2015,7 +2015,7 @@ void BreakpointInfo::set(Method* method) {
{
Bytecodes::Code code = (Bytecodes::Code) *method->bcp_from(_bci);
if (code == Bytecodes::_breakpoint)
- code = method->orig_bytecode_at(_bci);
+ code = method->orig_bytecode_at(_bci, false);
assert(orig_bytecode() == code, "original bytecode must be the same");
}
#endif
diff --git a/src/hotspot/share/oops/method.hpp b/src/hotspot/share/oops/method.hpp
index 83ed2d9c3c1..4d4cc6dc012 100644
--- a/src/hotspot/share/oops/method.hpp
+++ b/src/hotspot/share/oops/method.hpp
@@ -230,7 +230,7 @@ class Method : public Metadata {
// JVMTI breakpoints
#if !INCLUDE_JVMTI
- Bytecodes::Code orig_bytecode_at(int bci) const {
+ Bytecodes::Code orig_bytecode_at(int bci, bool no_fatal) const {
ShouldNotReachHere();
return Bytecodes::_shouldnotreachhere;
}
@@ -239,7 +239,7 @@ class Method : public Metadata {
};
u2 number_of_breakpoints() const {return 0;}
#else // !INCLUDE_JVMTI
- Bytecodes::Code orig_bytecode_at(int bci) const;
+ Bytecodes::Code orig_bytecode_at(int bci, bool no_fatal) const;
void set_orig_bytecode_at(int bci, Bytecodes::Code code);
void set_breakpoint(int bci);
void clear_breakpoint(int bci);
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 8b765623dcd..a859b8e1162 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -1362,14 +1362,16 @@ void VM_EnhancedRedefineClasses::unpatch_bytecode(Method* method) {
if (code == Bytecodes::_breakpoint) {
int bci = method->bci_from(bcp);
- code = method->orig_bytecode_at(bci);
- java_code = Bytecodes::java_code(code);
- if (code != java_code &&
- (java_code == Bytecodes::_getfield ||
- java_code == Bytecodes::_putfield ||
- java_code == Bytecodes::_aload_0)) {
- // Let breakpoint table handling unpatch bytecode
- method->set_orig_bytecode_at(bci, java_code);
+ code = method->orig_bytecode_at(bci, true);
+ if (code != Bytecodes::_shouldnotreachhere) {
+ java_code = Bytecodes::java_code(code);
+ if (code != java_code &&
+ (java_code == Bytecodes::_getfield ||
+ java_code == Bytecodes::_putfield ||
+ java_code == Bytecodes::_aload_0)) {
+ // Let breakpoint table handling unpatch bytecode
+ method->set_orig_bytecode_at(bci, java_code);
+ }
}
} else {
java_code = Bytecodes::java_code(code);
--
2.23.0

View File

@@ -0,0 +1,57 @@
From 19d2274a5dff6e6b31474252b45e5e7484f0180b Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 24 May 2020 12:07:42 +0200
Subject: [PATCH 07/34] Replace deleted method with
Universe::throw_no_such_method_error
---
.../share/prims/resolvedMethodTable.cpp | 28 +++++++++----------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/hotspot/share/prims/resolvedMethodTable.cpp b/src/hotspot/share/prims/resolvedMethodTable.cpp
index 81b3aa96564..caf03ffe56d 100644
--- a/src/hotspot/share/prims/resolvedMethodTable.cpp
+++ b/src/hotspot/share/prims/resolvedMethodTable.cpp
@@ -404,25 +404,25 @@ void ResolvedMethodTable::adjust_method_entries_dcevm(bool * trace_name_printed)
if (old_method->is_old()) {
+ InstanceKlass* newer_klass = InstanceKlass::cast(old_method->method_holder()->new_version());
+ Method* newer_method;
+
// Method* new_method;
if (old_method->is_deleted()) {
- // FIXME:(DCEVM) - check if exception can be thrown
- // new_method = Universe::throw_no_such_method_error();
- continue;
- }
-
- InstanceKlass* newer_klass = InstanceKlass::cast(old_method->method_holder()->new_version());
- Method* newer_method = newer_klass->method_with_idnum(old_method->orig_method_idnum());
+ newer_method = Universe::throw_no_such_method_error();
+ } else {
+ newer_method = newer_klass->method_with_idnum(old_method->orig_method_idnum());
- log_info(redefine, class, load, exceptions)("Adjusting method: '%s' of new class %s", newer_method->name_and_sig_as_C_string(), newer_klass->name()->as_C_string());
+ log_info(redefine, class, load, exceptions)("Adjusting method: '%s' of new class %s", newer_method->name_and_sig_as_C_string(), newer_klass->name()->as_C_string());
- assert(newer_klass == newer_method->method_holder(), "call after swapping redefined guts");
- assert(newer_method != NULL, "method_with_idnum() should not be NULL");
- assert(old_method != newer_method, "sanity check");
+ assert(newer_klass == newer_method->method_holder(), "call after swapping redefined guts");
+ assert(newer_method != NULL, "method_with_idnum() should not be NULL");
+ assert(old_method != newer_method, "sanity check");
- if (_the_table->lookup(newer_method) != NULL) {
- // old method was already adjusted if new method exists in _the_table
- continue;
+ if (_the_table->lookup(newer_method) != NULL) {
+ // old method was already adjusted if new method exists in _the_table
+ continue;
+ }
}
java_lang_invoke_ResolvedMethodName::set_vmtarget(mem_name, newer_method);
--
2.23.0

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,50 @@
From ca47ab5a0a6ce8e2644736f323a335a957311af9 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sat, 13 Jun 2020 18:50:59 +0200
Subject: [PATCH 09/34] Change log level in advanced redefinition
- Change log level for "Comparing different class ver.." to debug
- Fix adjust_method_entries_dcevm logging levels and severity
---
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp | 2 +-
src/hotspot/share/prims/resolvedMethodTable.cpp | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 6c9eb40ecf5..b09ba554e07 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -916,7 +916,7 @@ jvmtiError VM_EnhancedRedefineClasses::load_new_class_versions(TRAPS) {
// Calculated the difference between new and old class (field change, method change, supertype change, ...).
int VM_EnhancedRedefineClasses::calculate_redefinition_flags(InstanceKlass* new_class) {
int result = Klass::NoRedefinition;
- log_info(redefine, class, load)("Comparing different class versions of class %s",new_class->name()->as_C_string());
+ log_debug(redefine, class, load)("Comparing different class versions of class %s",new_class->name()->as_C_string());
assert(new_class->old_version() != NULL, "must have old version");
InstanceKlass* the_class = InstanceKlass::cast(new_class->old_version());
diff --git a/src/hotspot/share/prims/resolvedMethodTable.cpp b/src/hotspot/share/prims/resolvedMethodTable.cpp
index caf03ffe56d..eb9fcda44f3 100644
--- a/src/hotspot/share/prims/resolvedMethodTable.cpp
+++ b/src/hotspot/share/prims/resolvedMethodTable.cpp
@@ -413,7 +413,7 @@ void ResolvedMethodTable::adjust_method_entries_dcevm(bool * trace_name_printed)
} else {
newer_method = newer_klass->method_with_idnum(old_method->orig_method_idnum());
- log_info(redefine, class, load, exceptions)("Adjusting method: '%s' of new class %s", newer_method->name_and_sig_as_C_string(), newer_klass->name()->as_C_string());
+ log_debug(redefine, class, update)("Adjusting method: '%s' of new class %s", newer_method->name_and_sig_as_C_string(), newer_klass->name()->as_C_string());
assert(newer_klass == newer_method->method_holder(), "call after swapping redefined guts");
assert(newer_method != NULL, "method_with_idnum() should not be NULL");
@@ -433,7 +433,7 @@ void ResolvedMethodTable::adjust_method_entries_dcevm(bool * trace_name_printed)
ResourceMark rm;
if (!(*trace_name_printed)) {
- log_info(redefine, class, update)("adjust: name=%s", old_method->method_holder()->external_name());
+ log_debug(redefine, class, update)("adjust: name=%s", old_method->method_holder()->external_name());
*trace_name_printed = true;
}
log_debug(redefine, class, update, constantpool)
--
2.23.0

View File

@@ -0,0 +1,26 @@
From 7e236beee0375656d1955fc1168143c1639fb7f1 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Tue, 6 Oct 2020 22:15:31 +0200
Subject: [PATCH 10/34] AllowEnhancedClassRedefinition is false (disabled) by
default
---
src/hotspot/share/runtime/globals.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hotspot/share/runtime/globals.hpp b/src/hotspot/share/runtime/globals.hpp
index 5b367704800..2710c6ea0e5 100644
--- a/src/hotspot/share/runtime/globals.hpp
+++ b/src/hotspot/share/runtime/globals.hpp
@@ -2466,7 +2466,7 @@ const size_t minimumSymbolTableSize = 1024;
diagnostic(bool, DeoptimizeNMethodBarriersALot, false, \
"Make nmethod barriers deoptimise a lot.") \
\
- product(bool, AllowEnhancedClassRedefinition, true, \
+ product(bool, AllowEnhancedClassRedefinition, false, \
"Allow enhanced class redefinition beyond swapping method " \
"bodies") \
\
--
2.23.0

View File

@@ -0,0 +1,25 @@
From d56e73885111b386771f564ec6beb305338993df Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Mon, 19 Oct 2020 20:00:04 +0200
Subject: [PATCH 12/34] Set HOTSPOT_VM_DISTRO=Dynamic Code Evolution
---
make/autoconf/version-numbers | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/make/autoconf/version-numbers b/make/autoconf/version-numbers
index aabdc5bed20..df8025a2e84 100644
--- a/make/autoconf/version-numbers
+++ b/make/autoconf/version-numbers
@@ -45,7 +45,7 @@ PRODUCT_NAME=OpenJDK
PRODUCT_SUFFIX="Runtime Environment"
JDK_RC_PLATFORM_NAME=Platform
COMPANY_NAME=N/A
-HOTSPOT_VM_DISTRO="OpenJDK"
+HOTSPOT_VM_DISTRO="Dynamic Code Evolution"
VENDOR_URL=https://openjdk.java.net/
VENDOR_URL_BUG=https://bugreport.java.com/bugreport/
VENDOR_URL_VM_BUG=https://bugreport.java.com/bugreport/crash.jsp
--
2.23.0

View File

@@ -0,0 +1,71 @@
From 7ebad43ed45805b0a3736c510f708ff17697ba7e Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 11 Oct 2020 10:43:28 +0200
Subject: [PATCH 13/34] Fix G1 nmethod registration
---
.../prims/jvmtiEnhancedRedefineClasses.cpp | 19 ++++++++++++++++---
.../prims/jvmtiEnhancedRedefineClasses.hpp | 3 ++-
2 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index b09ba554e07..718426f2819 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -216,7 +216,14 @@ void VM_EnhancedRedefineClasses::mark_as_scavengable(nmethod* nm) {
}
}
-void VM_EnhancedRedefineClasses::mark_as_scavengable_g1(nmethod* nm) {
+void VM_EnhancedRedefineClasses::unregister_nmethod_g1(nmethod* nm) {
+ // It should work not only for G1 but also for another GCs, but this way is safer now
+ if (!nm->is_zombie() && !nm->is_unloaded()) {
+ Universe::heap()->unregister_nmethod(nm);
+ }
+}
+
+void VM_EnhancedRedefineClasses::register_nmethod_g1(nmethod* nm) {
// It should work not only for G1 but also for another GCs, but this way is safer now
if (!nm->is_zombie() && !nm->is_unloaded()) {
Universe::heap()->register_nmethod(nm);
@@ -521,8 +528,9 @@ void VM_EnhancedRedefineClasses::doit() {
// For now, mark all nmethod's as scavengable that are not scavengable already
if (ScavengeRootsInCode) {
if (UseG1GC) {
- // this should work also for other GCs
- CodeCache::nmethods_do(mark_as_scavengable_g1);
+ // G1 holds references to nmethods in regions based on oops values. Since oops in nmethod can be changed in ChangePointers* closures
+ // we unregister nmethods from G1 heap, then closures are processed (oops are changed) and finally we register nmethod to G1 again
+ CodeCache::nmethods_do(unregister_nmethod_g1);
} else {
CodeCache::nmethods_do(mark_as_scavengable);
}
@@ -545,6 +553,11 @@ void VM_EnhancedRedefineClasses::doit() {
Universe::root_oops_do(&oopClosureNoBarrier);
+ if (UseG1GC) {
+ // this should work also for other GCs
+ CodeCache::nmethods_do(register_nmethod_g1);
+ }
+
}
log_trace(redefine, class, obsolete, metadata)("After updating instances");
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
index 9755944d70b..4c0412d343d 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
@@ -116,7 +116,8 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
void rollback();
static void mark_as_scavengable(nmethod* nm);
- static void mark_as_scavengable_g1(nmethod* nm);
+ static void unregister_nmethod_g1(nmethod* nm);
+ static void register_nmethod_g1(nmethod* nm);
static void unpatch_bytecode(Method* method);
static void fix_invoke_method(Method* method);
--
2.23.0

View File

@@ -0,0 +1,26 @@
From 5c7e5f245f79d7e8575461dab0c356ed74c8e9a3 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Thu, 22 Oct 2020 20:15:20 +0200
Subject: [PATCH 14/34] Initialize method's _new_version/_old_version to NULL
---
src/hotspot/share/oops/method.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/hotspot/share/oops/method.cpp b/src/hotspot/share/oops/method.cpp
index 1c88511a5fc..ce940cf10a9 100644
--- a/src/hotspot/share/oops/method.cpp
+++ b/src/hotspot/share/oops/method.cpp
@@ -91,7 +91,8 @@ Method* Method::allocate(ClassLoaderData* loader_data,
return new (loader_data, size, MetaspaceObj::MethodType, THREAD) Method(cm, access_flags);
}
-Method::Method(ConstMethod* xconst, AccessFlags access_flags) {
+Method::Method(ConstMethod* xconst, AccessFlags access_flags) : _new_version(NULL),
+ _old_version(NULL) {
NoSafepointVerifier no_safepoint;
set_constMethod(xconst);
set_access_flags(access_flags);
--
2.23.0

View File

@@ -0,0 +1,193 @@
From 6ffac6e5064ec6633fdbeb8520333dca00bc6a62 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Fri, 23 Oct 2020 10:20:26 +0200
Subject: [PATCH 15/34] Clear dcevm code separation
---
src/hotspot/share/classfile/systemDictionary.cpp | 4 ++--
src/hotspot/share/gc/serial/genMarkSweep.cpp | 8 +++++---
src/hotspot/share/interpreter/linkResolver.cpp | 16 +++++++++++-----
.../instrumentation/jfrEventClassTransformer.cpp | 2 +-
src/hotspot/share/oops/instanceKlass.cpp | 10 ++++++----
src/hotspot/share/oops/method.cpp | 2 +-
.../share/prims/jvmtiGetLoadedClasses.cpp | 2 +-
src/hotspot/share/runtime/reflection.cpp | 2 +-
8 files changed, 28 insertions(+), 18 deletions(-)
diff --git a/src/hotspot/share/classfile/systemDictionary.cpp b/src/hotspot/share/classfile/systemDictionary.cpp
index 8f2b46add4d..9ac6ec96cb5 100644
--- a/src/hotspot/share/classfile/systemDictionary.cpp
+++ b/src/hotspot/share/classfile/systemDictionary.cpp
@@ -1241,7 +1241,7 @@ InstanceKlass* SystemDictionary::resolve_from_stream(Symbol* class_name,
MutexLocker mu(THREAD, SystemDictionary_lock);
Klass* check = find_class(h_name, k->class_loader_data());
- assert((check == k && !k->is_redefining()) || (k->is_redefining() && check == k->old_version()), "should be present in the dictionary");
+ assert(check == k && !k->is_redefining() || k->is_redefining() && check == k->old_version(), "should be present in the dictionary");
} );
return k;
@@ -2290,7 +2290,7 @@ void SystemDictionary::check_constraints(unsigned int d_hash,
// also hold array classes.
assert(check->is_instance_klass(), "noninstance in systemdictionary");
- if ((defining == true) || ((k != check) && k->old_version() != check)) {
+ if ((defining == true) || (k != check && (!AllowEnhancedClassRedefinition || k->old_version() != check))) {
throwException = true;
ss.print("loader %s", loader_data->loader_name_and_id());
ss.print(" attempted duplicate %s definition for %s. (%s)",
diff --git a/src/hotspot/share/gc/serial/genMarkSweep.cpp b/src/hotspot/share/gc/serial/genMarkSweep.cpp
index 1d13c647452..548df01e557 100644
--- a/src/hotspot/share/gc/serial/genMarkSweep.cpp
+++ b/src/hotspot/share/gc/serial/genMarkSweep.cpp
@@ -334,7 +334,9 @@ void GenMarkSweep::mark_sweep_phase4() {
GenCompactClosure blk;
gch->generation_iterate(&blk, true);
- DcevmSharedGC::copy_rescued_objects_back(MarkSweep::_rescued_oops, true);
- DcevmSharedGC::clear_rescued_objects_resource(MarkSweep::_rescued_oops);
- MarkSweep::_rescued_oops = NULL;
+ if (AllowEnhancedClassRedefinition) {
+ DcevmSharedGC::copy_rescued_objects_back(MarkSweep::_rescued_oops, true);
+ DcevmSharedGC::clear_rescued_objects_resource(MarkSweep::_rescued_oops);
+ MarkSweep::_rescued_oops = NULL;
+ }
}
diff --git a/src/hotspot/share/interpreter/linkResolver.cpp b/src/hotspot/share/interpreter/linkResolver.cpp
index b6e9e0a308d..b2f24ddbeda 100644
--- a/src/hotspot/share/interpreter/linkResolver.cpp
+++ b/src/hotspot/share/interpreter/linkResolver.cpp
@@ -282,9 +282,14 @@ void LinkResolver::check_klass_accessibility(Klass* ref_klass, Klass* sel_klass,
if (!base_klass->is_instance_klass()) {
return; // no relevant check to do
}
-
- Reflection::VerifyClassAccessResults vca_result =
- Reflection::verify_class_access(ref_klass->newest_version(), InstanceKlass::cast(base_klass->newest_version()), true);
+ Klass* refKlassNewest = ref_klass;
+ Klass* baseKlassNewest = base_klass;
+ if (AllowEnhancedClassRedefinition) {
+ refKlassNewest = ref_klass->newest_version();
+ baseKlassNewest = base_klass->newest_version();
+ }
+ Reflection::VerifyClassAccessResults vca_result =
+ Reflection::verify_class_access(refKlassNewest, InstanceKlass::cast(baseKlassNewest), true);
if (vca_result != Reflection::ACCESS_OK) {
ResourceMark rm(THREAD);
char* msg = Reflection::verify_class_access_msg(ref_klass,
@@ -566,7 +571,8 @@ void LinkResolver::check_method_accessability(Klass* ref_klass,
// We'll check for the method name first, as that's most likely
// to be false (so we'll short-circuit out of these tests).
if (sel_method->name() == vmSymbols::clone_name() &&
- sel_klass->newest_version() == SystemDictionary::Object_klass()->newest_version() &&
+ ( !AllowEnhancedClassRedefinition && sel_klass == SystemDictionary::Object_klass() ||
+ AllowEnhancedClassRedefinition && sel_klass->newest_version() == SystemDictionary::Object_klass()->newest_version()) &&
resolved_klass->is_array_klass()) {
// We need to change "protected" to "public".
assert(flags.is_protected(), "clone not protected?");
@@ -1011,7 +1017,7 @@ void LinkResolver::resolve_field(fieldDescriptor& fd,
// or by the <init> method (in case of an instance field).
if (is_put && fd.access_flags().is_final()) {
- if (sel_klass != current_klass && sel_klass != current_klass->active_version()) {
+ if (sel_klass != current_klass && (!AllowEnhancedClassRedefinition || sel_klass != current_klass->active_version())) {
ResourceMark rm(THREAD);
stringStream ss;
ss.print("Update to %s final field %s.%s attempted from a different class (%s) than the field's declaring class",
diff --git a/src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp b/src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp
index 96fc139bea3..f7284197c5a 100644
--- a/src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp
+++ b/src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp
@@ -1471,7 +1471,7 @@ static InstanceKlass* create_new_instance_klass(InstanceKlass* ik, ClassFileStre
cld,
&cl_info,
ClassFileParser::INTERNAL, // internal visibility
- false,
+ false,
THREAD);
if (HAS_PENDING_EXCEPTION) {
log_pending_exception(PENDING_EXCEPTION);
diff --git a/src/hotspot/share/oops/instanceKlass.cpp b/src/hotspot/share/oops/instanceKlass.cpp
index 3be3a09ef8f..f8e60941046 100644
--- a/src/hotspot/share/oops/instanceKlass.cpp
+++ b/src/hotspot/share/oops/instanceKlass.cpp
@@ -199,7 +199,9 @@ bool InstanceKlass::has_nest_member(InstanceKlass* k, TRAPS) const {
// able to perform that loading but we can't exclude the compiler threads from
// executing this logic. But it should actually be impossible to trigger loading here.
Klass* k2 = _constants->klass_at(cp_index, THREAD);
- k2 = k2->newest_version();
+ if (AllowEnhancedClassRedefinition) {
+ k2 = k2->newest_version();
+ }
assert(!HAS_PENDING_EXCEPTION || PENDING_EXCEPTION->is_a(SystemDictionary::VirtualMachineError_klass()),
"Exceptions should not be possible here");
if (k2 == k) {
@@ -1003,7 +1005,7 @@ bool InstanceKlass::link_class_impl(TRAPS) {
#endif
set_init_state(linked);
// (DCEVM) Must check for old version in order to prevent infinite loops.
- if (JvmtiExport::should_post_class_prepare() && old_version() == NULL /* JVMTI deadlock otherwise */) {
+ if (JvmtiExport::should_post_class_prepare() && (!AllowEnhancedClassRedefinition || old_version() == NULL) /* JVMTI deadlock otherwise */) {
Thread *thread = THREAD;
assert(thread->is_Java_thread(), "thread->is_Java_thread()");
JvmtiExport::post_class_prepare((JavaThread *) thread, this);
@@ -1084,7 +1086,7 @@ void InstanceKlass::initialize_impl(TRAPS) {
// we might end up throwing IE from link/symbol resolution sites
// that aren't expected to throw. This would wreak havoc. See 6320309.
while ((is_being_initialized() && !is_reentrant_initialization(jt))
- || (old_version() != NULL && InstanceKlass::cast(old_version())->is_being_initialized())) {
+ || (AllowEnhancedClassRedefinition && old_version() != NULL && InstanceKlass::cast(old_version())->is_being_initialized())) {
wait = true;
jt->set_class_to_be_initialized(this);
ol.wait_uninterruptibly(jt);
@@ -3782,7 +3784,7 @@ void InstanceKlass::verify_on(outputStream* st) {
guarantee(sib->is_klass(), "should be klass");
// TODO: (DCEVM) explain
- guarantee(sib->super() == super || super->newest_version() == SystemDictionary::Object_klass(), "siblings should have same superklass");
+ guarantee(sib->super() == super || AllowEnhancedClassRedefinition && super->newest_version() == SystemDictionary::Object_klass(), "siblings should have same superklass");
}
// Verify local interfaces
diff --git a/src/hotspot/share/oops/method.cpp b/src/hotspot/share/oops/method.cpp
index ce940cf10a9..2d8e5b0256b 100644
--- a/src/hotspot/share/oops/method.cpp
+++ b/src/hotspot/share/oops/method.cpp
@@ -2208,7 +2208,7 @@ void Method::ensure_jmethod_ids(ClassLoaderData* loader_data, int capacity) {
// Add a method id to the jmethod_ids
jmethodID Method::make_jmethod_id(ClassLoaderData* loader_data, Method* m) {
// FIXME: (DCEVM) ???
- if (m != m->newest_version()) {
+ if (AllowEnhancedClassRedefinition && m != m->newest_version()) {
m = m->newest_version();
}
ClassLoaderData* cld = loader_data;
diff --git a/src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp b/src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp
index 1c7677f270f..6c12ee64a6e 100644
--- a/src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp
@@ -75,7 +75,7 @@ public:
// the new version (SystemDictionary stores only new versions). But the LoadedClassesClosure's functionality was
// changed in java8 where jvmtiLoadedClasses collects all classes from all classloaders, therefore we
// must use new versions only.
- if (k->new_version()==NULL) {
+ if (AllowEnhancedClassRedefinition && k->new_version()==NULL) {
_classStack.push((jclass) _env->jni_reference(Handle(_cur_thread, k->java_mirror())));
if (_dictionary_walk) {
// Collect array classes this way when walking the dictionary (because array classes are
diff --git a/src/hotspot/share/runtime/reflection.cpp b/src/hotspot/share/runtime/reflection.cpp
index 0e7722dba7d..d67457f02ac 100644
--- a/src/hotspot/share/runtime/reflection.cpp
+++ b/src/hotspot/share/runtime/reflection.cpp
@@ -628,7 +628,7 @@ bool Reflection::verify_member_access(const Klass* current_class,
TRAPS) {
// (DCEVM) Decide accessibility based on active version
- if (current_class != NULL) {
+ if (AllowEnhancedClassRedefinition && current_class != NULL) {
current_class = current_class->active_version();
}
--
2.23.0

View File

@@ -0,0 +1,26 @@
From dc675de6ac42819b8536827ea450fcad13a97448 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Wed, 11 Nov 2020 18:45:15 +0100
Subject: [PATCH 16/34] Fix LoadedClassesClosure - fixes problems with remote
debugging
---
src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp b/src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp
index 6c12ee64a6e..2a469555dbd 100644
--- a/src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp
@@ -75,7 +75,7 @@ public:
// the new version (SystemDictionary stores only new versions). But the LoadedClassesClosure's functionality was
// changed in java8 where jvmtiLoadedClasses collects all classes from all classloaders, therefore we
// must use new versions only.
- if (AllowEnhancedClassRedefinition && k->new_version()==NULL) {
+ if (!AllowEnhancedClassRedefinition || k->new_version()==NULL) {
_classStack.push((jclass) _env->jni_reference(Handle(_cur_thread, k->java_mirror())));
if (_dictionary_walk) {
// Collect array classes this way when walking the dictionary (because array classes are
--
2.23.0

View File

@@ -0,0 +1,183 @@
From 1d682efa88c716e1849163d5abff3a3367581d16 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Mon, 16 Nov 2020 21:11:19 +0100
Subject: [PATCH 18/34] pre dcevm15 - fix GC spaces originally in removed CMS
patch
---
src/hotspot/share/gc/shared/space.cpp | 16 ++++++++--------
src/hotspot/share/gc/shared/space.hpp | 6 +++---
src/hotspot/share/gc/shared/space.inline.hpp | 14 ++++++++------
.../share/prims/jvmtiEnhancedRedefineClasses.cpp | 6 ++----
4 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/src/hotspot/share/gc/shared/space.cpp b/src/hotspot/share/gc/shared/space.cpp
index 875a6dc854f..9772c32c42e 100644
--- a/src/hotspot/share/gc/shared/space.cpp
+++ b/src/hotspot/share/gc/shared/space.cpp
@@ -375,11 +375,11 @@ HeapWord* CompactibleSpace::forward_compact_top(size_t size, CompactPoint* cp, H
}
HeapWord* CompactibleSpace::forward(oop q, size_t size,
- CompactPoint* cp, HeapWord* compact_top) {
+ CompactPoint* cp, HeapWord* compact_top, bool force_forward) {
compact_top = forward_compact_top(size, cp, compact_top);
// store the forwarding pointer into the mark word
- if (cast_from_oop<HeapWord*>(q) != compact_top || (size_t)q->size() != size) {
+ if (force_forward || cast_from_oop<HeapWord*>(q) != compact_top || (size_t)q->size() != size) {
q->forward_to(oop(compact_top));
assert(q->is_gc_marked(), "encoding the pointer should preserve the mark");
} else {
@@ -501,7 +501,7 @@ bool CompactibleSpace::must_rescue(oop old_obj, oop new_obj) {
} else {
assert(space_index(old_obj) != space_index(new_obj), "old_obj and new_obj must be in different spaces");
- if (tenured_gen->is_in_reserved(new_obj)) {
+ if (new_in_tenured) {
// Must never rescue when moving from the new into the old generation.
assert(GenCollectedHeap::heap()->young_gen()->is_in_reserved(old_obj), "old_obj must be in DefNewGeneration");
assert(space_index(old_obj) > space_index(new_obj), "must be");
@@ -824,14 +824,14 @@ void OffsetTableContigSpace::verify() const {
// Compute the forward sizes and leave out objects whose position could
// possibly overlap other objects.
HeapWord* CompactibleSpace::forward_with_rescue(HeapWord* q, size_t size,
- CompactPoint* cp, HeapWord* compact_top) {
+ CompactPoint* cp, HeapWord* compact_top, bool force_forward) {
size_t forward_size = size;
// (DCEVM) There is a new version of the class of q => different size
if (oop(q)->klass()->new_version() != NULL) {
size_t new_size = oop(q)->size_given_klass(oop(q)->klass()->new_version());
- assert(size != new_size, "instances without changed size have to be updated prior to GC run");
+ // assert(size != new_size, "instances without changed size have to be updated prior to GC run");
forward_size = new_size;
}
@@ -845,7 +845,7 @@ HeapWord* CompactibleSpace::forward_with_rescue(HeapWord* q, size_t size,
return compact_top;
}
- return forward(oop(q), forward_size, cp, compact_top);
+ return forward(oop(q), forward_size, cp, compact_top, force_forward);
}
// Compute the forwarding addresses for the objects that need to be rescued.
@@ -861,11 +861,11 @@ HeapWord* CompactibleSpace::forward_rescued(CompactPoint* cp, HeapWord* compact_
// (DCEVM) There is a new version of the class of q => different size
if (oop(q)->klass()->new_version() != NULL) {
size_t new_size = oop(q)->size_given_klass(oop(q)->klass()->new_version());
- assert(size != new_size, "instances without changed size have to be updated prior to GC run");
+ // assert(size != new_size, "instances without changed size have to be updated prior to GC run");
size = new_size;
}
- compact_top = cp->space->forward(oop(q), size, cp, compact_top);
+ compact_top = cp->space->forward(oop(q), size, cp, compact_top, true);
assert(compact_top <= end(), "must not write over end of space!");
}
MarkSweep::_rescued_oops->clear();
diff --git a/src/hotspot/share/gc/shared/space.hpp b/src/hotspot/share/gc/shared/space.hpp
index c9bfc365f0f..f7648995454 100644
--- a/src/hotspot/share/gc/shared/space.hpp
+++ b/src/hotspot/share/gc/shared/space.hpp
@@ -405,7 +405,7 @@ public:
virtual void prepare_for_compaction(CompactPoint* cp) = 0;
// MarkSweep support phase3
DEBUG_ONLY(int space_index(oop obj));
- bool must_rescue(oop old_obj, oop new_obj);
+ virtual bool must_rescue(oop old_obj, oop new_obj);
HeapWord* rescue(HeapWord* old_obj);
virtual void adjust_pointers();
// MarkSweep support phase4
@@ -436,11 +436,11 @@ public:
// function of the then-current compaction space, and updates "cp->threshold
// accordingly".
virtual HeapWord* forward(oop q, size_t size, CompactPoint* cp,
- HeapWord* compact_top);
+ HeapWord* compact_top, bool force_forward);
// (DCEVM) same as forwad, but can rescue objects. Invoked only during
// redefinition runs
HeapWord* forward_with_rescue(HeapWord* q, size_t size, CompactPoint* cp,
- HeapWord* compact_top);
+ HeapWord* compact_top, bool force_forward);
HeapWord* forward_rescued(CompactPoint* cp, HeapWord* compact_top);
diff --git a/src/hotspot/share/gc/shared/space.inline.hpp b/src/hotspot/share/gc/shared/space.inline.hpp
index 5a93e93471b..fa645423685 100644
--- a/src/hotspot/share/gc/shared/space.inline.hpp
+++ b/src/hotspot/share/gc/shared/space.inline.hpp
@@ -163,6 +163,8 @@ inline void CompactibleSpace::scan_and_forward(SpaceType* space, CompactPoint* c
HeapWord* cur_obj = space->bottom();
HeapWord* scan_limit = space->scan_limit();
+ bool force_forward = false;
+
while (cur_obj < scan_limit) {
assert(!space->scanned_block_is_obj(cur_obj) ||
oop(cur_obj)->mark_raw().is_marked() || oop(cur_obj)->mark_raw().is_unlocked() ||
@@ -174,14 +176,15 @@ inline void CompactibleSpace::scan_and_forward(SpaceType* space, CompactPoint* c
size_t size = space->scanned_block_size(cur_obj);
if (redefinition_run) {
- compact_top = cp->space->forward_with_rescue(cur_obj, size, cp, compact_top);
+ compact_top = cp->space->forward_with_rescue(cur_obj, size, cp, compact_top, force_forward);
if (first_dead == NULL && oop(cur_obj)->is_gc_marked()) {
/* Was moved (otherwise, forward would reset mark),
set first_dead to here */
first_dead = cur_obj;
+ force_forward = true;
}
} else {
- compact_top = cp->space->forward(oop(cur_obj), size, cp, compact_top);
+ compact_top = cp->space->forward(oop(cur_obj), size, cp, compact_top, false);
}
cur_obj += size;
@@ -197,9 +200,9 @@ inline void CompactibleSpace::scan_and_forward(SpaceType* space, CompactPoint* c
// see if we might want to pretend this object is alive so that
// we don't have to compact quite as often.
- if (cur_obj == compact_top && dead_spacer.insert_deadspace(cur_obj, end)) {
+ if (!redefinition_run && cur_obj == compact_top && dead_spacer.insert_deadspace(cur_obj, end)) {
oop obj = oop(cur_obj);
- compact_top = cp->space->forward(obj, obj->size(), cp, compact_top);
+ compact_top = cp->space->forward(obj, obj->size(), cp, compact_top, force_forward);
end_of_live = end;
} else {
// otherwise, it really is a free region.
@@ -362,8 +365,7 @@ inline void CompactibleSpace::scan_and_compact(SpaceType* space, bool redefiniti
Prefetch::write(compaction_top, copy_interval);
// copy object and reinit its mark
- assert(cur_obj != compaction_top || oop(cur_obj)->klass()->new_version() != NULL,
- "everything in this pass should be moving");
+ assert(redefinition_run || cur_obj != compaction_top, "everything in this pass should be moving");
if (redefinition_run && oop(cur_obj)->klass()->new_version() != NULL) {
Klass* new_version = oop(cur_obj)->klass()->new_version();
if (new_version->update_information() == NULL) {
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 718426f2819..1da6661dd3e 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -431,13 +431,11 @@ public:
Klass* new_klass = obj->klass()->new_version();
if (new_klass->update_information() != NULL) {
- int size_diff = obj->size() - obj->size_given_klass(new_klass);
-
- // Either new size is bigger or gap is to small to be filled
- if (size_diff < 0 || (size_diff > 0 && (size_t) size_diff < CollectedHeap::min_fill_size())) {
+ if (obj->size() - obj->size_given_klass(new_klass) != 0) {
// We need an instance update => set back to old klass
_needs_instance_update = true;
} else {
+ // Either new size is bigger or gap is to small to be filled
oop src = obj;
if (new_klass->is_copying_backwards()) {
copy_to_tmp(obj);
--
2.23.0

View File

@@ -0,0 +1,942 @@
From 297f564f6af79fb824f5b4e9119f1d3d0c827fb0 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Mon, 16 Nov 2020 20:20:12 +0100
Subject: [PATCH 19/34] dcevm15 - fix java15 patch compilation issues
---
.../share/classfile/classFileParser.hpp | 8 +-
.../share/classfile/classLoaderData.cpp | 2 +-
src/hotspot/share/classfile/dictionary.hpp | 10 +-
src/hotspot/share/classfile/javaClasses.hpp | 2 +
.../share/gc/g1/g1FullGCCompactTask.cpp | 4 +-
.../share/gc/g1/g1FullGCCompactionPoint.cpp | 8 +-
.../share/gc/g1/g1FullGCPrepareTask.cpp | 4 +-
src/hotspot/share/gc/shared/dcevmSharedGC.cpp | 14 +-
src/hotspot/share/gc/shared/dcevmSharedGC.hpp | 2 +-
src/hotspot/share/gc/shared/gcConfig.cpp | 2 +-
src/hotspot/share/gc/shared/space.cpp | 4 +-
.../share/interpreter/linkResolver.cpp | 2 +-
src/hotspot/share/oops/instanceKlass.cpp | 17 ++-
src/hotspot/share/oops/instanceKlass.hpp | 1 +
src/hotspot/share/oops/klass.cpp | 8 +-
src/hotspot/share/prims/jvm.cpp | 2 +
.../prims/jvmtiEnhancedRedefineClasses.cpp | 129 +++++++++---------
.../prims/jvmtiEnhancedRedefineClasses.hpp | 14 +-
src/hotspot/share/prims/jvmtiEnv.cpp | 11 +-
.../share/prims/jvmtiRedefineClasses.cpp | 1 +
src/hotspot/share/prims/methodHandles.hpp | 3 +
src/hotspot/share/runtime/arguments.cpp | 22 +--
src/hotspot/share/runtime/mutexLocker.cpp | 2 +-
23 files changed, 159 insertions(+), 113 deletions(-)
diff --git a/src/hotspot/share/classfile/classFileParser.hpp b/src/hotspot/share/classfile/classFileParser.hpp
index e5761e61767..0d266b9047e 100644
--- a/src/hotspot/share/classfile/classFileParser.hpp
+++ b/src/hotspot/share/classfile/classFileParser.hpp
@@ -150,9 +150,6 @@ class ClassFileParser {
const intArray* _method_ordering;
GrowableArray<Method*>* _all_mirandas;
- // Enhanced class redefinition
- const bool _pick_newest;
-
enum { fixed_buffer_size = 128 };
u_char _linenumbertable_buffer[fixed_buffer_size];
@@ -206,6 +203,9 @@ class ClassFileParser {
bool _has_vanilla_constructor;
int _max_bootstrap_specifier_index; // detects BSS values
+ // (DCEVM) Enhanced class redefinition
+ const bool _pick_newest;
+
void parse_stream(const ClassFileStream* const stream, TRAPS);
void mangle_hidden_class_name(InstanceKlass* const ik);
@@ -582,7 +582,7 @@ class ClassFileParser {
ClassLoaderData* loader_data() const { return _loader_data; }
const Symbol* class_name() const { return _class_name; }
const InstanceKlass* super_klass() const { return _super_klass; }
- Array<Klass*>* local_interfaces() const { return _local_interfaces; }
+ Array<InstanceKlass*>* local_interfaces() const { return _local_interfaces; }
ReferenceType reference_type() const { return _rt; }
AccessFlags access_flags() const { return _access_flags; }
diff --git a/src/hotspot/share/classfile/classLoaderData.cpp b/src/hotspot/share/classfile/classLoaderData.cpp
index 4d64c6b454a..aadcd50ef4a 100644
--- a/src/hotspot/share/classfile/classLoaderData.cpp
+++ b/src/hotspot/share/classfile/classLoaderData.cpp
@@ -597,7 +597,7 @@ void ClassLoaderData::exchange_holders(ClassLoaderData* cld) {
oop holder_oop = _holder.peek();
_holder.replace(cld->_holder.peek());
cld->_holder.replace(holder_oop);
- WeakHandle<vm_class_loader_data> exchange = _holder;
+ WeakHandle<vm_weak_data> exchange = _holder;
_holder = cld->_holder;
cld->_holder = exchange;
}
diff --git a/src/hotspot/share/classfile/dictionary.hpp b/src/hotspot/share/classfile/dictionary.hpp
index 114a983e783..a50f4ff84d2 100644
--- a/src/hotspot/share/classfile/dictionary.hpp
+++ b/src/hotspot/share/classfile/dictionary.hpp
@@ -84,6 +84,11 @@ public:
void print_on(outputStream* st) const;
void verify();
+ // (DCEVM) Enhanced class redefinition
+ bool update_klass(unsigned int hash, Symbol* name, ClassLoaderData* loader_data, InstanceKlass* k, InstanceKlass* old_klass);
+
+ void rollback_redefinition();
+
private:
DictionaryEntry* new_entry(unsigned int hash, InstanceKlass* klass);
@@ -106,11 +111,6 @@ public:
void free_entry(DictionaryEntry* entry);
- // Enhanced class redefinition
- bool update_klass(unsigned int hash, Symbol* name, ClassLoaderData* loader_data, InstanceKlass* k, InstanceKlass* old_klass);
-
- void rollback_redefinition();
-
// (DCEVM) return old class if redefining in AllowEnhancedClassRedefinition, otherwise return "k"
static InstanceKlass* old_if_redefined(InstanceKlass* k) {
return (k != NULL && k->is_redefining()) ? ((InstanceKlass* )k->old_version()) : k;
diff --git a/src/hotspot/share/classfile/javaClasses.hpp b/src/hotspot/share/classfile/javaClasses.hpp
index a68c5139151..9abf2e1d105 100644
--- a/src/hotspot/share/classfile/javaClasses.hpp
+++ b/src/hotspot/share/classfile/javaClasses.hpp
@@ -255,7 +255,9 @@ class java_lang_Class : AllStatic {
static void set_init_lock(oop java_class, oop init_lock);
static void set_protection_domain(oop java_class, oop protection_domain);
static void set_class_loader(oop java_class, oop class_loader);
+ public: // DCEVM
static void set_component_mirror(oop java_class, oop comp_mirror);
+ private:
static void initialize_mirror_fields(Klass* k, Handle mirror, Handle protection_domain,
Handle classData, TRAPS);
static void initialize_mirror_fields(Klass* k, Handle mirror, Handle protection_domain, TRAPS);
diff --git a/src/hotspot/share/gc/g1/g1FullGCCompactTask.cpp b/src/hotspot/share/gc/g1/g1FullGCCompactTask.cpp
index f70f4606dc8..a22ed48560d 100644
--- a/src/hotspot/share/gc/g1/g1FullGCCompactTask.cpp
+++ b/src/hotspot/share/gc/g1/g1FullGCCompactTask.cpp
@@ -157,14 +157,14 @@ void G1FullGCCompactTask::serial_compaction_dcevm() {
size_t G1FullGCCompactTask::G1CompactRegionClosureDcevm::apply(oop obj) {
size_t size = obj->size();
- HeapWord* destination = (HeapWord*)obj->forwardee();
+ HeapWord* destination = cast_from_oop<HeapWord*>(obj->forwardee());
if (destination == NULL) {
// Object not moving
return size;
}
// copy object and reinit its mark
- HeapWord* obj_addr = (HeapWord*) obj;
+ HeapWord* obj_addr = cast_from_oop<HeapWord*>(obj);
if (!_rescue_oops_it->at_end() && **_rescue_oops_it == obj_addr) {
++(*_rescue_oops_it);
diff --git a/src/hotspot/share/gc/g1/g1FullGCCompactionPoint.cpp b/src/hotspot/share/gc/g1/g1FullGCCompactionPoint.cpp
index 1e49571c999..755935a2c91 100644
--- a/src/hotspot/share/gc/g1/g1FullGCCompactionPoint.cpp
+++ b/src/hotspot/share/gc/g1/g1FullGCCompactionPoint.cpp
@@ -174,7 +174,7 @@ void G1FullGCCompactionPoint::forward_dcevm(oop object, size_t size, bool force_
assert(_current_region != NULL, "Must have been initialized");
// Store a forwarding pointer if the object should be moved.
- if ((HeapWord*)object != _compaction_top || force_forward) {
+ if (cast_from_oop<HeapWord*>(object) != _compaction_top || force_forward) {
object->forward_to(oop(_compaction_top));
} else {
if (object->forwardee() != NULL) {
@@ -188,11 +188,11 @@ void G1FullGCCompactionPoint::forward_dcevm(oop object, size_t size, bool force_
} else {
// Make sure object has the correct mark-word set or that it will be
// fixed when restoring the preserved marks.
- assert(object->mark_raw() == markOopDesc::prototype_for_object(object) || // Correct mark
- object->mark_raw()->must_be_preserved(object) || // Will be restored by PreservedMarksSet
+ assert(object->mark_raw() == markWord::prototype_for_klass(object->klass()) || // Correct mark
+ object->mark_must_be_preserved() || // Will be restored by PreservedMarksSet
(UseBiasedLocking && object->has_bias_pattern_raw()), // Will be restored by BiasedLocking
"should have correct prototype obj: " PTR_FORMAT " mark: " PTR_FORMAT " prototype: " PTR_FORMAT,
- p2i(object), p2i(object->mark_raw()), p2i(markOopDesc::prototype_for_object(object)));
+ p2i(object), object->mark_raw().value(), markWord::prototype_for_klass(object->klass()).value());
}
assert(object->forwardee() == NULL, "should be forwarded to NULL");
}
diff --git a/src/hotspot/share/gc/g1/g1FullGCPrepareTask.cpp b/src/hotspot/share/gc/g1/g1FullGCPrepareTask.cpp
index a45681b60cf..2f06b9617e4 100644
--- a/src/hotspot/share/gc/g1/g1FullGCPrepareTask.cpp
+++ b/src/hotspot/share/gc/g1/g1FullGCPrepareTask.cpp
@@ -269,7 +269,7 @@ size_t G1FullGCPrepareTask::G1PrepareCompactLiveClosureDcevm::apply(oop object)
HeapWord* compact_top = _cp->forward_compact_top(forward_size);
if (compact_top == NULL || must_rescue(object, oop(compact_top))) {
- _cp->rescued_oops()->append((HeapWord*)object);
+ _cp->rescued_oops()->append(cast_from_oop<HeapWord*>(object));
} else {
_cp->forward_dcevm(object, forward_size, (size != forward_size));
}
@@ -295,7 +295,7 @@ bool G1FullGCPrepareTask::G1PrepareCompactLiveClosureDcevm::must_rescue(oop old_
int new_size = old_obj->size_given_klass(oop(old_obj)->klass()->new_version());
int original_size = old_obj->size();
- bool overlap = ((HeapWord*)old_obj + original_size < (HeapWord*)new_obj + new_size);
+ bool overlap = (cast_from_oop<HeapWord*>(old_obj) + original_size < cast_from_oop<HeapWord*>(new_obj) + new_size);
return overlap;
}
diff --git a/src/hotspot/share/gc/shared/dcevmSharedGC.cpp b/src/hotspot/share/gc/shared/dcevmSharedGC.cpp
index 803e645f843..3dee097f1d3 100644
--- a/src/hotspot/share/gc/shared/dcevmSharedGC.cpp
+++ b/src/hotspot/share/gc/shared/dcevmSharedGC.cpp
@@ -58,10 +58,10 @@ void DcevmSharedGC::copy_rescued_objects_back(GrowableArray<HeapWord*>* rescued_
DcevmSharedGC::update_fields(rescued_obj, new_obj);
} else {
rescued_obj->set_klass(new_klass);
- Copy::aligned_disjoint_words((HeapWord*)rescued_obj, (HeapWord*)new_obj, size);
+ Copy::aligned_disjoint_words(cast_from_oop<HeapWord*>(rescued_obj), cast_from_oop<HeapWord*>(new_obj), size);
}
} else {
- Copy::aligned_disjoint_words((HeapWord*)rescued_obj, (HeapWord*)new_obj, size);
+ Copy::aligned_disjoint_words(cast_from_oop<HeapWord*>(rescued_obj), cast_from_oop<HeapWord*>(new_obj), size);
}
new_obj->init_mark_raw();
@@ -111,11 +111,11 @@ void DcevmSharedGC::update_fields(oop q, oop new_location) {
// Save object somewhere, there is an overlap in fields
if (new_klass_oop->is_copying_backwards()) {
- if (((HeapWord *)q >= (HeapWord *)new_location && (HeapWord *)q < (HeapWord *)new_location + new_size) ||
- ((HeapWord *)new_location >= (HeapWord *)q && (HeapWord *)new_location < (HeapWord *)q + size)) {
+ if ((cast_from_oop<HeapWord*>(q) >= cast_from_oop<HeapWord*>(new_location) && cast_from_oop<HeapWord*>(q) < cast_from_oop<HeapWord*>(new_location) + new_size) ||
+ (cast_from_oop<HeapWord*>(new_location) >= cast_from_oop<HeapWord*>(q) && cast_from_oop<HeapWord*>(new_location) < cast_from_oop<HeapWord*>(q) + size)) {
tmp = NEW_RESOURCE_ARRAY(HeapWord, size);
q = (oop) tmp;
- Copy::aligned_disjoint_words((HeapWord*)tmp_obj, (HeapWord*)q, size);
+ Copy::aligned_disjoint_words(cast_from_oop<HeapWord*>(tmp_obj), cast_from_oop<HeapWord*>(q), size);
}
}
@@ -131,13 +131,13 @@ void DcevmSharedGC::update_fields(oop q, oop new_location) {
void DcevmSharedGC::update_fields(oop new_location, oop tmp_obj, int *cur) {
assert(cur != NULL, "just checking");
- char* to = (char*)(HeapWord*)new_location;
+ char* to = (char*)cast_from_oop<HeapWord*>(new_location);
while (*cur != 0) {
int size = *cur;
if (size > 0) {
cur++;
int offset = *cur;
- HeapWord* from = (HeapWord*)(((char *)(HeapWord*)tmp_obj) + offset);
+ HeapWord* from = (HeapWord*)(((char *)cast_from_oop<HeapWord*>(tmp_obj)) + offset);
if (size == HeapWordSize) {
*((HeapWord*)to) = *from;
} else if (size == HeapWordSize * 2) {
diff --git a/src/hotspot/share/gc/shared/dcevmSharedGC.hpp b/src/hotspot/share/gc/shared/dcevmSharedGC.hpp
index e2ef0171fb2..a4e27e00280 100644
--- a/src/hotspot/share/gc/shared/dcevmSharedGC.hpp
+++ b/src/hotspot/share/gc/shared/dcevmSharedGC.hpp
@@ -29,7 +29,7 @@
#include "gc/shared/genOopClosures.hpp"
#include "gc/shared/taskqueue.hpp"
#include "memory/iterator.hpp"
-#include "oops/markOop.hpp"
+#include "oops/markWord.hpp"
#include "oops/oop.hpp"
#include "runtime/timer.hpp"
#include "utilities/growableArray.hpp"
diff --git a/src/hotspot/share/gc/shared/gcConfig.cpp b/src/hotspot/share/gc/shared/gcConfig.cpp
index f01d64d1434..5c1a09390f1 100644
--- a/src/hotspot/share/gc/shared/gcConfig.cpp
+++ b/src/hotspot/share/gc/shared/gcConfig.cpp
@@ -100,7 +100,7 @@ void GCConfig::fail_if_non_included_gc_is_selected() {
void GCConfig::select_gc_ergonomically() {
if (AllowEnhancedClassRedefinition && !UseG1GC) {
// Enhanced class redefinition only supports serial GC at the moment
- FLAG_SET_ERGO(bool, UseSerialGC, true);
+ FLAG_SET_ERGO(UseSerialGC, true);
} else if (os::is_server_class_machine()) {
#if INCLUDE_G1GC
FLAG_SET_ERGO_IF_DEFAULT(UseG1GC, true);
diff --git a/src/hotspot/share/gc/shared/space.cpp b/src/hotspot/share/gc/shared/space.cpp
index 9772c32c42e..e8e3d7884c2 100644
--- a/src/hotspot/share/gc/shared/space.cpp
+++ b/src/hotspot/share/gc/shared/space.cpp
@@ -440,7 +440,7 @@ int CompactibleSpace::space_index(oop obj) {
index++;
}
- tty->print_cr("could not compute space_index for %08xh", (HeapWord*)obj);
+ tty->print_cr("could not compute space_index for %08xh", cast_from_oop<HeapWord*>(obj));
index = 0;
Generation* gen = heap->old_gen();
@@ -485,7 +485,7 @@ bool CompactibleSpace::must_rescue(oop old_obj, oop new_obj) {
bool new_in_tenured = tenured_gen->is_in_reserved(new_obj);
if (old_in_tenured == new_in_tenured) {
// Rescue if object may overlap with a higher memory address.
- bool overlap = ((HeapWord*)old_obj + original_size < (HeapWord*)new_obj + new_size);
+ bool overlap = (cast_from_oop<HeapWord*>(old_obj) + original_size < cast_from_oop<HeapWord*>(new_obj) + new_size);
if (old_in_tenured) {
// Old and new address are in same space, so just compare the address.
// Must rescue if object moves towards the top of the space.
diff --git a/src/hotspot/share/interpreter/linkResolver.cpp b/src/hotspot/share/interpreter/linkResolver.cpp
index b2f24ddbeda..9daeeb70b34 100644
--- a/src/hotspot/share/interpreter/linkResolver.cpp
+++ b/src/hotspot/share/interpreter/linkResolver.cpp
@@ -1031,7 +1031,7 @@ void LinkResolver::resolve_field(fieldDescriptor& fd,
assert(m != NULL, "information about the current method must be available for 'put' bytecodes");
bool is_initialized_static_final_update = (byte == Bytecodes::_putstatic &&
fd.is_static() &&
- !(m()->is_static_initializer() || m()->name() == vmSymbols::ha_class_initializer_name()));
+ !(m->is_static_initializer() || m->name() == vmSymbols::ha_class_initializer_name()));
bool is_initialized_instance_final_update = ((byte == Bytecodes::_putfield || byte == Bytecodes::_nofast_putfield) &&
!fd.is_static() &&
!m->is_object_initializer());
diff --git a/src/hotspot/share/oops/instanceKlass.cpp b/src/hotspot/share/oops/instanceKlass.cpp
index f8e60941046..5e40d78a87e 100644
--- a/src/hotspot/share/oops/instanceKlass.cpp
+++ b/src/hotspot/share/oops/instanceKlass.cpp
@@ -1316,7 +1316,7 @@ void InstanceKlass::init_implementor() {
// (DCEVM) - init_implementor() for dcevm
void InstanceKlass::init_implementor_from_redefine() {
assert(is_interface(), "not interface");
- Klass** addr = adr_implementor();
+ Klass* volatile* addr = adr_implementor();
assert(addr != NULL, "null addr");
if (addr != NULL) {
*addr = NULL;
@@ -1659,6 +1659,21 @@ void InstanceKlass::methods_do(void f(Method* method)) {
}
}
+void InstanceKlass::methods_do(void f(Method* method, TRAPS), TRAPS) {
+ // Methods aren't stable until they are loaded. This can be read outside
+ // a lock through the ClassLoaderData for profiling
+ if (!is_loaded()) {
+ return;
+ }
+
+ int len = methods()->length();
+ for (int index = 0; index < len; index++) {
+ Method* m = methods()->at(index);
+ assert(m->is_method(), "must be method");
+ f(m, CHECK);
+ }
+}
+
// (DCEVM) Update information contains mapping of fields from old class to the new class.
// Info is stored on HEAP, you need to call clear_update_information to free the space.
void InstanceKlass::store_update_information(GrowableArray<int> &values) {
diff --git a/src/hotspot/share/oops/instanceKlass.hpp b/src/hotspot/share/oops/instanceKlass.hpp
index 6ead9426728..b56d42cb177 100644
--- a/src/hotspot/share/oops/instanceKlass.hpp
+++ b/src/hotspot/share/oops/instanceKlass.hpp
@@ -1069,6 +1069,7 @@ public:
void clear_update_information();
void methods_do(void f(Method* method));
+ void methods_do(void f(Method* method, TRAPS), TRAPS);
void array_klasses_do(void f(Klass* k));
void array_klasses_do(void f(Klass* k, TRAPS), TRAPS);
diff --git a/src/hotspot/share/oops/klass.cpp b/src/hotspot/share/oops/klass.cpp
index 352d8f84631..88f5ec9ba4a 100644
--- a/src/hotspot/share/oops/klass.cpp
+++ b/src/hotspot/share/oops/klass.cpp
@@ -200,13 +200,13 @@ void* Klass::operator new(size_t size, ClassLoaderData* loader_data, size_t word
Klass::Klass(KlassID id) : _id(id),
_java_mirror(NULL),
_prototype_header(markWord::prototype()),
- _shared_class_path_index(-1),
- _new_version(NULL),
_old_version(NULL),
+ _new_version(NULL),
+ _redefinition_flags(Klass::NoRedefinition),
_is_redefining(false),
+ _update_information(NULL),
_is_copying_backwards(false),
- _redefinition_flags(Klass::NoRedefinition),
- _update_information(NULL) {
+ _shared_class_path_index(-1) {
CDS_ONLY(_shared_class_flags = 0;)
CDS_JAVA_HEAP_ONLY(_archived_mirror = 0;)
_primary_supers[0] = this;
diff --git a/src/hotspot/share/prims/jvm.cpp b/src/hotspot/share/prims/jvm.cpp
index 333b65ccfc1..13bcac352fb 100644
--- a/src/hotspot/share/prims/jvm.cpp
+++ b/src/hotspot/share/prims/jvm.cpp
@@ -1054,6 +1054,7 @@ static jclass jvm_lookup_define_class(JNIEnv *env, jclass lookup, const char *na
class_loader,
protection_domain,
&st,
+ NULL,
CHECK_NULL);
if (log_is_enabled(Debug, class, resolve) && defined_k != NULL) {
@@ -1074,6 +1075,7 @@ static jclass jvm_lookup_define_class(JNIEnv *env, jclass lookup, const char *na
class_loader,
&st,
cl_info,
+ NULL,
CHECK_NULL);
if (defined_k == NULL) {
THROW_MSG_0(vmSymbols::java_lang_Error(), "Failure to define a hidden class");
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 1da6661dd3e..619e3988e3a 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -24,11 +24,14 @@
#include "precompiled.hpp"
#include "aot/aotLoader.hpp"
+#include "classfile/classFileParser.hpp"
#include "classfile/classFileStream.hpp"
#include "classfile/metadataOnStackMark.hpp"
#include "classfile/systemDictionary.hpp"
#include "classfile/verifier.hpp"
#include "classfile/dictionary.hpp"
+#include "classfile/classLoaderDataGraph.hpp"
+#include "interpreter/linkResolver.hpp"
#include "interpreter/oopMapCache.hpp"
#include "interpreter/rewriter.hpp"
#include "logging/logStream.hpp"
@@ -37,17 +40,22 @@
#include "memory/resourceArea.hpp"
#include "memory/iterator.inline.hpp"
#include "oops/fieldStreams.hpp"
+#include "oops/fieldStreams.inline.hpp"
#include "oops/klassVtable.hpp"
#include "oops/oop.inline.hpp"
#include "oops/constantPool.inline.hpp"
+#include "oops/metadata.hpp"
+#include "oops/methodData.hpp"
#include "prims/jvmtiImpl.hpp"
#include "prims/jvmtiClassFileReconstituter.hpp"
#include "prims/jvmtiEnhancedRedefineClasses.hpp"
#include "prims/methodComparator.hpp"
#include "prims/resolvedMethodTable.hpp"
+#include "prims/methodHandles.hpp"
#include "runtime/deoptimization.hpp"
#include "runtime/jniHandles.inline.hpp"
#include "runtime/relocator.hpp"
+#include "runtime/fieldDescriptor.hpp"
#include "runtime/fieldDescriptor.inline.hpp"
#include "utilities/bitMap.inline.hpp"
#include "prims/jvmtiThreadState.inline.hpp"
@@ -55,6 +63,8 @@
#include "oops/constantPool.inline.hpp"
#include "gc/g1/g1CollectedHeap.hpp"
#include "gc/shared/dcevmSharedGC.hpp"
+#include "gc/shared/scavengableNMethods.hpp"
+#include "ci/ciObjectFactory.hpp"
Array<Method*>* VM_EnhancedRedefineClasses::_old_methods = NULL;
Array<Method*>* VM_EnhancedRedefineClasses::_new_methods = NULL;
@@ -66,6 +76,7 @@ int VM_EnhancedRedefineClasses::_matching_methods_length = 0;
int VM_EnhancedRedefineClasses::_deleted_methods_length = 0;
int VM_EnhancedRedefineClasses::_added_methods_length = 0;
Klass* VM_EnhancedRedefineClasses::_the_class_oop = NULL;
+u8 VM_EnhancedRedefineClasses::_id_counter = 0;
//
// Create new instance of enhanced class redefiner.
@@ -88,6 +99,7 @@ VM_EnhancedRedefineClasses::VM_EnhancedRedefineClasses(jint class_count, const j
_class_load_kind = class_load_kind;
_res = JVMTI_ERROR_NONE;
_any_class_has_resolved_methods = false;
+ _id = next_id();
}
static inline InstanceKlass* get_ik(jclass def) {
@@ -211,9 +223,7 @@ class FieldCopier : public FieldClosure {
// TODO: review...
void VM_EnhancedRedefineClasses::mark_as_scavengable(nmethod* nm) {
- if (!nm->on_scavenge_root_list()) {
- CodeCache::add_scavenge_root_nmethod(nm);
- }
+ ScavengableNMethods::register_nmethod(nm);
}
void VM_EnhancedRedefineClasses::unregister_nmethod_g1(nmethod* nm) {
@@ -414,7 +424,7 @@ public:
_tmp_obj_size = size;
_tmp_obj = (oop)resource_allocate_bytes(size * HeapWordSize);
}
- Copy::aligned_disjoint_words((HeapWord*)o, (HeapWord*)_tmp_obj, size);
+ Copy::aligned_disjoint_words(cast_from_oop<HeapWord*>(o), cast_from_oop<HeapWord*>(_tmp_obj), size);
}
virtual void do_object(oop obj) {
@@ -505,9 +515,6 @@ void VM_EnhancedRedefineClasses::doit() {
ClearCpoolCacheAndUnpatch clear_cpool_cache(thread);
ClassLoaderDataGraph::classes_do(&clear_cpool_cache);
-
- // SystemDictionary::methods_do(fix_invoke_method);
-
// JSR-292 support
if (_any_class_has_resolved_methods) {
bool trace_name_printed = false;
@@ -564,8 +571,8 @@ void VM_EnhancedRedefineClasses::doit() {
InstanceKlass* old = InstanceKlass::cast(cur->old_version());
// Swap marks to have same hashcodes
- markOop cur_mark = cur->prototype_header();
- markOop old_mark = old->prototype_header();
+ markWord cur_mark = cur->prototype_header();
+ markWord old_mark = old->prototype_header();
cur->set_prototype_header(old_mark);
old->set_prototype_header(cur_mark);
@@ -579,14 +586,14 @@ void VM_EnhancedRedefineClasses::doit() {
// Revert pool holder for old version of klass (it was updated by one of ours closure!)
old->constants()->set_pool_holder(old);
- Klass* array_klasses = old->array_klasses();
+ ObjArrayKlass* array_klasses = old->array_klasses();
if (array_klasses != NULL) {
assert(cur->array_klasses() == NULL, "just checking");
// Transfer the array classes, otherwise we might get cast exceptions when casting array types.
// Also, set array klasses element klass.
cur->set_array_klasses(array_klasses);
- ObjArrayKlass::cast(array_klasses)->set_element_klass(cur);
+ array_klasses->set_element_klass(cur);
java_lang_Class::release_set_array_klass(cur->java_mirror(), array_klasses);
java_lang_Class::set_component_mirror(array_klasses->java_mirror(), cur->java_mirror());
}
@@ -641,11 +648,15 @@ void VM_EnhancedRedefineClasses::doit() {
//ClassLoaderDataGraph::classes_do(&clean_weak_method_links);
// Disable any dependent concurrent compilations
- SystemDictionary::notice_modification();
+ // SystemDictionary::notice_modification();
+
+ JvmtiExport::increment_redefinition_count();
// Set flag indicating that some invariants are no longer true.
// See jvmtiExport.hpp for detailed explanation.
- JvmtiExport::set_has_redefined_a_class();
+
+ // dcevm15: handled by _redefinition_count
+ // JvmtiExport::set_has_redefined_a_class();
#ifdef PRODUCT
if (log_is_enabled(Trace, redefine, class, obsolete, metadata)) {
@@ -718,7 +729,7 @@ bool VM_EnhancedRedefineClasses::is_modifiable_class(oop klass_mirror) {
}
// Cannot redefine or retransform an anonymous class.
- if (InstanceKlass::cast(k)->is_anonymous()) {
+ if (InstanceKlass::cast(k)->is_unsafe_anonymous()) {
return false;
}
return true;
@@ -804,22 +815,30 @@ jvmtiError VM_EnhancedRedefineClasses::load_new_class_versions(TRAPS) {
InstanceKlass* k;
- if (InstanceKlass::cast(the_class)->is_anonymous()) {
- const InstanceKlass* host_class = the_class->host_klass();
+ if (InstanceKlass::cast(the_class)->is_unsafe_anonymous()) {
+ const InstanceKlass* host_class = the_class->unsafe_anonymous_host();
// Make sure it's the real host class, not another anonymous class.
- while (host_class != NULL && host_class->is_anonymous()) {
- host_class = host_class->host_klass();
+ while (host_class != NULL && host_class->is_unsafe_anonymous()) {
+ host_class = host_class->unsafe_anonymous_host();
}
+ ClassLoadInfo cl_info(protection_domain,
+ host_class,
+ NULL, // dynamic_nest_host
+ NULL, // cp_patches
+ Handle(), // classData
+ false, // is_hidden
+ false, // is_strong_hidden
+ true); // FIXME: check if correct. can_access_vm_annotations
+
k = SystemDictionary::parse_stream(the_class_sym,
the_class_loader,
- protection_domain,
&st,
- host_class,
+ cl_info,
the_class,
- NULL,
THREAD);
+
k->class_loader_data()->exchange_holders(the_class->class_loader_data());
the_class->class_loader_data()->inc_keep_alive();
} else {
@@ -966,7 +985,7 @@ int VM_EnhancedRedefineClasses::calculate_redefinition_flags(InstanceKlass* new_
// Check interfaces
// Interfaces removed?
- Array<Klass*>* old_interfaces = the_class->transitive_interfaces();
+ Array<InstanceKlass*>* old_interfaces = the_class->transitive_interfaces();
for (i = 0; i < old_interfaces->length(); i++) {
InstanceKlass* old_interface = InstanceKlass::cast(old_interfaces->at(i));
if (!new_class->implements_interface_any_version(old_interface)) {
@@ -976,7 +995,7 @@ int VM_EnhancedRedefineClasses::calculate_redefinition_flags(InstanceKlass* new_
}
// Interfaces added?
- Array<Klass*>* new_interfaces = new_class->transitive_interfaces();
+ Array<InstanceKlass*>* new_interfaces = new_class->transitive_interfaces();
for (i = 0; i<new_interfaces->length(); i++) {
if (!the_class->implements_interface_any_version(new_interfaces->at(i))) {
result = result | Klass::ModifyClass;
@@ -1389,8 +1408,8 @@ void VM_EnhancedRedefineClasses::rollback() {
// Rewrite faster byte-codes back to their slower equivalent. Undoes rewriting happening in templateTable_xxx.cpp
// The reason is that once we zero cpool caches, we need to re-resolve all entries again. Faster bytecodes do not
// do that, they assume that cache entry is resolved already.
-void VM_EnhancedRedefineClasses::unpatch_bytecode(Method* method) {
- RawBytecodeStream bcs(method);
+void VM_EnhancedRedefineClasses::unpatch_bytecode(Method* method, TRAPS) {
+ RawBytecodeStream bcs(methodHandle(THREAD, method));
Bytecodes::Code code;
Bytecodes::Code java_code;
while (!bcs.is_last_bytecode()) {
@@ -1454,11 +1473,11 @@ void VM_EnhancedRedefineClasses::ClearCpoolCacheAndUnpatch::do_klass(Klass* k) {
HandleMark hm(_thread);
InstanceKlass *ik = InstanceKlass::cast(k);
- constantPoolHandle other_cp = constantPoolHandle(ik->constants());
+ constantPoolHandle other_cp = constantPoolHandle(_thread, ik->constants());
// Update host klass of anonymous classes (for example, produced by lambdas) to newest version.
- if (ik->is_anonymous() && ik->host_klass()->new_version() != NULL) {
- ik->set_host_klass(InstanceKlass::cast(ik->host_klass()->newest_version()));
+ if (ik->is_unsafe_anonymous() && ik->unsafe_anonymous_host()->new_version() != NULL) {
+ ik->set_unsafe_anonymous_host(InstanceKlass::cast(ik->unsafe_anonymous_host()->newest_version()));
}
// Update implementor if there is only one, in this case implementor() can reference old class
@@ -1492,7 +1511,18 @@ void VM_EnhancedRedefineClasses::ClearCpoolCacheAndUnpatch::do_klass(Klass* k) {
// If bytecode rewriting is enabled, we also need to unpatch bytecode to force resolution of zeroed entries
if (RewriteBytecodes) {
- ik->methods_do(unpatch_bytecode);
+ ik->methods_do(unpatch_bytecode, _thread);
+ }
+}
+
+u8 VM_EnhancedRedefineClasses::next_id() {
+ while (true) {
+ u8 id = _id_counter;
+ u8 next_id = id + 1;
+ u8 result = Atomic::cmpxchg(&_id_counter, id, next_id);
+ if (result == id) {
+ return next_id;
+ }
}
}
@@ -1512,31 +1542,8 @@ void VM_EnhancedRedefineClasses::MethodDataCleaner::do_klass(Klass* k) {
}
}
-void VM_EnhancedRedefineClasses::fix_invoke_method(Method* method) {
-
- constantPoolHandle other_cp = constantPoolHandle(method->constants());
-
- for (int i = 0; i < other_cp->length(); i++) {
- if (other_cp->tag_at(i).is_klass()) {
- Klass* klass = other_cp->resolved_klass_at(i);
- if (klass->new_version() != NULL) {
- // Constant pool entry points to redefined class -- update to the new version
- other_cp->klass_at_put(i, klass->newest_version());
- }
- assert(other_cp->resolved_klass_at(i)->new_version() == NULL, "Must be new klass!");
- }
- }
-
- ConstantPoolCache* cp_cache = other_cp->cache();
- if (cp_cache != NULL) {
- cp_cache->clear_entries();
- }
-
-}
-
-
-void VM_EnhancedRedefineClasses::update_jmethod_ids() {
+void VM_EnhancedRedefineClasses::update_jmethod_ids(TRAPS) {
for (int j = 0; j < _matching_methods_length; ++j) {
Method* old_method = _matching_old_methods[j];
jmethodID jmid = old_method->find_jmethod_id_or_null();
@@ -1547,10 +1554,10 @@ void VM_EnhancedRedefineClasses::update_jmethod_ids() {
if (jmid != NULL) {
// There is a jmethodID, change it to point to the new method
- methodHandle new_method_h(_matching_new_methods[j]);
+ methodHandle new_method_h(THREAD, _matching_new_methods[j]);
if (old_method->new_version() == NULL) {
- methodHandle old_method_h(_matching_old_methods[j]);
+ methodHandle old_method_h(THREAD, _matching_old_methods[j]);
jmethodID new_jmethod_id = Method::make_jmethod_id(old_method_h->method_holder()->class_loader_data(), old_method_h());
bool result = InstanceKlass::cast(old_method_h->method_holder())->update_jmethod_id(old_method_h(), new_jmethod_id);
} else {
@@ -1887,7 +1894,7 @@ void VM_EnhancedRedefineClasses::redefine_single_class(InstanceKlass* new_class_
// track number of methods that are EMCP for add_previous_version() call below
check_methods_and_mark_as_obsolete();
- update_jmethod_ids();
+ update_jmethod_ids(THREAD);
_any_class_has_resolved_methods = the_class->has_resolved_methods() || _any_class_has_resolved_methods;
@@ -2119,12 +2126,12 @@ jvmtiError VM_EnhancedRedefineClasses::do_topological_class_sorting(TRAPS) {
Handle protection_domain(THREAD, klass->protection_domain());
+ ClassLoadInfo cl_info(protection_domain);
+
ClassFileParser parser(&st,
klass->name(),
klass->class_loader_data(),
- protection_domain,
- NULL, // host_klass
- NULL, // cp_patches
+ &cl_info,
ClassFileParser::INTERNAL, // publicity level
true,
THREAD);
@@ -2134,7 +2141,7 @@ jvmtiError VM_EnhancedRedefineClasses::do_topological_class_sorting(TRAPS) {
links.append(KlassPair(super_klass, klass));
}
- Array<Klass*>* local_interfaces = parser.local_interfaces();
+ Array<InstanceKlass*>* local_interfaces = parser.local_interfaces();
for (int j = 0; j < local_interfaces->length(); j++) {
Klass* iface = local_interfaces->at(j);
if (iface != NULL && _affected_klasses->contains(iface)) {
@@ -2157,7 +2164,7 @@ jvmtiError VM_EnhancedRedefineClasses::do_topological_class_sorting(TRAPS) {
links.append(KlassPair(super_klass, klass));
}
- Array<Klass*>* local_interfaces = klass->local_interfaces();
+ Array<InstanceKlass*>* local_interfaces = klass->local_interfaces();
for (int j = 0; j < local_interfaces->length(); j++) {
Klass* interfaceKlass = local_interfaces->at(j);
if (_affected_klasses->contains(interfaceKlass)) {
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
index 4c0412d343d..0066088b3b0 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
@@ -32,7 +32,7 @@
#include "memory/resourceArea.hpp"
#include "oops/objArrayKlass.hpp"
#include "oops/objArrayOop.hpp"
-#include "gc/shared/vmGCOperations.hpp"
+#include "gc/shared/gcVMOperations.hpp"
#include "../../../java.base/unix/native/include/jni_md.h"
//
@@ -59,6 +59,7 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
static int _deleted_methods_length;
static int _added_methods_length;
static Klass* _the_class_oop;
+ static u8 _id_counter;
// The instance fields are used to pass information from
// doit_prologue() to doit() and doit_epilogue().
@@ -91,6 +92,9 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
elapsedTimer _timer_heap_iterate;
elapsedTimer _timer_heap_full_gc;
+ // Redefinition id used by JFR
+ u8 _id;
+
// These routines are roughly in call order unless otherwise noted.
// Load and link new classes (either redefined or affected by redefinition - subclass, ...)
@@ -118,15 +122,14 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
static void mark_as_scavengable(nmethod* nm);
static void unregister_nmethod_g1(nmethod* nm);
static void register_nmethod_g1(nmethod* nm);
- static void unpatch_bytecode(Method* method);
- static void fix_invoke_method(Method* method);
+ static void unpatch_bytecode(Method* method, TRAPS);
// Figure out which new methods match old methods in name and signature,
// which methods have been added, and which are no longer present
void compute_added_deleted_matching_methods();
// Change jmethodIDs to point to the new methods
- void update_jmethod_ids();
+ void update_jmethod_ids(TRAPS);
// marking methods as old and/or obsolete
void check_methods_and_mark_as_obsolete();
@@ -141,6 +144,8 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
void flush_dependent_code(InstanceKlass* k_h, TRAPS);
+ u8 next_id();
+
static void check_class(InstanceKlass* k_oop, TRAPS);
static void dump_methods();
@@ -181,6 +186,7 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
bool allow_nested_vm_operations() const { return true; }
jvmtiError check_error() { return _res; }
+ u8 id() { return _id; }
// Modifiable test must be shared between IsModifiableClass query
// and redefine implementation
diff --git a/src/hotspot/share/prims/jvmtiEnv.cpp b/src/hotspot/share/prims/jvmtiEnv.cpp
index b6838ac034d..fba0f48abd7 100644
--- a/src/hotspot/share/prims/jvmtiEnv.cpp
+++ b/src/hotspot/share/prims/jvmtiEnv.cpp
@@ -456,20 +456,23 @@ JvmtiEnv::RetransformClasses(jint class_count, const jclass* classes) {
EventRetransformClasses event;
jvmtiError error;
+ u8 op_id;
if (AllowEnhancedClassRedefinition) {
MutexLocker sd_mutex(EnhancedRedefineClasses_lock);
VM_EnhancedRedefineClasses op(class_count, class_definitions, jvmti_class_load_kind_retransform);
VMThread::execute(&op);
+ op_id = op.id();
error = (op.check_error());
} else {
VM_RedefineClasses op(class_count, class_definitions, jvmti_class_load_kind_retransform);
VMThread::execute(&op);
+ op_id = op.id();
error = op.check_error();
}
if (error == JVMTI_ERROR_NONE) {
event.set_classCount(class_count);
- event.set_redefinitionId(op.id());
+ event.set_redefinitionId(op_id);
event.commit();
}
return error;
@@ -484,19 +487,23 @@ JvmtiEnv::RedefineClasses(jint class_count, const jvmtiClassDefinition* class_de
EventRedefineClasses event;
jvmtiError error;
+ u8 op_id;
+
if (AllowEnhancedClassRedefinition) {
MutexLocker sd_mutex(EnhancedRedefineClasses_lock);
VM_EnhancedRedefineClasses op(class_count, class_definitions, jvmti_class_load_kind_redefine);
VMThread::execute(&op);
+ op_id = op.id();
error = (op.check_error());
} else {
VM_RedefineClasses op(class_count, class_definitions, jvmti_class_load_kind_redefine);
VMThread::execute(&op);
+ op_id = op.id();
error = op.check_error();
}
if (error == JVMTI_ERROR_NONE) {
event.set_classCount(class_count);
- event.set_redefinitionId(op.id());
+ event.set_redefinitionId(op_id);
event.commit();
}
return error;
diff --git a/src/hotspot/share/prims/jvmtiRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiRedefineClasses.cpp
index a7840848e10..346eac7c431 100644
--- a/src/hotspot/share/prims/jvmtiRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiRedefineClasses.cpp
@@ -1271,6 +1271,7 @@ jvmtiError VM_RedefineClasses::load_new_class_versions(TRAPS) {
the_class_loader,
&st,
cl_info,
+ NULL,
THREAD);
// Clear class_being_redefined just to be sure.
state->clear_class_being_redefined();
diff --git a/src/hotspot/share/prims/methodHandles.hpp b/src/hotspot/share/prims/methodHandles.hpp
index 54f36202a5f..917d31efd77 100644
--- a/src/hotspot/share/prims/methodHandles.hpp
+++ b/src/hotspot/share/prims/methodHandles.hpp
@@ -180,6 +180,9 @@ public:
assert(ref_kind_is_valid(ref_kind), "");
return (ref_kind & 1) != 0;
}
+ static bool ref_kind_is_static(int ref_kind) {
+ return !ref_kind_has_receiver(ref_kind) && (ref_kind != JVM_REF_newInvokeSpecial);
+ }
static int ref_kind_to_flags(int ref_kind);
diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp
index d05a2893498..3a92b8869dc 100644
--- a/src/hotspot/share/runtime/arguments.cpp
+++ b/src/hotspot/share/runtime/arguments.cpp
@@ -2128,13 +2128,15 @@ bool Arguments::check_gc_consistency() {
// of collectors.
uint i = 0;
if (UseSerialGC) i++;
- if (UseConcMarkSweepGC) i++;
- if (UseParallelGC || UseParallelOldGC) i++;
+ if (UseParallelGC) i++;
if (UseG1GC) i++;
+ if (UseEpsilonGC) i++;
+ if (UseZGC) i++;
+ if (UseShenandoahGC) i++;
if (AllowEnhancedClassRedefinition) {
// Must use serial GC. This limitation applies because the instance size changing GC modifications
// are only built into the mark and compact algorithm.
- if ((!UseSerialGC && !UseG1GC) && i >= 1) {
+ if (!UseSerialGC && !UseG1GC && i >= 1) {
jio_fprintf(defaultStream::error_stream(),
"Must use the Serial or G1 GC with enhanced class redefinition.\n");
return false;
@@ -4494,18 +4496,18 @@ void Arguments::setup_hotswap_agent() {
// TODO: open it only for org.hotswap.agent module
// Use to access java.lang.reflect.Proxy/proxyCache
- create_numbered_property("jdk.module.addopens", "java.base/java.lang=ALL-UNNAMED", addopens_count++);
+ create_numbered_module_property("jdk.module.addopens", "java.base/java.lang=ALL-UNNAMED", addopens_count++);
// Class of field java.lang.reflect.Proxy/proxyCache
- create_numbered_property("jdk.module.addopens", "java.base/jdk.internal.loader=ALL-UNNAMED", addopens_count++);
+ create_numbered_module_property("jdk.module.addopens", "java.base/jdk.internal.loader=ALL-UNNAMED", addopens_count++);
// Use to access java.io.Reader, java.io.InputStream, java.io.FileInputStream
- create_numbered_property("jdk.module.addopens", "java.base/java.io=ALL-UNNAMED", addopens_count++);
+ create_numbered_module_property("jdk.module.addopens", "java.base/java.io=ALL-UNNAMED", addopens_count++);
// java.beans.Introspector access
- create_numbered_property("jdk.module.addopens", "java.desktop/java.beans=ALL-UNNAMED", addopens_count++);
+ create_numbered_module_property("jdk.module.addopens", "java.desktop/java.beans=ALL-UNNAMED", addopens_count++);
// java.beans.Introspector access
- create_numbered_property("jdk.module.addopens", "java.desktop/com.sun.beans=ALL-UNNAMED", addopens_count++);
+ create_numbered_module_property("jdk.module.addopens", "java.desktop/com.sun.beans=ALL-UNNAMED", addopens_count++);
// com.sun.beans.introspect.ClassInfo access
- create_numbered_property("jdk.module.addopens", "java.desktop/com.sun.beans.introspect=ALL-UNNAMED", addopens_count++);
+ create_numbered_module_property("jdk.module.addopens", "java.desktop/com.sun.beans.introspect=ALL-UNNAMED", addopens_count++);
// com.sun.beans.introspect.util.Cache access
- create_numbered_property("jdk.module.addopens", "java.desktop/com.sun.beans.util=ALL-UNNAMED", addopens_count++);
+ create_numbered_module_property("jdk.module.addopens", "java.desktop/com.sun.beans.util=ALL-UNNAMED", addopens_count++);
}
diff --git a/src/hotspot/share/runtime/mutexLocker.cpp b/src/hotspot/share/runtime/mutexLocker.cpp
index 6f982072909..14a3ed730fe 100644
--- a/src/hotspot/share/runtime/mutexLocker.cpp
+++ b/src/hotspot/share/runtime/mutexLocker.cpp
@@ -287,7 +287,7 @@ void mutex_init() {
def(InitCompleted_lock , PaddedMonitor, leaf, true, _safepoint_check_never);
def(VtableStubs_lock , PaddedMutex , nonleaf, true, _safepoint_check_never);
def(Notify_lock , PaddedMonitor, nonleaf, true, _safepoint_check_always);
- def(EnhancedRedefineClasses_lock , PaddedMutex , nonleaf+7, false, Monitor::_safepoint_check_always); // for ensuring that class redefinition is not done in parallel
+ def(EnhancedRedefineClasses_lock , PaddedMutex , nonleaf+7, false, _safepoint_check_always); // for ensuring that class redefinition is not done in parallel
def(JNICritical_lock , PaddedMonitor, nonleaf, true, _safepoint_check_always); // used for JNI critical regions
def(AdapterHandlerLibrary_lock , PaddedMutex , nonleaf, true, _safepoint_check_always);
--
2.23.0

View File

@@ -0,0 +1,25 @@
From 336cab4f72c6e642e3077ea8d1a4860de33f5a4d Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Tue, 17 Nov 2020 17:40:24 +0100
Subject: [PATCH 20/34] dcevm15 - G1 fixes
---
src/hotspot/share/gc/g1/g1FullGCPrepareTask.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hotspot/share/gc/g1/g1FullGCPrepareTask.cpp b/src/hotspot/share/gc/g1/g1FullGCPrepareTask.cpp
index 2f06b9617e4..476728a5d26 100644
--- a/src/hotspot/share/gc/g1/g1FullGCPrepareTask.cpp
+++ b/src/hotspot/share/gc/g1/g1FullGCPrepareTask.cpp
@@ -240,7 +240,7 @@ void G1FullGCPrepareTask::prepare_serial_compaction_dcevm() {
// collect remaining, not forwarded rescued oops using serial compact point
while (cp->last_rescued_oop() < cp->rescued_oops()->length()) {
- HeapRegion* hr = G1CollectedHeap::heap()->new_region(HeapRegion::GrainBytes / HeapWordSize, false, true);
+ HeapRegion* hr = G1CollectedHeap::heap()->new_region(HeapRegion::GrainBytes / HeapWordSize, HeapRegionType::Eden, true, G1NUMA::AnyNodeIndex);
if (hr == NULL) {
vm_exit_out_of_memory(0, OOM_MMAP_ERROR, "G1 - not enough of free regions after redefinition.");
}
--
2.23.0

View File

@@ -0,0 +1,133 @@
From cea4e2cca3c37233c728be7235f8f9d8be136cb5 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Tue, 17 Nov 2020 18:52:57 +0100
Subject: [PATCH 21/34] dcevm15 - Fix flush dependent code
---
.../prims/jvmtiEnhancedRedefineClasses.cpp | 57 +++++++------------
.../prims/jvmtiEnhancedRedefineClasses.hpp | 4 +-
2 files changed, 25 insertions(+), 36 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 619e3988e3a..efaf11e1666 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -508,7 +508,7 @@ void VM_EnhancedRedefineClasses::doit() {
// Deoptimize all compiled code that depends on this class (do only once, because it clears whole cache)
// if (_max_redefinition_flags > Klass::ModifyClass) {
- flush_dependent_code(NULL, thread);
+ flush_dependent_code(thread);
// }
// Adjust constantpool caches for all classes that reference methods of the evolved class.
@@ -647,17 +647,8 @@ void VM_EnhancedRedefineClasses::doit() {
//MethodDataCleaner clean_weak_method_links;
//ClassLoaderDataGraph::classes_do(&clean_weak_method_links);
- // Disable any dependent concurrent compilations
- // SystemDictionary::notice_modification();
-
JvmtiExport::increment_redefinition_count();
- // Set flag indicating that some invariants are no longer true.
- // See jvmtiExport.hpp for detailed explanation.
-
- // dcevm15: handled by _redefinition_count
- // JvmtiExport::set_has_redefined_a_class();
-
#ifdef PRODUCT
if (log_is_enabled(Trace, redefine, class, obsolete, metadata)) {
#endif
@@ -1746,6 +1737,18 @@ void VM_EnhancedRedefineClasses::transfer_old_native_function_registrations(Inst
transfer.transfer_registrations(_matching_old_methods, _matching_methods_length);
}
+// First step is to walk the code cache for each class redefined and mark
+// dependent methods. Wait until all classes are processed to deoptimize everything.
+void VM_EnhancedRedefineClasses::mark_dependent_code(InstanceKlass* ik) {
+ assert_locked_or_safepoint(Compile_lock);
+
+ // All dependencies have been recorded from startup or this is a second or
+ // subsequent use of RedefineClasses
+ if (0 && JvmtiExport::all_dependencies_are_recorded()) {
+ CodeCache::mark_for_evol_deoptimization(ik);
+ }
+}
+
// DCEVM - it always deoptimizes everything! (because it is very difficult to find only correct dependencies)
// Deoptimize all compiled code that depends on this class.
//
@@ -1762,33 +1765,21 @@ void VM_EnhancedRedefineClasses::transfer_old_native_function_registrations(Inst
// subsequent calls to RedefineClasses need only throw away code
// that depends on the class.
//
-void VM_EnhancedRedefineClasses::flush_dependent_code(InstanceKlass* k_h, TRAPS) {
+void VM_EnhancedRedefineClasses::flush_dependent_code(TRAPS) {
assert_locked_or_safepoint(Compile_lock);
// All dependencies have been recorded from startup or this is a second or
// subsequent use of RedefineClasses
// FIXME: for now, deoptimize all!
- if (0 && k_h != NULL && JvmtiExport::all_dependencies_are_recorded()) {
- CodeCache::flush_evol_dependents_on(k_h);
- Klass* superCl = k_h->super();
- // Deoptimize super classes since redefined class can has a new method override
- while (superCl != NULL && !superCl->is_redefining()) {
- CodeCache::flush_evol_dependents_on(InstanceKlass::cast(superCl));
- superCl = superCl->super();
+ if (0 && JvmtiExport::all_dependencies_are_recorded()) {
+ int deopt = CodeCache::mark_dependents_for_evol_deoptimization();
+ log_debug(redefine, class, nmethod)("Marked %d dependent nmethods for deopt", deopt);
+ if (deopt != 0) {
+ CodeCache::flush_evol_dependents();
}
} else {
- CodeCache::mark_all_nmethods_for_deoptimization();
-
- ResourceMark rm(THREAD);
- DeoptimizationMarker dm;
-
- // Deoptimize all activations depending on marked nmethods
- Deoptimization::deoptimize_dependents();
-
- // Make the dependent methods not entrant
- CodeCache::make_marked_nmethods_not_entrant();
-
- // From now on we know that the dependency information is complete
+ CodeCache::mark_all_nmethods_for_evol_deoptimization();
+ CodeCache::flush_evol_dependents();
JvmtiExport::set_all_dependencies_are_recorded(true);
}
}
@@ -1881,11 +1872,7 @@ void VM_EnhancedRedefineClasses::redefine_single_class(InstanceKlass* new_class_
JvmtiBreakpoints& jvmti_breakpoints = JvmtiCurrentBreakpoints::get_jvmti_breakpoints();
jvmti_breakpoints.clearall_in_class_at_safepoint(the_class);
- // DCEVM Deoptimization is always for whole java world, call only once after all classes are redefined
- // Deoptimize all compiled code that depends on this class
-// if (_max_redefinition_flags <= Klass::ModifyClass) {
-// flush_dependent_code(the_class, THREAD);
-// }
+ mark_dependent_code(the_class);
_old_methods = the_class->methods();
_new_methods = new_class->methods();
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
index 0066088b3b0..bd5e7d153be 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
@@ -142,7 +142,9 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
// and in all direct and indirect subclasses.
void increment_class_counter(InstanceKlass *ik, TRAPS);
- void flush_dependent_code(InstanceKlass* k_h, TRAPS);
+ void mark_dependent_code(InstanceKlass* ik);
+
+ void flush_dependent_code(TRAPS);
u8 next_id();
--
2.23.0

View File

@@ -0,0 +1,211 @@
From 4f88dcec830d39452f69d1117729469fdb768a8f Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 22 Nov 2020 12:05:26 +0100
Subject: [PATCH 22/34] dcevm15 - fix ResolvedMethodTable
---
src/hotspot/share/classfile/javaClasses.cpp | 5 -
src/hotspot/share/classfile/javaClasses.hpp | 1 -
.../share/prims/resolvedMethodTable.cpp | 139 +++++++++++-------
3 files changed, 84 insertions(+), 61 deletions(-)
diff --git a/src/hotspot/share/classfile/javaClasses.cpp b/src/hotspot/share/classfile/javaClasses.cpp
index 9b086a241f7..9a627786d0f 100644
--- a/src/hotspot/share/classfile/javaClasses.cpp
+++ b/src/hotspot/share/classfile/javaClasses.cpp
@@ -3996,11 +3996,6 @@ void java_lang_invoke_ResolvedMethodName::set_vmholder(oop resolved_method, oop
resolved_method->obj_field_put(_vmholder_offset, holder);
}
-void java_lang_invoke_ResolvedMethodName::set_vmholder_offset(oop resolved_method, Method* m) {
- assert(is_instance(resolved_method), "wrong type");
- resolved_method->obj_field_put(_vmholder_offset, m->method_holder()->java_mirror());
-}
-
oop java_lang_invoke_ResolvedMethodName::find_resolved_method(const methodHandle& m, TRAPS) {
const Method* method = m();
diff --git a/src/hotspot/share/classfile/javaClasses.hpp b/src/hotspot/share/classfile/javaClasses.hpp
index 9abf2e1d105..8f5993b7225 100644
--- a/src/hotspot/share/classfile/javaClasses.hpp
+++ b/src/hotspot/share/classfile/javaClasses.hpp
@@ -1107,7 +1107,6 @@ class java_lang_invoke_ResolvedMethodName : AllStatic {
static Method* vmtarget(oop resolved_method);
static void set_vmtarget(oop resolved_method, Method* method);
- static void set_vmholder_offset(oop resolved_method, Method* method);
static void set_vmholder(oop resolved_method, oop holder);
diff --git a/src/hotspot/share/prims/resolvedMethodTable.cpp b/src/hotspot/share/prims/resolvedMethodTable.cpp
index eb9fcda44f3..d0f1667b967 100644
--- a/src/hotspot/share/prims/resolvedMethodTable.cpp
+++ b/src/hotspot/share/prims/resolvedMethodTable.cpp
@@ -375,6 +375,67 @@ public:
}
};
+class AdjustMethodEntriesDcevm : public StackObj {
+ bool* _trace_name_printed;
+ GrowableArray<oop>* _oops_to_add;
+public:
+ AdjustMethodEntriesDcevm(GrowableArray<oop>* oops_to_add, bool* trace_name_printed) : _trace_name_printed(trace_name_printed), _oops_to_add(oops_to_add) {};
+ bool operator()(WeakHandle<vm_resolved_method_table_data>* entry) {
+ oop mem_name = entry->peek();
+ if (mem_name == NULL) {
+ // Removed
+ return true;
+ }
+
+ Method* old_method = (Method*)java_lang_invoke_ResolvedMethodName::vmtarget(mem_name);
+
+ if (old_method->is_old()) {
+
+ InstanceKlass* newer_klass = InstanceKlass::cast(old_method->method_holder()->new_version());
+ Method* newer_method;
+
+ // Method* new_method;
+ if (old_method->is_deleted()) {
+ newer_method = Universe::throw_no_such_method_error();
+ } else {
+ newer_method = newer_klass->method_with_idnum(old_method->orig_method_idnum());
+
+ log_debug(redefine, class, update)("Adjusting method: '%s' of new class %s", newer_method->name_and_sig_as_C_string(), newer_klass->name()->as_C_string());
+
+ assert(newer_klass == newer_method->method_holder(), "call after swapping redefined guts");
+ assert(newer_method != NULL, "method_with_idnum() should not be NULL");
+ assert(old_method != newer_method, "sanity check");
+
+ Thread* thread = Thread::current();
+ ResolvedMethodTableLookup lookup(thread, method_hash(newer_method), newer_method);
+ ResolvedMethodGet rmg(thread, newer_method);
+
+ if (_local_table->get(thread, lookup, rmg)) {
+ // old method was already adjusted if new method exists in _the_table
+ return true;
+ }
+ }
+
+ java_lang_invoke_ResolvedMethodName::set_vmtarget(mem_name, newer_method);
+ java_lang_invoke_ResolvedMethodName::set_vmholder(mem_name, newer_method->method_holder()->java_mirror());
+
+ newer_klass->set_has_resolved_methods();
+ _oops_to_add->append(mem_name);
+
+ ResourceMark rm;
+ if (!(*_trace_name_printed)) {
+ log_debug(redefine, class, update)("adjust: name=%s", old_method->method_holder()->external_name());
+ *_trace_name_printed = true;
+ }
+ log_debug(redefine, class, update, constantpool)
+ ("ResolvedMethod method update: %s(%s)",
+ newer_method->name()->as_C_string(), newer_method->signature()->as_C_string());
+ }
+
+ return true;
+ }
+};
+
// It is called at safepoint only for RedefineClasses
void ResolvedMethodTable::adjust_method_entries(bool * trace_name_printed) {
assert(SafepointSynchronize::is_at_safepoint(), "only called at safepoint");
@@ -382,73 +443,41 @@ void ResolvedMethodTable::adjust_method_entries(bool * trace_name_printed) {
AdjustMethodEntries adjust(trace_name_printed);
_local_table->do_safepoint_scan(adjust);
}
-#endif // INCLUDE_JVMTI
-// (DCEVM) It is called at safepoint only for RedefineClasses
+// It is called at safepoint only for RedefineClasses
void ResolvedMethodTable::adjust_method_entries_dcevm(bool * trace_name_printed) {
assert(SafepointSynchronize::is_at_safepoint(), "only called at safepoint");
// For each entry in RMT, change to new method
- GrowableArray<oop>* oops_to_add = new GrowableArray<oop>();
-
- for (int i = 0; i < _the_table->table_size(); ++i) {
- for (ResolvedMethodEntry* entry = _the_table->bucket(i);
- entry != NULL;
- entry = entry->next()) {
-
- oop mem_name = entry->object_no_keepalive();
- // except ones removed
- if (mem_name == NULL) {
- continue;
- }
- Method* old_method = (Method*)java_lang_invoke_ResolvedMethodName::vmtarget(mem_name);
-
- if (old_method->is_old()) {
-
- InstanceKlass* newer_klass = InstanceKlass::cast(old_method->method_holder()->new_version());
- Method* newer_method;
-
- // Method* new_method;
- if (old_method->is_deleted()) {
- newer_method = Universe::throw_no_such_method_error();
- } else {
- newer_method = newer_klass->method_with_idnum(old_method->orig_method_idnum());
-
- log_debug(redefine, class, update)("Adjusting method: '%s' of new class %s", newer_method->name_and_sig_as_C_string(), newer_klass->name()->as_C_string());
-
- assert(newer_klass == newer_method->method_holder(), "call after swapping redefined guts");
- assert(newer_method != NULL, "method_with_idnum() should not be NULL");
- assert(old_method != newer_method, "sanity check");
-
- if (_the_table->lookup(newer_method) != NULL) {
- // old method was already adjusted if new method exists in _the_table
- continue;
- }
- }
+ GrowableArray<oop> oops_to_add(0);
+ AdjustMethodEntriesDcevm adjust(&oops_to_add, trace_name_printed);
+ _local_table->do_safepoint_scan(adjust);
+ Thread* thread = Thread::current();
+ for (int i = 0; i < oops_to_add.length(); i++) {
+ oop mem_name = oops_to_add.at(i);
+ Method* method = (Method*)java_lang_invoke_ResolvedMethodName::vmtarget(mem_name);
- java_lang_invoke_ResolvedMethodName::set_vmtarget(mem_name, newer_method);
- java_lang_invoke_ResolvedMethodName::set_vmholder_offset(mem_name, newer_method);
+ // The hash table takes ownership of the WeakHandle, even if it's not inserted.
- newer_klass->set_has_resolved_methods();
- oops_to_add->append(mem_name);
+ ResolvedMethodTableLookup lookup(thread, method_hash(method), method);
+ ResolvedMethodGet rmg(thread, method);
- ResourceMark rm;
- if (!(*trace_name_printed)) {
- log_debug(redefine, class, update)("adjust: name=%s", old_method->method_holder()->external_name());
- *trace_name_printed = true;
- }
- log_debug(redefine, class, update, constantpool)
- ("ResolvedMethod method update: %s(%s)",
- newer_method->name()->as_C_string(), newer_method->signature()->as_C_string());
+ while (true) {
+ if (_local_table->get(thread, lookup, rmg)) {
+ break;
+ }
+ WeakHandle<vm_resolved_method_table_data> wh = WeakHandle<vm_resolved_method_table_data>::create(Handle(thread, mem_name));
+ // The hash table takes ownership of the WeakHandle, even if it's not inserted.
+ if (_local_table->insert(thread, lookup, wh)) {
+ log_insert(method);
+ wh.resolve();
+ break;
}
- }
- for (int i = 0; i < oops_to_add->length(); i++) {
- oop mem_name = oops_to_add->at(i);
- Method* method = (Method*)java_lang_invoke_ResolvedMethodName::vmtarget(mem_name);
- _the_table->basic_add(method, Handle(Thread::current(), mem_name));
}
}
}
+#endif // INCLUDE_JVMTI
+
// Verification
class VerifyResolvedMethod : StackObj {
public:
--
2.23.0

View File

@@ -0,0 +1,88 @@
From 5379e56465d3d3930ec7ea91b1c64db2cdf70170 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 22 Nov 2020 12:05:50 +0100
Subject: [PATCH 23/34] dcevm15 - fix Universe::root_oops_do
---
src/hotspot/share/memory/universe.cpp | 38 +++++++++------------------
1 file changed, 12 insertions(+), 26 deletions(-)
diff --git a/src/hotspot/share/memory/universe.cpp b/src/hotspot/share/memory/universe.cpp
index f6e4253b5a5..8dad437bd51 100644
--- a/src/hotspot/share/memory/universe.cpp
+++ b/src/hotspot/share/memory/universe.cpp
@@ -39,6 +39,7 @@
#include "gc/shared/gcConfig.hpp"
#include "gc/shared/gcLogPrecious.hpp"
#include "gc/shared/gcTraceTime.inline.hpp"
+#include "gc/shared/weakProcessor.hpp"
#include "interpreter/interpreter.hpp"
#include "logging/log.hpp"
#include "logging/logStream.hpp"
@@ -75,6 +76,7 @@
#include "runtime/thread.inline.hpp"
#include "runtime/timerTrace.hpp"
#include "runtime/vmOperations.hpp"
+#include "services/management.hpp"
#include "services/memoryService.hpp"
#include "utilities/align.hpp"
#include "utilities/copy.hpp"
@@ -180,45 +182,29 @@ void Universe::basic_type_classes_do(KlassClosure *closure) {
// FIXME: (DCEVM) This method should iterate all pointers that are not within heap objects.
void Universe::root_oops_do(OopClosure *oopClosure) {
-
- class AlwaysTrueClosure: public BoolObjectClosure {
- public:
- void do_object(oop p) { ShouldNotReachHere(); }
- bool do_object_b(oop p) { return true; }
- };
- AlwaysTrueClosure always_true;
-
Universe::oops_do(oopClosure);
// ReferenceProcessor::oops_do(oopClosure); (tw) check why no longer there
JNIHandles::oops_do(oopClosure); // Global (strong) JNI handles
Threads::oops_do(oopClosure, NULL);
ObjectSynchronizer::oops_do(oopClosure);
- // TODO: review, flat profiler was removed in j10
- // FlatProfiler::oops_do(oopClosure);
- JvmtiExport::oops_do(oopClosure);
+ // (DCEVM) TODO: Check if this is correct?
+ Management::oops_do(oopClosure);
+ OopStorageSet::vm_global()->oops_do(oopClosure);
+ CLDToOopClosure cld_closure(oopClosure, ClassLoaderData::_claim_none);
+ ClassLoaderDataGraph::cld_do(&cld_closure);
// Now adjust pointers in remaining weak roots. (All of which should
// have been cleared if they pointed to non-surviving objects.)
// Global (weak) JNI handles
- JNIHandles::weak_oops_do(&always_true, oopClosure);
+ WeakProcessor::oops_do(oopClosure);
CodeBlobToOopClosure blobClosure(oopClosure, CodeBlobToOopClosure::FixRelocations);
CodeCache::blobs_do(&blobClosure);
- StringTable::oops_do(oopClosure);
+ AOT_ONLY(AOTLoader::oops_do(oopClosure);)
+ // StringTable::oops_do was removed in j15
+ // StringTable::oops_do(oopClosure);
- // (DCEVM) TODO: Check if this is correct?
- //CodeCache::scavenge_root_nmethods_oops_do(oopClosure);
- //Management::oops_do(oopClosure);
- //ref_processor()->weak_oops_do(&oopClosure);
- //PSScavenge::reference_processor()->weak_oops_do(&oopClosure);
-
-#if INCLUDE_AOT
- if (UseAOT) {
- AOTLoader::oops_do(oopClosure);
- }
-#endif
- // SO_AllClasses
- SystemDictionary::oops_do(oopClosure);
+ // PSScavenge::reference_processor()->weak_oops_do(oopClosure);
}
void Universe::oops_do(OopClosure* f) {
--
2.23.0

View File

@@ -0,0 +1,67 @@
From c6ea68e66d37d70739f7b0ee74131322b4526a68 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 22 Nov 2020 12:03:32 +0100
Subject: [PATCH 24/34] Cleanup dcevm comments
---
src/hotspot/share/classfile/classLoaderDataGraph.hpp | 2 +-
src/hotspot/share/classfile/systemDictionary.hpp | 2 +-
src/hotspot/share/gc/shared/gcConfig.cpp | 2 +-
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/hotspot/share/classfile/classLoaderDataGraph.hpp b/src/hotspot/share/classfile/classLoaderDataGraph.hpp
index f380aa3fa34..8ce94cccb47 100644
--- a/src/hotspot/share/classfile/classLoaderDataGraph.hpp
+++ b/src/hotspot/share/classfile/classLoaderDataGraph.hpp
@@ -104,7 +104,7 @@ class ClassLoaderDataGraph : public AllStatic {
static void dictionary_classes_do(KlassClosure* klass_closure);
- // Enhanced class redefinition
+ // (DCEVM) Enhanced class redefinition
static void rollback_redefinition();
// VM_CounterDecay iteration support
diff --git a/src/hotspot/share/classfile/systemDictionary.hpp b/src/hotspot/share/classfile/systemDictionary.hpp
index 931e655d631..1019dbd0d04 100644
--- a/src/hotspot/share/classfile/systemDictionary.hpp
+++ b/src/hotspot/share/classfile/systemDictionary.hpp
@@ -455,7 +455,7 @@ public:
static bool is_well_known_klass(Symbol* class_name);
#endif
- // Enhanced class redefinition
+ // (DCEVM) Enhanced class redefinition
static void remove_from_hierarchy(InstanceKlass* k);
static void update_constraints_after_redefinition();
diff --git a/src/hotspot/share/gc/shared/gcConfig.cpp b/src/hotspot/share/gc/shared/gcConfig.cpp
index 5c1a09390f1..23fbf715378 100644
--- a/src/hotspot/share/gc/shared/gcConfig.cpp
+++ b/src/hotspot/share/gc/shared/gcConfig.cpp
@@ -99,7 +99,7 @@ void GCConfig::fail_if_non_included_gc_is_selected() {
void GCConfig::select_gc_ergonomically() {
if (AllowEnhancedClassRedefinition && !UseG1GC) {
- // Enhanced class redefinition only supports serial GC at the moment
+ // (DCEVM) Enhanced class redefinition only supports serial GC at the moment
FLAG_SET_ERGO(UseSerialGC, true);
} else if (os::is_server_class_machine()) {
#if INCLUDE_G1GC
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
index bd5e7d153be..5de375fb888 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
@@ -78,7 +78,7 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
// have any entries.
bool _any_class_has_resolved_methods;
- // Enhanced class redefinition, affected klasses contain all classes which should be redefined
+ // (DCEVM) Enhanced class redefinition, affected klasses contain all classes which should be redefined
// either because of redefine, class hierarchy or interface change
GrowableArray<Klass*>* _affected_klasses;
--
2.23.0

View File

@@ -0,0 +1,43 @@
From 507d97966c7145d0ae2533459cc504c7b0d6d5b6 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 22 Nov 2020 18:49:05 +0100
Subject: [PATCH 25/34] Fix cpCache in not AllowEnhancedClassRedefinition mode
---
src/hotspot/share/oops/cpCache.hpp | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/hotspot/share/oops/cpCache.hpp b/src/hotspot/share/oops/cpCache.hpp
index 121a13b1dda..64dcf6223f5 100644
--- a/src/hotspot/share/oops/cpCache.hpp
+++ b/src/hotspot/share/oops/cpCache.hpp
@@ -148,13 +148,13 @@ class ConstantPoolCacheEntry {
void set_bytecode_2(Bytecodes::Code code);
void set_f1(Metadata* f1) {
Metadata* existing_f1 = _f1; // read once
- //assert(existing_f1 == NULL || existing_f1 == f1, "illegal field change");
+ assert(AllowEnhancedClassRedefinition || existing_f1 == NULL || existing_f1 == f1, "illegal field change");
_f1 = f1;
}
void release_set_f1(Metadata* f1);
void set_f2(intx f2) {
intx existing_f2 = _f2; // read once
- //assert(existing_f2 == 0 || existing_f2 == f2, "illegal field change");
+ assert(AllowEnhancedClassRedefinition || existing_f2 == 0 || existing_f2 == f2, "illegal field change");
_f2 = f2;
}
void set_f2_as_vfinal_method(Method* f2) {
@@ -215,7 +215,9 @@ class ConstantPoolCacheEntry {
void initialize_resolved_reference_index(int ref_index) {
assert(_f2 == 0, "set once"); // note: ref_index might be zero also
_f2 = ref_index;
- _flags = 1 << is_resolved_ref_shift;
+ if (AllowEnhancedClassRedefinition) {
+ _flags = 1 << is_resolved_ref_shift;
+ }
}
void set_field( // sets entry to resolved field state
--
2.23.0

View File

@@ -0,0 +1,32 @@
From b516b615c20fafa2094dfb9f4cb08245b26418d0 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 22 Nov 2020 19:51:46 +0100
Subject: [PATCH 26/34] dcevm15 - add ClassLoaderDataGraph_lock on
ClassLoaderDataGraph::classes_do
ClassLoaderDataGraph::classes_do need safepoint or lock,
find_sorted_affected_classes is not in safepoint therefore it must be
locked
---
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index efaf11e1666..197e1c0029f 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -2063,7 +2063,10 @@ jvmtiError VM_EnhancedRedefineClasses::find_sorted_affected_classes(TRAPS) {
AffectedKlassClosure closure(_affected_klasses);
// Updated in j10, from original SystemDictionary::classes_do
- ClassLoaderDataGraph::classes_do(&closure);
+ {
+ MutexLocker mcld(ClassLoaderDataGraph_lock);
+ ClassLoaderDataGraph::classes_do(&closure);
+ }
//ClassLoaderDataGraph::dictionary_classes_do(&closure);
log_trace(redefine, class, load)("%d classes affected", _affected_klasses->length());
--
2.23.0

View File

@@ -0,0 +1,29 @@
From c6498946006879314bdc6218ee72da5d9c88f237 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sat, 28 Nov 2020 19:29:42 +0100
Subject: [PATCH 27/34] dcevm15 - check if has_nestmate_access_to has newest
host class
---
src/hotspot/share/oops/instanceKlass.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/hotspot/share/oops/instanceKlass.cpp b/src/hotspot/share/oops/instanceKlass.cpp
index 5e40d78a87e..1d9623f2446 100644
--- a/src/hotspot/share/oops/instanceKlass.cpp
+++ b/src/hotspot/share/oops/instanceKlass.cpp
@@ -445,6 +445,11 @@ bool InstanceKlass::has_nestmate_access_to(InstanceKlass* k, TRAPS) {
return false;
}
+ if (AllowEnhancedClassRedefinition) {
+ // TODO: (DCEVM) check if it correct. It fix problems with lambdas (hidden)
+ cur_host = InstanceKlass::cast(cur_host->newest_version());
+ }
+
Klass* k_nest_host = k->nest_host(CHECK_false);
if (k_nest_host == NULL) {
return false;
--
2.23.0

View File

@@ -0,0 +1,24 @@
From 86c27155386c1c40642c99c63a242d1f5d8601a5 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sat, 28 Nov 2020 19:31:08 +0100
Subject: [PATCH 28/34] Remove unused fieldType
---
src/hotspot/share/classfile/vmSymbols.hpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/hotspot/share/classfile/vmSymbols.hpp b/src/hotspot/share/classfile/vmSymbols.hpp
index 6a3b234b222..eb06684a288 100644
--- a/src/hotspot/share/classfile/vmSymbols.hpp
+++ b/src/hotspot/share/classfile/vmSymbols.hpp
@@ -465,7 +465,6 @@
template(static_offset_name, "staticOffset") \
template(static_base_name, "staticBase") \
template(field_offset_name, "fieldOffset") \
- template(field_type_name, "fieldType") \
\
/* name symbols needed by intrinsics */ \
\
--
2.23.0

View File

@@ -0,0 +1,54 @@
From 025d0d2903963fb79f83cf0d90418783d3ef6813 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 29 Nov 2020 17:18:16 +0100
Subject: [PATCH 29/34] mark_as_scavengable only alive methods
---
.../share/prims/jvmtiEnhancedRedefineClasses.cpp | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 197e1c0029f..e00fac1f693 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -223,19 +223,21 @@ class FieldCopier : public FieldClosure {
// TODO: review...
void VM_EnhancedRedefineClasses::mark_as_scavengable(nmethod* nm) {
- ScavengableNMethods::register_nmethod(nm);
+ if (nm->is_alive()) {
+ ScavengableNMethods::register_nmethod(nm);
+ }
}
void VM_EnhancedRedefineClasses::unregister_nmethod_g1(nmethod* nm) {
// It should work not only for G1 but also for another GCs, but this way is safer now
- if (!nm->is_zombie() && !nm->is_unloaded()) {
+ if (nm->is_alive()) {
Universe::heap()->unregister_nmethod(nm);
}
}
void VM_EnhancedRedefineClasses::register_nmethod_g1(nmethod* nm) {
// It should work not only for G1 but also for another GCs, but this way is safer now
- if (!nm->is_zombie() && !nm->is_unloaded()) {
+ if (nm->is_alive()) {
Universe::heap()->register_nmethod(nm);
}
}
@@ -511,9 +513,9 @@ void VM_EnhancedRedefineClasses::doit() {
flush_dependent_code(thread);
// }
- // Adjust constantpool caches for all classes that reference methods of the evolved class.
- ClearCpoolCacheAndUnpatch clear_cpool_cache(thread);
- ClassLoaderDataGraph::classes_do(&clear_cpool_cache);
+ // Adjust constantpool caches for all classes that reference methods of the evolved class.
+ ClearCpoolCacheAndUnpatch clear_cpool_cache(thread);
+ ClassLoaderDataGraph::classes_do(&clear_cpool_cache);
// JSR-292 support
if (_any_class_has_resolved_methods) {
--
2.23.0

View File

@@ -0,0 +1,28 @@
From 27aabfefe7d799545049bb81ba19d4ed2ff6379c Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 29 Nov 2020 17:20:11 +0100
Subject: [PATCH 30/34] dcevm15 - lock on
ClassLoaderDataGraph::rollback_redefinition
rollback is not in safepoint, therefore must be locked
---
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index e00fac1f693..db5fb1c472b 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -1382,7 +1382,9 @@ void VM_EnhancedRedefineClasses::calculate_instance_update_information(Klass* ne
// Rollback all changes - clear new classes from the system dictionary, return old classes to directory, free memory.
void VM_EnhancedRedefineClasses::rollback() {
log_info(redefine, class, load)("Rolling back redefinition, result=%d", _res);
+ ClassLoaderDataGraph_lock->lock();
ClassLoaderDataGraph::rollback_redefinition();
+ ClassLoaderDataGraph_lock->unlock();
for (int i = 0; i < _new_classes->length(); i++) {
SystemDictionary::remove_from_hierarchy(_new_classes->at(i));
--
2.23.0

View File

@@ -0,0 +1,28 @@
From 9b405cb642d5935c39c8dbd522ea2fdecfc29ef3 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 29 Nov 2020 19:59:50 +0100
Subject: [PATCH 31/34] ResourceMark in G1IterateObjectClosureTask fixing
memory leaks
G1IterateObjectClosureTask is used only in redefinition full GC run
---
src/hotspot/share/gc/g1/g1CollectedHeap.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/hotspot/share/gc/g1/g1CollectedHeap.cpp b/src/hotspot/share/gc/g1/g1CollectedHeap.cpp
index a29d2dddc2d..2af6df6c1e4 100644
--- a/src/hotspot/share/gc/g1/g1CollectedHeap.cpp
+++ b/src/hotspot/share/gc/g1/g1CollectedHeap.cpp
@@ -2362,6 +2362,9 @@ class G1IterateObjectClosureTask : public AbstractGangTask {
_cl(cl), _g1h(g1h), _hrclaimer(g1h->workers()->active_workers()) { }
virtual void work(uint worker_id) {
+ Thread *thread = Thread::current();
+ HandleMark hm(thread); // make sure any handles created are deleted
+ ResourceMark rm(thread);
IterateObjectClosureRegionClosure blk(_cl);
_g1h->heap_region_par_iterate_from_worker_offset(&blk, &_hrclaimer, worker_id);
}
--
2.23.0

View File

@@ -0,0 +1,91 @@
From 40fe40884d4efc50864bb3f2dd88f0a2e7122d5a Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 29 Nov 2020 20:05:03 +0100
Subject: [PATCH 32/34] dcevm15 - fix hidded classes
---
.../prims/jvmtiEnhancedRedefineClasses.cpp | 41 ++++++++++++++-----
1 file changed, 30 insertions(+), 11 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index db5fb1c472b..590f7fdfafe 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -722,7 +722,8 @@ bool VM_EnhancedRedefineClasses::is_modifiable_class(oop klass_mirror) {
}
// Cannot redefine or retransform an anonymous class.
- if (InstanceKlass::cast(k)->is_unsafe_anonymous()) {
+ // TODO: check if is correct in j15
+ if (InstanceKlass::cast(k)->is_unsafe_anonymous() || InstanceKlass::cast(k)->is_hidden()) {
return false;
}
return true;
@@ -808,21 +809,27 @@ jvmtiError VM_EnhancedRedefineClasses::load_new_class_versions(TRAPS) {
InstanceKlass* k;
- if (InstanceKlass::cast(the_class)->is_unsafe_anonymous()) {
- const InstanceKlass* host_class = the_class->unsafe_anonymous_host();
+ if (the_class->is_unsafe_anonymous() || the_class->is_hidden()) {
+ InstanceKlass* dynamic_host_class = NULL;
+ InstanceKlass* unsafe_anonymous_host = NULL;
- // Make sure it's the real host class, not another anonymous class.
- while (host_class != NULL && host_class->is_unsafe_anonymous()) {
- host_class = host_class->unsafe_anonymous_host();
+ if (the_class->is_hidden()) {
+ log_debug(redefine, class, load)("loading hidden class %s", the_class->name()->as_C_string());
+ dynamic_host_class = the_class->nest_host(THREAD);
+ }
+
+ if (the_class->is_unsafe_anonymous()) {
+ log_debug(redefine, class, load)("loading usafe anonymous %s", the_class->name()->as_C_string());
+ unsafe_anonymous_host = the_class->unsafe_anonymous_host();
}
ClassLoadInfo cl_info(protection_domain,
- host_class,
- NULL, // dynamic_nest_host
+ unsafe_anonymous_host,
NULL, // cp_patches
+ dynamic_host_class, // dynamic_nest_host
Handle(), // classData
- false, // is_hidden
- false, // is_strong_hidden
+ the_class->is_hidden(), // is_hidden
+ !the_class->is_non_strong_hidden(), // is_strong_hidden
true); // FIXME: check if correct. can_access_vm_annotations
k = SystemDictionary::parse_stream(the_class_sym,
@@ -833,7 +840,17 @@ jvmtiError VM_EnhancedRedefineClasses::load_new_class_versions(TRAPS) {
THREAD);
k->class_loader_data()->exchange_holders(the_class->class_loader_data());
- the_class->class_loader_data()->inc_keep_alive();
+
+ if (the_class->is_hidden()) {
+ // from jvm_lookup_define_class() (jvm.cpp):
+ // The hidden class loader data has been artificially been kept alive to
+ // this point. The mirror and any instances of this class have to keep
+ // it alive afterwards.
+ the_class->class_loader_data()->dec_keep_alive();
+ } else {
+ the_class->class_loader_data()->inc_keep_alive();
+ }
+
} else {
k = SystemDictionary::resolve_from_stream(the_class_sym,
the_class_loader,
@@ -1475,6 +1492,8 @@ void VM_EnhancedRedefineClasses::ClearCpoolCacheAndUnpatch::do_klass(Klass* k) {
ik->set_unsafe_anonymous_host(InstanceKlass::cast(ik->unsafe_anonymous_host()->newest_version()));
}
+ // FIXME: check new nest_host for hidden
+
// Update implementor if there is only one, in this case implementor() can reference old class
if (ik->is_interface()) {
Klass* implKlass = ik->implementor();
--
2.23.0

View File

@@ -0,0 +1,27 @@
From 29920b076b4ad96d85adbce0a1d947e5022ba3ad Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 29 Nov 2020 20:08:57 +0100
Subject: [PATCH 33/34] dcevm15 - DON'T clear F2 in CP cache after indy
unevolving
It's not clear why it was cleared in dcevm7-11
---
src/hotspot/share/oops/cpCache.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hotspot/share/oops/cpCache.cpp b/src/hotspot/share/oops/cpCache.cpp
index 79a38dbeff0..650e6fab42d 100644
--- a/src/hotspot/share/oops/cpCache.cpp
+++ b/src/hotspot/share/oops/cpCache.cpp
@@ -650,7 +650,7 @@ void ConstantPoolCacheEntry::clear_entry() {
if (clearData) {
if (!is_resolved_reference()) {
- _f2 = 0;
+ // _f2 = 0;
}
// FIXME: (DCEVM) we want to clear flags, but parameter size is actually used
// after we return from the method, before entry is re-initialized. So let's
--
2.23.0

View File

@@ -0,0 +1,49 @@
From 1f13b20ab5553182680045b7d7324ff92da7e7f0 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 29 Nov 2020 21:28:06 +0100
Subject: [PATCH 34/34] dcevm15 - fix Universe::root_oops_do
Removed ClassLoaderDataGraph::cld_do was cause of crashes due multiple
oop patching. ClassLoaderDataGraph::cld_do replaced in dcevm15
previously used and removed SystemDictionary:oops_do
---
src/hotspot/share/memory/universe.cpp | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/hotspot/share/memory/universe.cpp b/src/hotspot/share/memory/universe.cpp
index 8dad437bd51..0199962a684 100644
--- a/src/hotspot/share/memory/universe.cpp
+++ b/src/hotspot/share/memory/universe.cpp
@@ -190,21 +190,26 @@ void Universe::root_oops_do(OopClosure *oopClosure) {
// (DCEVM) TODO: Check if this is correct?
Management::oops_do(oopClosure);
OopStorageSet::vm_global()->oops_do(oopClosure);
- CLDToOopClosure cld_closure(oopClosure, ClassLoaderData::_claim_none);
- ClassLoaderDataGraph::cld_do(&cld_closure);
+ // CLDToOopClosure cld_closure(oopClosure, ClassLoaderData::_claim_none);
+ // ClassLoaderDataGraph::cld_do(&cld_closure);
// Now adjust pointers in remaining weak roots. (All of which should
// have been cleared if they pointed to non-surviving objects.)
// Global (weak) JNI handles
WeakProcessor::oops_do(oopClosure);
+ JvmtiExport::oops_do(oopClosure);
+
CodeBlobToOopClosure blobClosure(oopClosure, CodeBlobToOopClosure::FixRelocations);
CodeCache::blobs_do(&blobClosure);
+
AOT_ONLY(AOTLoader::oops_do(oopClosure);)
+
// StringTable::oops_do was removed in j15
// StringTable::oops_do(oopClosure);
- // PSScavenge::reference_processor()->weak_oops_do(oopClosure);
+ // OopStorageSet::vm_global()->oops_do(oopClosure);
+
}
void Universe::oops_do(OopClosure* f) {
--
2.23.0

View File

@@ -0,0 +1,83 @@
#!/bin/bash -x
usage ()
{
echo "Usage: perfcmp.sh [options] <test_results_cur> <test_results_ref> <results> <test_prefix> <noHeaders>"
echo "Options:"
echo -e " -h, --help\tdisplay this help"
echo -e " -tc\tprint teacmity statistic"
echo -e "test_results_cur - the file with metrics values for the current measuring"
echo -e "test_results_ref - the file with metrics values for the reference measuring"
echo -e "results - results of comaprison"
echo -e "test_prefix - specifys measuring type, makes sense for enabled -tc, by default no prefixes"
echo -e "noHeaders - by default 1-st line contains headers"
echo -e ""
echo -e "test_results_* files content should be in csv format with header and tab separator:"
echo -e "The 1-st column is the test name"
echo -e "The 2-st column is the test value"
echo -e ""
echo -e "Example:"
echo -e "Test Value"
echo -e "Testname 51.54"
}
while [ -n "$1" ]
do
case "$1" in
-h | --help) usage
exit 1 ;;
-tc) tc=1
shift
break ;;
*) break;;
esac
done
if [[ "$#" < "3" ]]; then
echo "Error: Invalid arguments"
usage
exit 1
fi
curFile=$1
refFile=$2
resFile=$3
testNamePrefix=$4
noHeaders=$5
echo $curFile
echo $refFile
echo $resFile
curValues=`cat "$curFile" | cut -f 2 | tr -d '\t'`
if [ -z $noHeaders ]; then
curValuesHeader=`echo "$curValues" | head -n +1`_cur
header=`cat "$refFile" | head -n +1 | awk -F'\t' -v x=$curValuesHeader '{print " "$1"\t"$2"_ref\t"x"\tratio"}'`
testContent=`paste -d '\t' $refFile <(echo "$curValues") | tail -n +2`
else
testContent=`paste -d '\t' $refFile <(echo "$curValues") | tail -n +1`
fi
testContent=`echo "$testContent" | awk -F'\t' '{ if ($3>$2+$2*0.1) {print "* "$1"\t"$2"\t"$3"\t"(($2==0)?"-":$3/$2)} else {print " "$1"\t"$2"\t"$3"\t"(($2==0)?"-":$3/$2)} }'`
if [ -z $noHeaders ]; then
echo "$header" > $resFile
fi
echo "$testContent" >> $resFile
cat "$resFile" | tr '\t' ';' | column -t -s ';' | tee $resFile
if [ -z $tc ]; then
exit 0
fi
echo "$testContent" 2>&1 | (
while read -r s; do
testname=`echo "$s" | cut -f 1 | tr -d "[:space:]" | tr -d "*"`
duration=`echo "$s" | cut -f 3`
failed=`echo "$s" | cut -c1 | grep -c "*"`
echo \#\#teamcity[testStarted name=\'$testNamePrefix$testname\']
echo "===>$s"
echo \#\#teamcity[buildStatisticValue key=\'$testNamePrefix$testname\' value=\'$duration\']
[ $failed -eq 1 ] && echo \#\#teamcity[testFailed name=\'$testNamePrefix$testname\' message=\'$s\']
echo \#\#teamcity[testFinished name=\'$testNamePrefix$testname\' duration=\'$duration\']
failed=0
done
)

View File

@@ -0,0 +1,130 @@
#!/bin/bash -x
# The following parameters must be specified:
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built;possible values:
# <empty> or nomod - the release bundles without any additional modules (jcef)
# jcef - the release bundles with jcef
# fd - the fastdebug bundles which also include the jcef module
#
# This script makes test-image along with JDK images when bundle_type is set to "jcef".
# If the character 't' is added at the end of bundle_type then it also makes test-image along with JDK images.
#
# Environment variables:
# JDK_BUILD_NUMBER - specifies update release of OpenJDK build or the value of --with-version-build argument
# to configure
# By default JDK_BUILD_NUMBER is set zero
# JCEF_PATH - specifies the path to the directory with JCEF binaries.
# By default JCEF binaries should be located in ./jcef_win_x64
source jb/project/tools/common/scripts/common.sh
WORK_DIR=$(pwd)
JCEF_PATH=${JCEF_PATH:=$WORK_DIR/jcef_win_x64}
function do_configure {
sh ./configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="$VENDOR_NAME" \
--with-vendor-version-string="$VENDOR_VERSION_STRING" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build=$JDK_BUILD_NUMBER \
--with-version-opt=b${build_number} \
--with-toolchain-version=$TOOLCHAIN_VERSION \
--with-boot-jdk=$BOOT_JDK \
--disable-ccache \
--enable-cds=yes || do_exit $?
}
function create_image_bundle {
__bundle_name=$1
__arch_name=$2
__modules_path=$3
__modules=$4
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
echo Running jlink ...
${JSDK}/bin/jlink \
--module-path $__modules_path --no-man-pages --compress=2 \
--add-modules $__modules --output $__arch_name || do_exit $?
grep -v "^JAVA_VERSION" "$JSDK"/release | grep -v "^MODULES" >> $__arch_name/release
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then
sed 's/JBR/JBRSDK/g' $__arch_name/release > release
mv release $__arch_name/release
copy_jmods "$__modules" "$__modules_path" "$__arch_name"/jmods
fi
}
WITH_DEBUG_LEVEL="--with-debug-level=release"
RELEASE_NAME=windows-x86_64-server-release
case "$bundle_type" in
"jcef")
do_reset_changes=0
do_maketest=1
;;
"dcevm")
HEAD_REVISION=$(git rev-parse HEAD)
git am jb/project/tools/patches/dcevm/*.patch || do_exit $?
do_reset_dcevm=0
do_reset_changes=0
;;
"nomod" | "")
bundle_type=""
;;
"fd")
do_reset_changes=0
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
RELEASE_NAME=windows-x86_64-server-fastdebug
;;
esac
if [ -z "$INC_BUILD" ]; then
do_configure || do_exit $?
if [ $do_maketest -eq 1 ]; then
make LOG=info CONF=$RELEASE_NAME clean images test-image || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME clean images || do_exit $?
fi
else
if [ $do_maketest -eq 1 ]; then
make LOG=info CONF=$RELEASE_NAME images test-image || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME images || do_exit $?
fi
fi
IMAGES_DIR=build/$RELEASE_NAME/images
JSDK=$IMAGES_DIR/jdk
JSDK_MODS_DIR=$IMAGES_DIR/jmods
JBRSDK_BUNDLE=jbrsdk
where cygpath
if [ $? -eq 0 ]; then
JCEF_PATH="$(cygpath -w $JCEF_PATH | sed 's/\\/\//g')"
fi
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "dcevm" ] || [ "$bundle_type" == "fd" ]; then
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
update_jsdk_mods "$JSDK" "$JCEF_PATH"/jmods "$JSDK"/jmods "$JSDK_MODS_DIR" || do_exit $?
cp $JCEF_PATH/jmods/* ${JSDK_MODS_DIR} # $JSDK/jmods is not unchanged
jbr_name_postfix="_${bundle_type}"
fi
# create runtime image bundlef
modules=$(xargs < jb/project/tools/common/modules.list | sed s/" "//g) || do_exit $?
modules+=",jdk.crypto.mscapi"
create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" || do_exit $?
# create sdk image bundle
modules=$(cat ${JSDK}/release | grep MODULES | sed s/MODULES=//g | sed s/' '/','/g | sed s/\"//g | sed s/\\r//g | sed s/\\n//g)
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "dcevm" ] || [ "$bundle_type" == "fd" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
modules=${modules},$(get_mods_list "$JCEF_PATH"/jmods)
fi
create_image_bundle "$JBRSDK_BUNDLE${jbr_name_postfix}" "$JBRSDK_BUNDLE" "$JSDK_MODS_DIR" "$modules" || do_exit $?
do_exit 0

View File

@@ -0,0 +1,63 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
source jb/project/tools/common/scripts/common.sh
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
WORK_DIR=$(pwd)
[ -z "$bundle_type" ] && (git apply -p0 < jb/project/tools/patches/exclude_jcef_module.patch || exit $?)
PATH="/usr/local/bin:/usr/bin:${PATH}"
./configure \
--with-target-bits=32 \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
--with-toolchain-version=${TOOLCHAIN_VERSION} \
--with-boot-jdk=${BOOT_JDK} \
--disable-ccache \
--enable-cds=yes || exit 1
make clean CONF=windows-x86-server-release || exit 1
make LOG=info images CONF=windows-x86-server-release test-image || exit 1
JBSDK=${JBRSDK_BASE_NAME}-windows-x86-b${build_number}
BASE_DIR=build/windows-x86-server-release/images
JSDK=${BASE_DIR}/jdk
JBRSDK_BUNDLE=jbrsdk
rm -rf ${BASE_DIR}/${JBRSDK_BUNDLE} && rsync -a --exclude demo --exclude sample ${JSDK}/ ${JBRSDK_BUNDLE} || exit 1
sed 's/JBR/JBRSDK/g' ${JSDK}/release > release
mv release ${JBRSDK_BUNDLE}/release
JBR_BUNDLE=jbr
rm -rf ${JBR_BUNDLE}
grep -v javafx jb/project/tools/common/modules.list | grep -v "jdk.internal.vm\|jdk.aot\|jcef" > modules.list.x86
echo ",jdk.crypto.mscapi" >> modules.list.x86
${JSDK}/bin/jlink \
--module-path ${JSDK}/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules.list.x86 | sed s/" "//g) --output ${JBR_BUNDLE} || exit $?
echo Modifying release info ...
#grep -v \"^JAVA_VERSION\" ${JSDK}/release | grep -v \"^MODULES\" >> ${JBR_BUNDLE}/release

View File

@@ -0,0 +1,48 @@
#!/bin/bash -x
# The following parameters must be specified:
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built;possible values:
# <empty> or nomod - the release bundles without any additional modules (jcef)
# jcef - the release bundles with jcef
# fd - the fastdebug bundles which also include the jcef module
#
# This script packs test-image along with JDK images when bundle_type is set to "jcef".
# If the character 't' is added at the end of bundle_type then it also makes test-image along with JDK images.
#
source jb/project/tools/common/scripts/common.sh
[ "$bundle_type" == "jcef" ] && do_maketest=1
function pack_jbr {
__bundle_name=$1
__arch_name=$2
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
JBR=${__bundle_name}-${JBSDK_VERSION}-windows-x64-${fastdebug_infix}b${build_number}
echo Creating $JBR.tar.gz ...
/usr/bin/tar -czf $JBR.tar.gz -C $BASE_DIR $__arch_name || do_exit $?
}
[ "$bundle_type" == "nomod" ] && bundle_type=""
JBRSDK_BUNDLE=jbrsdk
RELEASE_NAME=windows-x86_64-server-release
IMAGES_DIR=build/$RELEASE_NAME/images
BASE_DIR=.
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "dcevm" ] || [ "$bundle_type" == "fd" ]; then
jbr_name_postfix="_${bundle_type}"
fi
pack_jbr jbr${jbr_name_postfix} jbr
pack_jbr jbrsdk${jbr_name_postfix} jbrsdk
if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=$JBRSDK_BUNDLE-$JBSDK_VERSION-windows-test-x64-b$build_number
echo Creating $JBRSDK_TEST.tar.gz ...
/usr/bin/tar -czf $JBRSDK_TEST.tar.gz -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
fi

View File

@@ -0,0 +1,42 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
JBRSDK_BASE_NAME=jbrsdk-$JBSDK_VERSION
JBR_BASE_NAME=jbr-$JBSDK_VERSION
IMAGES_DIR=build/windows-x86-server-release/images
JSDK=$IMAGES_DIR/jdk
JBSDK=$JBRSDK_BASE_NAME-windows-x86-b$build_number
BASE_DIR=.
JBRSDK_BUNDLE=jbrsdk
echo Creating $JBSDK.tar.gz ...
/usr/bin/tar -czf $JBSDK.tar.gz $JBRSDK_BUNDLE || exit 1
JBR_BUNDLE=jbr
JBR_BASE_NAME=jbr-${JBSDK_VERSION}
JBR=$JBR_BASE_NAME-windows-x86-b$build_number
echo Creating $JBR.tar.gz ...
/usr/bin/tar -czf $JBR.tar.gz -C $BASE_DIR ${JBR_BUNDLE} || exit 1
JBRSDK_TEST=$JBRSDK_BASE_NAME-windows-test-x86-b$build_number
echo Creating $JBRSDK_TEST.tar.gz ...
/usr/bin/tar -czf $JBRSDK_TEST.tar.gz -C $IMAGES_DIR --exclude='test/jdk/demos' test || exit 1

View File

@@ -29,7 +29,7 @@ include $(SPEC)
include MakeBase.gmk
# When FIXPATH is set, let it process the file to make sure all paths are usable
# by system native tools. The FIXPATH tool assumes arguments preceeded by an @
# by system native tools. The FIXPATH tool assumes arguments preceded by an @
# character points to a text file containing further arguments (similar to a
# linker). It replaces any such arguments with a different temporary filename,
# whose contents has been processed to make any paths native. To obtain a

View File

@@ -104,7 +104,7 @@ define SetupBuildDemoBody
ifneq ($$($1_SRC_SUB_DIR), )
$1_MAIN_SRC := $$($1_SRC_BASE)/$$($1_SRC_SUB_DIR)
else
# for allmost all
# for almost all
$1_MAIN_SRC := $$($1_SRC_BASE)
endif

View File

@@ -71,11 +71,11 @@ define SetupInterimModule
SRC := $(BUILDTOOLS_OUTPUTDIR)/gensrc/$1.interim \
$$(wildcard $(SUPPORT_OUTPUTDIR)/gensrc/$1) \
$(TOPDIR)/src/$1/share/classes, \
EXCLUDES := sun, \
EXCLUDES := sun javax/tools/snippet-files, \
EXCLUDE_FILES := $(TOPDIR)/src/$1/share/classes/module-info.java \
Standard.java, \
EXTRA_FILES := $(BUILDTOOLS_OUTPUTDIR)/gensrc/$1.interim/module-info.java, \
COPY := .gif .png .xml .css .js .js.template .txt javax.tools.JavaCompilerTool, \
COPY := .gif .png .xml .css .svg .js .js.template .txt javax.tools.JavaCompilerTool, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/interim_langtools_modules/$1.interim, \
DISABLED_WARNINGS := module options, \
JAVAC_FLAGS := \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -196,6 +196,11 @@ else # not java.base
endif
endif
# Set main class of jdk.httpserver module
ifeq ($(MODULE), jdk.httpserver)
JMOD_FLAGS += --main-class sun.net.httpserver.simpleserver.Main
endif
# Changes to the jmod tool itself should also trigger a rebuild of all jmods.
# The variable JMOD_CMD could contain an environment variable assignment before
# the actual command. Filter that out using wildcard before adding to DEPS.
@@ -213,12 +218,19 @@ endif
ifeq ($(call isTargetOs, windows), true)
ifeq ($(SHIP_DEBUG_SYMBOLS), )
JMOD_FLAGS += --exclude '**{_the.*,_*.marker,*.diz,*.pdb,*.map}'
JMOD_FLAGS += --exclude '**{_the.*,_*.marker*,*.diz,*.pdb,*.map}'
else
JMOD_FLAGS += --exclude '**{_the.*,_*.marker,*.diz,*.map}'
JMOD_FLAGS += --exclude '**{_the.*,_*.marker*,*.diz,*.map}'
endif
else
JMOD_FLAGS += --exclude '**{_the.*,_*.marker,*.diz,*.debuginfo,*.dSYM/**,*.dSYM}'
JMOD_FLAGS += --exclude '**{_the.*,_*.marker*,*.diz,*.debuginfo,*.dSYM/**,*.dSYM}'
endif
# For reproducible builds specify the jmod --date using SOURCE_DATE in ISO-8601
ifeq ($(ENABLE_REPRODUCIBLE_BUILD), true)
JMOD_SOURCE_DATE := --date $(SOURCE_DATE_ISO_8601)
else
JMOD_SOURCE_DATE :=
endif
# Create jmods in the support dir and then move them into place to keep the
@@ -232,6 +244,7 @@ $(eval $(call SetupExecute, create_$(JMOD_FILE), \
COMMAND := $(JMOD) create --module-version $(VERSION_SHORT) \
--target-platform '$(OPENJDK_MODULE_TARGET_PLATFORM)' \
--module-path $(JMODS_DIR) $(JMOD_FLAGS) \
$(JMOD_SOURCE_DATE) \
$(JMODS_SUPPORT_DIR)/$(JMOD_FILE), \
POST_COMMAND := $(MV) $(JMODS_SUPPORT_DIR)/$(JMOD_FILE) $(JMODS_DIR)/$(JMOD_FILE), \
))

View File

@@ -131,7 +131,7 @@ JAVA_PLATFORM := Java Platform
ifeq ($(IS_DRAFT), true)
DRAFT_MARKER_STR := <br><strong>DRAFT $(VERSION_STRING)</strong>
ifeq ($(VERSION_BUILD), 0)
ifeq ($(VERSION_BUILD), )
DRAFT_MARKER_TITLE := $(SPACE)[ad-hoc build]
else
DRAFT_MARKER_TITLE := $(SPACE)[build $(VERSION_BUILD)]

148
make/Doctor.gmk Normal file
View File

@@ -0,0 +1,148 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Doctor.gmk))
################################################################################
#
# Help user diagnose possible errors and problems with the build environment.
#
prologue:
$(ECHO)
$(ECHO) '"make doctor" will help you analyze your build environment. It can highlight'
$(ECHO) 'certain well-known problems, but it can never find all possible errors.'
TARGETS += prologue
check-git: prologue
$(ECHO)
$(ECHO) '* Verifying that configure has picked up git...'
ifeq ($(GIT), )
$(ECHO) 'WARNING: "git" is not present. This will disable several checks.'
$(ECHO) '! Correct by installing git and verifying that it is in the PATH'
endif
TARGETS += check-git
ifneq ($(GIT), )
AUTOCRLF := $(shell $(GIT) config core.autocrlf)
endif
check-autocrlf: check-git
ifneq ($(GIT), )
ifeq ($(call isBuildOs, windows), true)
$(ECHO)
$(ECHO) '* Verifying git core.autocrlf value...'
ifneq ($(AUTOCRLF), false)
$(ECHO) 'WARNING: core.autocrlf is not "false". HIGH RISK of build failure!'
$(ECHO) '! Correct by running 'git config --global core.autocrlf false' and re-cloning the repo'
endif
endif
endif
TARGETS += check-autocrlf
check-configure-warnings: check-autocrlf
$(ECHO)
$(ECHO) '* Checking for warnings from configure...'
warning_output=`$(GREP) -e "^\* Memory limit:" -A 300 $(OUTPUTDIR)/configure.log | $(TAIL) -n +3 | $(SED) -e '$(DOLLAR){/^$(DOLLAR)/d;}'` && \
if test -n "$$warning_output" ; then \
$(ECHO) ' ---' ; \
$(GREP) -e "^\* Memory limit:" -A 300 $(OUTPUTDIR)/configure.log | $(TAIL) -n +3 | $(SED) -e '$(DOLLAR){/^$(DOLLAR)/d;}' ; \
$(ECHO) ' ---' ; \
$(ECHO) '! Inspect the warnings, fix any problems, and re-run configure' ; \
fi
TARGETS += check-configure-warnings
ifneq ($(GIT), )
# This might have been set by custom component
UNTRACKED_FILES ?= $(shell $(GIT) status --porcelain --ignored | $(CUT) -c 4-)
endif
check-core-files: check-configure-warnings
ifneq ($(GIT), )
$(ECHO)
$(ECHO) '* Checking for left-over core files...'
core_files_found=`echo "$(UNTRACKED_FILES)" | $(TR) ' ' '\n' | $(GREP) core` && \
if test -n "$$core_files_found" ; then \
$(ECHO) 'Found these potential core files. They might interfere with the build process:' ; \
$(ECHO) ' ---' ; \
$(ECHO) $$core_files_found | $(TR) ' ' '\n'; \
$(ECHO) ' ---' ; \
$(ECHO) '! Remove left-over core files' ; \
fi || : # do nothing if grep returns non-0 value
endif
TARGETS += check-core-files
check-bad-file-names: check-core-files
ifneq ($(GIT), )
$(ECHO)
$(ECHO) '* Checking for untracked files with illegal names...'
core_files_found=`echo "$(UNTRACKED_FILES)" | $(TR) ' ' '\n' | $(GREP) '#'` && \
if test -n "$$core_files_found" ; then \
$(ECHO) 'Found these files with illegal names. They *will* cause build failures:' ; \
$(ECHO) ' ---' ; \
$(ECHO) $$core_files_found | $(TR) ' ' '\n'; \
$(ECHO) ' ---' ; \
$(ECHO) '! Remove all files with '#' in their name from the JDK source tree' ; \
fi || : # do nothing if grep returns non-0 value
endif
TARGETS += check-bad-file-names
epilogue: check-bad-file-names
$(ECHO)
$(ECHO) '* If all else fails, try removing the entire build directory and re-creating'
$(ECHO) 'the same configuration using:'
$(ECHO) ' ---' ; \
$(ECHO) configure_command_line=\$$\(make print-configuration\)
$(ECHO) make dist-clean
$(ECHO) bash configure \$$configure_command_line
$(ECHO) ' ---' ; \
$(ECHO)
$(ECHO) '* The build README (doc/building.md) is a great source of information,'
$(ECHO) 'especially the chapter "Fixing Unexpected Build Failures". Check it out!'
$(ECHO)
$(ECHO) '* If you still need assistance please contact build-dev@openjdk.java.net.'
$(ECHO)
TARGETS += epilogue
################################################################################
doctor: $(TARGETS)
all: doctor
.PHONY: default all doctor $(TARGETS)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -88,7 +88,10 @@ $(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXECUTABLE_SUFFIX) $(CLASSLIST
$(CAT) $(LINK_OPT_DIR)/stderr $(JLI_TRACE_FILE) ; \
exit $$exitcode \
)
$(GREP) -v HelloClasslist $@.raw.2 > $@
$(GREP) -v HelloClasslist $@.raw.2 > $@.raw.3
$(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java \
-cp $(SUPPORT_OUTPUTDIR)/classlist.jar \
build.tools.classlist.SortClasslist $@.raw.3 > $@
# The jli trace is created by the same recipe as classlist. By declaring these
# dependencies, make will correctly rebuild both jli trace and classlist

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -53,14 +53,17 @@ help:
$(info $(_) make docs-jdk-api # Create just JDK javadocs)
$(info $(_) make bootcycle-images # Build images twice, second time with newly built JDK)
$(info $(_) make install # Install the generated images locally)
$(info $(_) make reconfigure # Rerun configure with the same arguments as last time)
$(info $(_) make help # Give some help on using make)
$(info $(_) make check # Run basic testing (currently tier1))
$(info $(_) make test-<test> # Run test, e.g. test-tier1)
$(info $(_) make test TEST=<t> # Run test(s) given by TEST specification)
$(info $(_) make exploded-test TEST=<t> # Run test(s) on the exploded image instead of)
$(info $(_) # the full jdk image)
$(info )
$(info Targets for troubleshooting)
$(info $(_) make help # Give some help on using make)
$(info $(_) make doctor # Diagnose build environment problems)
$(info $(_) make reconfigure # Rerun configure with the same arguments as last time)
$(info )
$(info Targets for cleaning)
$(info $(_) make clean # Remove all files generated by make, but not those)
$(info $(_) # generated by configure)

View File

@@ -23,7 +23,7 @@
# questions.
#
# This makefile creates a jdk image overlayed with statically linked core
# This makefile creates a jdk image overlaid with statically linked core
# libraries.
default: all

204
make/Hsdis.gmk Normal file
View File

@@ -0,0 +1,204 @@
#
# Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
include JdkNativeCompilation.gmk
################################################################################
# This makefile compiles and installs the hsdis library
#
################################################################################
HSDIS_OUTPUT_DIR := $(SUPPORT_OUTPUTDIR)/hsdis
REAL_HSDIS_NAME := hsdis-$(OPENJDK_TARGET_CPU_LEGACY_LIB)$(SHARED_LIBRARY_SUFFIX)
BUILT_HSDIS_LIB := $(HSDIS_OUTPUT_DIR)/$(REAL_HSDIS_NAME)
HSDIS_TOOLCHAIN := TOOLCHAIN_DEFAULT
HSDIS_TOOLCHAIN_CFLAGS := $(CFLAGS_JDKLIB)
HSDIS_TOOLCHAIN_LDFLAGS := $(LDFLAGS_JDKLIB)
ifeq ($(HSDIS_BACKEND), capstone)
ifeq ($(call isTargetCpuArch, x86), true)
CAPSTONE_ARCH := CS_ARCH_X86
CAPSTONE_MODE := CS_MODE_$(OPENJDK_TARGET_CPU_BITS)
else ifeq ($(call isTargetCpuArch, aarch64), true)
CAPSTONE_ARCH := CS_ARCH_ARM64
CAPSTONE_MODE := CS_MODE_ARM
else
$(error No support for Capstone on this platform)
endif
HSDIS_CFLAGS += -DCAPSTONE_ARCH=$(CAPSTONE_ARCH) \
-DCAPSTONE_MODE=$(CAPSTONE_MODE)
endif
ifeq ($(HSDIS_BACKEND), llvm)
# Use C++ instead of C
HSDIS_TOOLCHAIN_CFLAGS := $(CXXFLAGS_JDKLIB)
HSDIS_TOOLCHAIN := TOOLCHAIN_LINK_CXX
ifeq ($(call isTargetOs, linux), true)
LLVM_OS := pc-linux-gnu
else ifeq ($(call isTargetOs, macosx), true)
LLVM_OS := apple-darwin
else ifeq ($(call isTargetOs, windows), true)
LLVM_OS := pc-windows-msvc
else
$(error No support for LLVM on this platform)
endif
HSDIS_CFLAGS += -DLLVM_DEFAULT_TRIPLET='"$(OPENJDK_TARGET_CPU)-$(LLVM_OS)"'
endif
ifeq ($(HSDIS_BACKEND), binutils)
ifeq ($(call isTargetOs, windows), true)
# On windows, we need to "fake" a completely different toolchain using gcc
# instead of the normal microsoft toolchain. This is quite hacky...
MINGW_BASE := x86_64-w64-mingw32
MINGW_SYSROOT = $(shell $(MINGW_BASE)-gcc -print-sysroot)
ifeq ($(wildcard $(MINGW_SYSROOT)), )
# Use fallback path
MINGW_SYSROOT := /usr/$(MINGW_BASE)
ifeq ($(wildcard $(MINGW_SYSROOT)), )
$(error mingw sysroot not found)
endif
endif
$(eval $(call DefineNativeToolchain, TOOLCHAIN_MINGW, \
CC := $(MINGW_BASE)-gcc, \
LD := $(MINGW_BASE)-ld, \
OBJCOPY := $(MINGW_BASE)-objcopy, \
RC := $(RC), \
SYSROOT_CFLAGS := --sysroot=$(MINGW_SYSROOT), \
SYSROOT_LDFLAGS := --sysroot=$(MINGW_SYSROOT), \
))
MINGW_SYSROOT_LIB_PATH := $(MINGW_SYSROOT)/mingw/lib
ifeq ($(wildcard $(MINGW_SYSROOT_LIB_PATH)), )
# Try without mingw
MINGW_SYSROOT_LIB_PATH := $(MINGW_SYSROOT)/lib
ifeq ($(wildcard $(MINGW_SYSROOT_LIB_PATH)), )
$(error mingw sysroot lib path not found)
endif
endif
MINGW_VERSION = $(shell $(MINGW_BASE)-gcc -v 2>&1 | $(GREP) "gcc version" | $(CUT) -d " " -f 3)
MINGW_GCC_LIB_PATH := /usr/lib/gcc/$(MINGW_BASE)/$(MINGW_VERSION)
ifeq ($(wildcard $(MINGW_GCC_LIB_PATH)), )
# Try using only major version number
MINGW_VERSION_MAJOR := $(firstword $(subst ., , $(MINGW_VERSION)))
MINGW_GCC_LIB_PATH := /usr/lib/gcc/$(MINGW_BASE)/$(MINGW_VERSION_MAJOR)
ifeq ($(wildcard $(MINGW_GCC_LIB_PATH)), )
$(error mingw gcc lib path not found)
endif
endif
TOOLCHAIN_TYPE := gcc
OPENJDK_TARGET_OS := linux
CC_OUT_OPTION := -o$(SPACE)
LD_OUT_OPTION := -o$(SPACE)
GENDEPS_FLAGS := -MMD -MF
CFLAGS_DEBUG_SYMBOLS := -g
DISABLED_WARNINGS :=
DISABLE_WARNING_PREFIX := -Wno-
CFLAGS_WARNINGS_ARE_ERRORS := -Werror
SHARED_LIBRARY_FLAGS := -shared
HSDIS_TOOLCHAIN := TOOLCHAIN_MINGW
HSDIS_TOOLCHAIN_CFLAGS :=
HSDIS_TOOLCHAIN_LDFLAGS := -L$(MINGW_GCC_LIB_PATH) -L$(MINGW_SYSROOT_LIB_PATH)
MINGW_DLLCRT := $(MINGW_SYSROOT_LIB_PATH)/dllcrt2.o
HSDIS_TOOLCHAIN_LIBS := $(MINGW_DLLCRT) -lmingw32 -lgcc -lgcc_eh -lmoldname \
-lmingwex -lmsvcrt -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32
else
HSDIS_TOOLCHAIN_LIBS := -ldl
endif
endif
$(eval $(call SetupJdkLibrary, BUILD_HSDIS, \
NAME := hsdis, \
SRC := $(TOPDIR)/src/utils/hsdis/$(HSDIS_BACKEND), \
EXTRA_HEADER_DIRS := $(TOPDIR)/src/utils/hsdis, \
TOOLCHAIN := $(HSDIS_TOOLCHAIN), \
OUTPUT_DIR := $(HSDIS_OUTPUT_DIR), \
OBJECT_DIR := $(HSDIS_OUTPUT_DIR), \
DISABLED_WARNINGS_gcc := undef format-nonliteral sign-compare, \
DISABLED_WARNINGS_clang := undef format-nonliteral, \
CFLAGS := $(HSDIS_TOOLCHAIN_CFLAGS) $(HSDIS_CFLAGS), \
LDFLAGS := $(HSDIS_TOOLCHAIN_LDFLAGS) $(HSDIS_LDFLAGS) $(SHARED_LIBRARY_FLAGS), \
LIBS := $(HSDIS_LIBS) $(HSDIS_TOOLCHAIN_LIBS), \
))
$(BUILT_HSDIS_LIB): $(BUILD_HSDIS_TARGET)
$(install-file)
build: $(BUILD_HSDIS) $(BUILT_HSDIS_LIB)
TARGETS += build
ifeq ($(ENABLE_HSDIS_BUNDLING), false)
ifeq ($(call isTargetOs, windows), true)
JDK_HSDIS_DIR := $(JDK_OUTPUTDIR)/bin
IMAGE_HSDIS_DIR := $(JDK_IMAGE_DIR)/bin
else
JDK_HSDIS_DIR := $(JDK_OUTPUTDIR)/lib
IMAGE_HSDIS_DIR := $(JDK_IMAGE_DIR)/lib
endif
INSTALLED_HSDIS_JDK := $(JDK_HSDIS_DIR)/$(REAL_HSDIS_NAME)
INSTALLED_HSDIS_IMAGE := $(IMAGE_HSDIS_DIR)/$(REAL_HSDIS_NAME)
$(INSTALLED_HSDIS_JDK): $(BUILT_HSDIS_LIB)
ifeq ($(HSDIS_BACKEND), binutils)
$(call LogWarn, NOTE: The resulting build might not be redistributable. Seek legal advice before distributing.)
endif
$(install-file)
$(INSTALLED_HSDIS_IMAGE): $(BUILT_HSDIS_LIB)
$(install-file)
install: $(INSTALLED_HSDIS_JDK) $(INSTALLED_HSDIS_IMAGE)
else
install:
$(ECHO) NOTE: make install-hsdis is a no-op with --enable-hsdis-bundling
endif
TARGETS += install
################################################################################
all: $(TARGETS)
.PHONY: all default build install

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -352,7 +352,7 @@ else # HAS_SPEC=true
$(call PrintFailureReports)
$(call PrintBuildLogFailures)
$(call ReportProfileTimes)
$(PRINTF) "Hint: See doc/building.html#troubleshooting for assistance.\n\n"
$(PRINTF) "HELP: Run 'make doctor' to diagnose build problems.\n\n"
ifneq ($(COMPARE_BUILD), )
$(call CleanupCompareBuild)
endif

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -310,9 +310,10 @@ else # $(HAS_SPEC)=true
# level of reproducible builds
define SetupReproducibleBuild
ifeq ($$(SOURCE_DATE), updated)
SOURCE_DATE := $$(shell $$(DATE) +"%s")
# For static values of SOURCE_DATE (not "updated"), these are set in spec.gmk
export SOURCE_DATE_EPOCH := $$(shell $$(DATE) +"%s")
export SOURCE_DATE_ISO_8601 := $$(call EpochToISO8601, $$(SOURCE_DATE_EPOCH))
endif
export SOURCE_DATE_EPOCH := $$(SOURCE_DATE)
endef
# Parse COMPARE_BUILD into COMPARE_BUILD_*
@@ -460,10 +461,10 @@ else # $(HAS_SPEC)=true
$(PRINTF) "\n=== Make failed targets repeated here ===\n" ; \
$(GREP) "recipe for target .* failed" $(BUILD_LOG) ; \
$(PRINTF) "=== End of repeated output ===\n" ; \
$(PRINTF) "\nHint: Try searching the build log for the name of the first failed target.\n" ; \
$(PRINTF) "\nHELP: Try searching the build log for the name of the first failed target.\n" ; \
else \
$(PRINTF) "\nNo indication of failed target found.\n" ; \
$(PRINTF) "Hint: Try searching the build log for '] Error'.\n" ; \
$(PRINTF) "HELP: Try searching the build log for '] Error'.\n" ; \
fi \
)
endef

84
make/JBRApi.gmk Normal file
View File

@@ -0,0 +1,84 @@
#
# Copyright 2000-2021 JetBrains s.r.o.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
JBR_API_ROOT_DIR := $(TOPDIR)/src/jetbrains.api
JBR_API_TOOLS_DIR := $(JBR_API_ROOT_DIR)/tools
JBR_API_SRC_DIR := $(JBR_API_ROOT_DIR)/src
JBR_API_OUTPUT_DIR := $(OUTPUTDIR)/jbr-api
JBR_API_GENSRC_DIR := $(JBR_API_OUTPUT_DIR)/gensrc
JBR_API_BIN_DIR := $(JBR_API_OUTPUT_DIR)/bin
JBR_API_VERSION_PROPERTIES := $(JBR_API_ROOT_DIR)/version.properties
JBR_API_VERSION_GENSRC := $(JBR_API_OUTPUT_DIR)/jbr-api.version
JBR_API_GENSRC_BATCH := $(JBR_API_VERSION_GENSRC)
JBR_API_SRC_FILES := $(call FindFiles, $(JBR_API_SRC_DIR))
JBR_API_GENSRC_FILES := $(foreach f, $(call FindFiles, $(JBR_API_SRC_DIR)), \
$(JBR_API_GENSRC_DIR)/$(call RelativePath, $f, $(JBR_API_SRC_DIR)))
ifeq ($(JBR_API_JBR_VERSION),)
JBR_API_JBR_VERSION := <DEVELOPMENT>
JBR_API_FAIL_ON_HASH_MISMATCH := false
else
.PHONY: $(JBR_API_VERSION_PROPERTIES)
JBR_API_FAIL_ON_HASH_MISMATCH := true
endif
ARCHIVE_BUILD_JBR_API_BIN := $(JBR_API_BIN_DIR)
$(eval $(call SetupJavaCompilation, BUILD_JBR_API, \
SMALL_JAVA := true, \
COMPILER := bootjdk, \
SRC := $(JBR_API_GENSRC_DIR), \
EXTRA_FILES := $(JBR_API_GENSRC_FILES), \
BIN := $(JBR_API_BIN_DIR), \
JAR := $(JBR_API_OUTPUT_DIR)/jbr-api.jar, \
))
$(eval $(call SetupJarArchive, BUILD_JBR_API_SOURCES_JAR, \
DEPENDENCIES := $(JBR_API_GENSRC_FILES), \
SRCS := $(JBR_API_GENSRC_DIR), \
JAR := $(JBR_API_OUTPUT_DIR)/jbr-api-sources.jar, \
SUFFIXES := .java, \
BIN := $(JBR_API_BIN_DIR), \
))
# Grouped targets may not be supported, so hack dependencies: sources -> version file -> generated sources
$(JBR_API_VERSION_GENSRC): $(JBR_API_SRC_FILES) $(JBR_API_VERSION_PROPERTIES) $(JBR_API_TOOLS_DIR)/Gensrc.java
$(ECHO) Generating sources for JBR API
$(JAVA_CMD) $(JAVA_FLAGS_SMALL) "$(JBR_API_TOOLS_DIR)/Gensrc.java" \
"$(TOPDIR)/src" "$(JBR_API_OUTPUT_DIR)" "$(JBR_API_JBR_VERSION)"
$(JBR_API_GENSRC_FILES): $(JBR_API_VERSION_GENSRC)
$(TOUCH) $@
jbr-api-check-version: $(JBR_API_GENSRC_FILES) $(JBR_API_VERSION_PROPERTIES)
$(JAVA_CMD) $(JAVA_FLAGS_SMALL) "$(JBR_API_TOOLS_DIR)/CheckVersion.java" \
"$(JBR_API_ROOT_DIR)" "$(JBR_API_GENSRC_DIR)" "$(JBR_API_FAIL_ON_HASH_MISMATCH)"
jbr-api: $(BUILD_JBR_API) $(BUILD_JBR_API_SOURCES_JAR) jbr-api-check-version
.PHONY: jbr-api jbr-api-check-version
ifneq ($(JBR_API_CONF_FILE),)
$(JBR_API_CONF_FILE): $(JBR_API_GENSRC_FILES)
$(ECHO) "VERSION=`$(CAT) $(JBR_API_VERSION_GENSRC)`" > $(JBR_API_CONF_FILE)
$(ECHO) "JAR=$(JBR_API_OUTPUT_DIR)/jbr-api.jar" >> $(JBR_API_CONF_FILE)
$(ECHO) "SOURCES_JAR=$(JBR_API_OUTPUT_DIR)/jbr-api-sources.jar" >> $(JBR_API_CONF_FILE)
jbr-api: $(JBR_API_CONF_FILE)
.PHONY: $(JBR_API_CONF_FILE)
endif

Some files were not shown because too many files have changed in this diff Show More