Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] backport lua 5.4 generational GC #141

Open
suikabreaker opened this issue Nov 2, 2021 · 5 comments
Open

[feature request] backport lua 5.4 generational GC #141

suikabreaker opened this issue Nov 2, 2021 · 5 comments

Comments

@suikabreaker
Copy link

suikabreaker commented Nov 2, 2021

ATT.

I'm developing using OpenResty and have put heavy logic on lua(with relatively large in-memory data and lot of string manipulation, and a lot of functions), and I noticed that those permanent GC object also slows down GC.

If we can mannually specify object as permanent it may also be sufficient for my case.

@suikabreaker
Copy link
Author

here is an example of backporting:
dibyendumajumdar/ravi#196

@suikabreaker
Copy link
Author

and another example(for manully disable GC for specified object):
https://yuerer.com/Lua-GC%E5%9E%83%E5%9C%BE%E5%9B%9E%E6%94%B6%E4%BC%98%E5%8C%96%E6%96%B9%E6%A1%88/

@Summer-Time-2020
Copy link

I have the same problem

@hankai17
Copy link

@suikabreaker
Is your problem solved?

@hankai17
Copy link

hankai17 commented Oct 9, 2023

#210

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants