-
Notifications
You must be signed in to change notification settings - Fork 328
Closed
Milestone
Description
While investigating jruby/jruby#3151, a few issues with the way Caching does delegation came to light:
- At least one place, in
conditional_on_changes_to, anHTTP::Requestobject gets double-delegated. Both theself.class.newand.cachingcalls wrap the newHTTP::Requestobject in a delegatingCachinginstance. - The
Cachingclass itself is created beforeHTTP::Requesthas completed loading, resulting in aDelegateClassthat does most delegation throughmethod_missingrather than through generated, direct delegation methods.
These issues are not strictly bugs, but they likely affect performance. In the case of jruby/jruby#3151, they also exposed an obscure bug in JRuby.
Metadata
Metadata
Assignees
Labels
No labels