[jdk11u-dev] RFR: 8277072: ObjectStreamClass caches keep ClassLoaders alive [v2]

Roman Kennke rkennke at openjdk.java.net
Thu Mar 17 15:53:32 UTC 2022


> Hi all,
> 
> This pull request contains a backport of commit [8eb453ba](https://github.com/openjdk/jdk/commit/8eb453baebe377697286f7eb32280ca9f1fd7775) from the [openjdk/jdk](https://git.openjdk.java.net/jdk) repository.
> 
> The commit being backported was authored by Roman Kennke on 10 Dec 2021 and was reviewed by Roger Riggs and Peter Levart.
> 
> It fixes a memory leak in ObjectStreamClass under certain conditions. See bug for details.
> The backport was not clean, there have been some rather minor differences in context.
> 
> Thanks!

Roman Kennke has updated the pull request incrementally with one additional commit since the last revision:

  Fix usage of Reference.refersTo() in new test

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk11u-dev/pull/869/files
  - new: https://git.openjdk.java.net/jdk11u-dev/pull/869/files/054c7215..5ec1e0b8

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=869&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=869&range=00-01

  Stats: 7 lines in 1 file changed: 2 ins; 2 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk11u-dev/pull/869.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/869/head:pull/869

PR: https://git.openjdk.java.net/jdk11u-dev/pull/869


More information about the jdk-updates-dev mailing list