~/talk

Just a Small Class File Change Nest

links:none on file
slides:none on file

Proposal teaches the JVM a trusted group of classes by adding nest host and nest members attributes, removes compiler-generated private trampolines, changes private-access checks and moves some validation to lazy access-time so missing outer classes and startup cost stay safe. Production work updates bytecode selection with an invokevirtual/invokeinterface change (avoiding invoke special), expands reflection APIs, runs prototype tests across runtimes, and lands static nestmates in Java SE 11. Ongoing work targets dynamic nest membership and a non-findable class + lookup.defineClass path to replace unsafe defineAnonymousClass.

AI-written summary · about

  1. 0:00Intro
  2. 4:20Example: Nested Class Trampolines
  3. 6:45Proposal: Nestmates
  4. 7:49Just a Small Class File Change
  5. 10:20JVMS Draft: Class File Attributes
  6. 12:29JVMS Member Access Controls (Java SE 10)
  7. 13:14Member Access Check: Java SE 10
  8. 13:51Proof of Concept: Implement and Test
  9. 16:04Design Areas
  10. 16:58Class File Attributes Implementation Challenges
  11. 18:43JVMS Details: Class File Attributes
  12. 19:33Access Controls Implementation Challenges
  13. 20:30JVMS 5.4.4 Access Control Changes
  14. 20:51JVMS 5.4.4 Nestmate Test
  15. 21:33Alternate Accessors
  16. 22:38Method Invocation
  17. 27:22JVMS Method Selection Update
  18. 29:15Production Quality
  19. 30:24Production Level Implementation
  20. 31:16Class File Readers and Writers
  21. 32:57Test Creation
  22. 34:31Nestmates Futures: Problems
  23. 36:55Lookup.defineClass() Evolution
  24. 38:21Dynamic Nestmates
  25. 39:20Non-Findable Classes
  26. 40:10Unsafe::defineAnonymousClass() Migration
  27. 40:54Alternative to Constant Pool Patching
  28. 42:41Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.