GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: 修复临时脚本线程泄漏(OOM 根因)并升级版本至 3.4.55 by xlorne · Pull Request #209 · codingapi/springboot-framework

Conversation

@xlorne

@xlorne xlorne commented Aug 6, 2026

Copy link
Copy Markdown
Contributor
  • TempGroovyScriptContext 改用共享 daemon 调度线程,根治每脚本 new Timer() 的原生线程泄漏
  • 覆盖/删除/清空/cache-miss 时 cancel 定时任务,ConcurrentHashMap 防并发
  • 修正绝对到期时间戳误传为相对延迟的清理 bug(原实现约 55 年后才触发,自动清理从未生效)
  • 原子化 remove(key, value) 防止过期任务误删被刷新脚本
  • 新增回归测试 TempGroovyScriptContextTest(线程数不增长 + 到期自动清理)
  • 版本号 3.4.54 → 3.4.55(全部 pom + CLAUDE.md)

Describe what this PR does / why we need it

Does this pull request fix one issue?

Describe how you did it

Describe how to verify it

Special notes for reviews

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@xlorne @claude
fix: 修复临时脚本线程泄漏(OOM 根因)并升级版本至 3.4.55
1d97442
- TempGroovyScriptContext 改用共享 daemon 调度线程,根治每脚本 new Timer() 的原生线程泄漏
- 覆盖/删除/清空/cache-miss 时 cancel 定时任务,ConcurrentHashMap 防并发
- 修正绝对到期时间戳误传为相对延迟的清理 bug(原实现约 55 年后才触发,自动清理从未生效)
- 原子化 remove(key, value) 防止过期任务误删被刷新脚本
- 新增回归测试 TempGroovyScriptContextTest(线程数不增长 + 到期自动清理)
- 版本号 3.4.54 → 3.4.55(全部 pom + CLAUDE.md)

Co-Authored-By: Claude <[email protected]>
@xlorne
xlorne merged commit c03491e into main Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@xlorne
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.