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

深入研究一下 Spring AOT 的设计思想和实现原理 #4

Open
diguage opened this issue Mar 9, 2022 · 6 comments
Open

深入研究一下 Spring AOT 的设计思想和实现原理 #4

diguage opened this issue Mar 9, 2022 · 6 comments

Comments

@diguage
Copy link
Owner

diguage commented Mar 9, 2022

翻看相关 Issue 以及 PR,研究设计思想和实现原理

@diguage
Copy link
Owner Author

diguage commented Mar 10, 2022

Spring 有个专门 AOT 相关的Tag: theme: aot,可以利用这个 Tag 筛选出 AOT 相关的讨论。

https://github.com/spring-projects/spring-framework/issues?q=label%3A%22theme%3A+aot%22+sort%3Acreated-asc

@diguage
Copy link
Owner Author

diguage commented Mar 11, 2022

从 PPT 上来看,整体上是在编译阶段把很多东西都处理成一个正常的字节码,这样 GraalVM 就可以处理了。具体转换工作似乎是在插件中实现的。可以研究一下。

@diguage
Copy link
Owner Author

diguage commented May 26, 2022

研究一下 Micronaut AOT

  1. Micronaut AOT

@diguage
Copy link
Owner Author

diguage commented May 26, 2022

研究一下 Quarkus AOT

  1. Quarkus - Building my first extension

@diguage
Copy link
Owner Author

diguage commented Jun 6, 2022

BeanDefinitionPropertiesCodeGenerator should filter single inferred init/destroy method · Issue #28570 · spring-projects/spring-framework -- 从这个 Issue 可以看出,似乎 Spring 使用字节码编辑来实现 AOT。可以以此为契机,查看一下具体实现。

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

1 participant