Skip to content

Lazy load classloader offset data - #116

Merged
yujincheng08 merged 1 commit into
mainfrom
fix/lazy-offset-cache
Oct 9, 2026
Merged

yujincheng08 merged 1 commit into
mainfrom
fix/lazy-offset-cache

Conversation

@yujincheng08

Copy link
Copy Markdown
Member

Summary

  • restore process-local offset data caching using helper stubs
  • avoid creating CoreOjClassLoader during HiddenApiBypass static initialization
  • lazily load real Field offsets only for classloader-based field materialization fallback

Test

  • ./gradlew --no-configuration-cache :library:compileDebugJavaWithJavac :library:compileDebugAndroidTestJavaWithJavac

@yujincheng08
yujincheng08 force-pushed the fix/lazy-offset-cache branch 2 times, most recently from dacbea9 to 5eebb45 Compare October 8, 2026 19:25
@yujincheng08
yujincheng08 force-pushed the fix/lazy-offset-cache branch from 5eebb45 to 1cbcec2 Compare October 8, 2026 19:35
@yujincheng08
yujincheng08 merged commit 4efc64f into main Oct 9, 2026
23 checks passed
@yujincheng08
yujincheng08 deleted the fix/lazy-offset-cache branch October 9, 2026 07:28
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