]> source.dussan.org Git - aspectj.git/commit
Add regression tests for inheritable thread-local memory leak
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Wed, 6 Mar 2024 14:27:50 +0000 (15:27 +0100)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Tue, 12 Mar 2024 07:21:38 +0000 (08:21 +0100)
commit966397e3bfe0d38aeca28c6aec0f543d62a0e2ea
tree1e682471439a1f176868a211f2249341677724d8
parent512d3fc281d2e56227e487dbf8ccee28cb63e589
Add regression tests for inheritable thread-local memory leak

Leak was introduced in commit 3c80a36527, fixing #128, but introducing
#288 instead, which was the lesser of two evils, but still bad for some
users unwilling to use native AspectJ syntax for their aspects, avoiding
the problem.

Relates to #288.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
tests/bugs1921/github_288/FirstAspect.aj [new file with mode: 0644]
tests/bugs1921/github_288/MemoryHog.java [new file with mode: 0644]
tests/bugs1921/github_288/NestedAroundClosureMemoryLeakTest.java [new file with mode: 0644]
tests/bugs1921/github_288/SecondAspect.aj [new file with mode: 0644]
tests/src/test/java/org/aspectj/systemtest/ajc1921/Bugs1921Tests.java
tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml