Skip to content

Commit

Permalink
Thanks Jorn for help
Browse files Browse the repository at this point in the history
  • Loading branch information
liach committed Nov 13, 2024
1 parent 2306ceb commit 6b996c3
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,12 @@
*
* @implNote In the reference implementation, the classes implementing the created
* function objects are strongly reachable from the defining class loader of the
* caller. This technique reduces heap memory use, but it prevents the
* implementation class from unloading when the caller is a {@linkplain
* MethodHandles.Lookup.ClassOption#STRONG hidden class} and is unloaded.
* caller, like classes and interfaces in Java source code. This technique
* reduces heap memory use, but as a consequence, the implementation classes can
* be unloaded only if the caller class can be unloaded. In particular, if the
* caller is a {@linkplain MethodHandles.Lookup.ClassOption#STRONG weak hidden
* class}, the implementation class, a strong hidden class, may not be unloaded
* even if the caller may be unloaded.
*
* @since 1.8
*/
Expand Down

0 comments on commit 6b996c3

Please sign in to comment.