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

JeoCompiler.java:87-95: Calculate the Max Stack Size. We... #286

Open
0pdd opened this issue May 29, 2024 · 0 comments
Open

JeoCompiler.java:87-95: Calculate the Max Stack Size. We... #286

0pdd opened this issue May 29, 2024 · 0 comments
Assignees
Labels
soon This issue will be solved soon

Comments

@0pdd
Copy link

0pdd commented May 29, 2024

The puzzle 229-ddf067cd from #229 has to be resolved:

* @todo #229:90min Calculate the Max Stack Size.
* We should calculate the max stack size of the method and set it into the compiled method.
* To enforce jeo to calculate the max stack size, we use 'withoutMaxs()' method.
* This is important to avoid runtime errors when running the compiled code.
* Currently we calculate max stack size only for methods in the org.eolang package.
* This is done intentionally because all the classes for the org.eolang package are
* placed in the classpath and we can actually calculate the max stack size.
* Other packages, for example, spring framework, have some 'optional' dependencies
* that are not in the classpath and byt this reason, jeo can't calculate the max stack size.

The puzzle was created by volodya-lombrozo on 29-May-24.

Estimate: 90 minutes, role: DEV.

If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
soon This issue will be solved soon
Projects
None yet
Development

No branches or pull requests

2 participants