alibaba / alibaba/fastjson2

[jit inline] 应该存在方法体过大导致jit不能Inline?

Open
#3,860 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
4.4k
Forks
613
Avg merge
1d 22h
Merged PRs (30d)
6

Description

有没有类似fory的这种优化机制,将大的方法切割成小的方法体,便于jit Inline

[JIT优化最佳实践 - 如何优化Java JIT实现Fury序列化性能数十倍提升](https://mp.weixin.qq.com/s/xOyr5V1DQpR7zjGTwuCU4w)

Image

Contributor guide

Open the contributing guide

Research direction

No source files or tests are named. Start by reviewing the JIT inlining guidance linked in the issue and locating large generated or runtime methods in the repository; determine whether splitting method bodies is applicable to fastjson2. Done would require a concrete, validated proposal or implementation with evidence that JIT inlining improves.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.