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

JACOBIN-498 Incremental PR #243

Merged
merged 4 commits into from
Oct 23, 2024
Merged

JACOBIN-498 Incremental PR #243

merged 4 commits into from
Oct 23, 2024

Conversation

texadactyl
Copy link
Collaborator

@texadactyl texadactyl commented Oct 22, 2024

First commit:

  • trace/trace.go (new)
  • trace/trace_test.go (new)
  • globals/globals.go <--- only the Trace flags; still need to do the CLI options in concert with jvm/cli.go and jvm/option_table_loader.go
  • classloader/classloader.go <--- One-off loading of java/lang/Class during init is unnecessary

The complete list of files to convert i.e. TBD (mostly, log.Log calls to trace.Trace calls conditioned on the new globals.Trace* flags):

  1. classloader/archives.go
  2. classloader/classes.go
  3. classloader/classloader.go
  4. classloader/formatCheck.go
  5. classloader/jmodBase.go
  6. classloader/jmodBytes.go
  7. classloader/jmodMap.go
  8. classloader/methArea.go
  9. classloader/methodParser.go
  10. classloader/parser.go
  11. exceptions/catchFrame.go
  12. exceptions/errors.go
  13. exceptions/throw.go
  14. frames/frames.go
  15. gfunction/gfunctionExec.go
  16. gfunction/javaIoFile.go
  17. gfunction/javaLangClass.go
  18. gfunction/javaLangMath.go
  19. gfunction/javaLangStackTraceElement.go
  20. gfunction/javaLangSystem.go
  21. gfunction/javaLangThrowable.go
  22. gfunction/javaMathBigInteger.go
  23. globals/globals.go // <------ CLI options in concert with jvm/cli.go and jvm/option_table_loader.go
  24. jvm/cli.go
  25. jvm/initializerBlock.go
  26. jvm/instantiate.go
  27. jvm/jvmStart.go
  28. jvm/run.go
  29. jvm/runUtils.go
  30. native/nativeFuncExec.go
  31. native/nativeInit.go
  32. native/osBridgePosix.go
  33. native/osBridgeWindows.go
  34. object/string.go
  35. statics/statics.go
  36. util/execUtilities.go

@texadactyl texadactyl self-assigned this Oct 22, 2024
@platypusguy platypusguy merged commit 7c48929 into platypusguy:main Oct 23, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants