Re: [OpenJDK 2D-Dev] RFR: 8257500: Drawing MultiResolutionImage with ImageObserver "leaks" memory

2021-02-25 Thread Alexander Zvegintsev
On Wed, 24 Feb 2021 18:57:25 GMT, Sergey Bylokhov wrote: > This bug was reported as a leak of the ImageObserver when the user draws a > multiresolution image. > > The multiresolution image is an image that contains a few images inside, when > the app uses the observer to get notifications

Re: [OpenJDK 2D-Dev] RFR: 8257500: Drawing MultiResolutionImage with ImageObserver "leaks" memory

2021-02-25 Thread Sergey Bylokhov
On Fri, 26 Feb 2021 00:52:51 GMT, Alexander Zvegintsev wrote: >> This bug was reported as a leak of the ImageObserver when the user draws a >> multiresolution image. >> >> The multiresolution image is an image that contains a few images inside, >> when the app uses the observer to get

Re: [OpenJDK 2D-Dev] RFR: 8257500: Drawing MultiResolutionImage with ImageObserver "leaks" memory

2021-02-25 Thread Alexander Zvegintsev
On Wed, 24 Feb 2021 18:57:25 GMT, Sergey Bylokhov wrote: > This bug was reported as a leak of the ImageObserver when the user draws a > multiresolution image. > > The multiresolution image is an image that contains a few images inside, when > the app uses the observer to get notifications

Re: [OpenJDK 2D-Dev] RFR: 8262161 Refactor manual I/O stream copying to new convinient methods in java.desktop

2021-02-25 Thread Sergey Bylokhov
On Mon, 21 Dec 2020 07:54:17 GMT, Andrey Turbanov wrote: > Cleanup code to use new handy methods in > `java.io.InputStream`/`java.nio.file.Files` instead of manual stream copy: > 1. java.io.InputStream#readAllBytes > 2. java.io.InputStream#transferTo > 3. java.nio.file.Files#copy > > Similar

Re: [OpenJDK 2D-Dev] RFR: 8262161 Refactor manual I/O stream copying to new convinient methods in java.desktop

2021-02-25 Thread Phil Race
On Mon, 21 Dec 2020 07:54:17 GMT, Andrey Turbanov wrote: > Cleanup code to use new handy methods in > `java.io.InputStream`/`java.nio.file.Files` instead of manual stream copy: > 1. java.io.InputStream#readAllBytes > 2. java.io.InputStream#transferTo > 3. java.nio.file.Files#copy > > Similar

[OpenJDK 2D-Dev] Integrated: 8261170: Upgrade to freetype 2.10.4

2021-02-25 Thread Phil Race
On Wed, 24 Feb 2021 18:34:31 GMT, Phil Race wrote: > This upgrades JDK (Java2D) from using freetype 2.10.2 to 2.10.4. > A minor upgrade but there's been some refactoring of include files so most > files are touched. > Testing looks good. This pull request has now been integrated. Changeset:

Re: [OpenJDK 2D-Dev] RFR: 8253795: Implementation of JEP 391: macOS/AArch64 Port [v18]

2021-02-25 Thread Gerard Ziemski
On Wed, 17 Feb 2021 12:36:10 GMT, Anton Kozlov wrote: >> Please review the implementation of JEP 391: macOS/AArch64 Port. >> >> It's heavily based on existing ports to linux/aarch64, macos/x86_64, and >> windows/aarch64. >> >> Major changes are in: >> * src/hotspot/cpu/aarch64: support of

[OpenJDK 2D-Dev] Withdrawn: 8231041: Spotbugs: Null check of value previously dereferenced in java.desktop

2021-02-25 Thread duke
On Tue, 22 Dec 2020 19:39:57 GMT, Andrey Turbanov wrote: > I checked JDK16 repository in SpotBugs 4.2.0 > ![изображение](https://user-images.githubusercontent.com/741251/102926543-405c9000-44a6-11eb-9772-bf81a22ec78a.png) > I fixed only places in java.desktop module. > I didn't fixed places,

Re: [OpenJDK 2D-Dev] RFR: 8261170: Upgrade to freetype 2.10.4

2021-02-25 Thread Alexander Zuev
On Wed, 24 Feb 2021 18:34:31 GMT, Phil Race wrote: > This upgrades JDK (Java2D) from using freetype 2.10.2 to 2.10.4. > A minor upgrade but there's been some refactoring of include files so most > files are touched. > Testing looks good. Marked as reviewed by kizune (Reviewer). -