-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prototype CGLIB replacement (Issue 1133) #1298
Prototype CGLIB replacement (Issue 1133) #1298
Commits on Mar 13, 2020
-
Use a weak cache to track circular proxy types.
This avoids the need for a marker interface, which in turn reduces the need for bridge classloaders. Since we store bridge classloaders in a weak cache, we're effectively just trading one for another.
Configuration menu - View commit details
-
Copy full SHA for 6612a19 - Browse repository at this point
Copy the full SHA 6612a19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fb250b - Browse repository at this point
Copy the full SHA 6fb250bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b916ace - Browse repository at this point
Copy the full SHA b916aceView commit details -
Configuration menu - View commit details
-
Copy full SHA for c894d61 - Browse repository at this point
Copy the full SHA c894d61View commit details -
Immutable space-efficient trie that provides a fast index for
a sorted list of strings. It assumes only those strings will be queried and therefore may produce false-positive results for strings not in the list. This trie will be used in the replacement FastClass/Enhancer.
Configuration menu - View commit details
-
Copy full SHA for 91a7ad4 - Browse repository at this point
Copy the full SHA 91a7ad4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7f8a91 - Browse repository at this point
Copy the full SHA d7f8a91View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9d9f59 - Browse repository at this point
Copy the full SHA e9d9f59View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5b5ebe - Browse repository at this point
Copy the full SHA c5b5ebeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dbe269 - Browse repository at this point
Copy the full SHA 9dbe269View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1e9767 - Browse repository at this point
Copy the full SHA d1e9767View commit details -
Configuration menu - View commit details
-
Copy full SHA for aee104e - Browse repository at this point
Copy the full SHA aee104eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d202312 - Browse repository at this point
Copy the full SHA d202312View commit details -
Configuration menu - View commit details
-
Copy full SHA for f126ecd - Browse repository at this point
Copy the full SHA f126ecdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6b0ad5 - Browse repository at this point
Copy the full SHA a6b0ad5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0521c9 - Browse repository at this point
Copy the full SHA c0521c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b51cc2 - Browse repository at this point
Copy the full SHA 5b51cc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cfd827 - Browse repository at this point
Copy the full SHA 6cfd827View commit details -
Configuration menu - View commit details
-
Copy full SHA for d47de13 - Browse repository at this point
Copy the full SHA d47de13View commit details -
Configuration menu - View commit details
-
Copy full SHA for a957f05 - Browse repository at this point
Copy the full SHA a957f05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18ea2d6 - Browse repository at this point
Copy the full SHA 18ea2d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f276c8 - Browse repository at this point
Copy the full SHA 8f276c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 877c033 - Browse repository at this point
Copy the full SHA 877c033View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a430a6 - Browse repository at this point
Copy the full SHA 0a430a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03ffd81 - Browse repository at this point
Copy the full SHA 03ffd81View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0c9c6c - Browse repository at this point
Copy the full SHA d0c9c6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e39c316 - Browse repository at this point
Copy the full SHA e39c316View commit details -
Configuration menu - View commit details
-
Copy full SHA for 150911e - Browse repository at this point
Copy the full SHA 150911eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a177a40 - Browse repository at this point
Copy the full SHA a177a40View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6210dd - Browse repository at this point
Copy the full SHA c6210ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7d1e38 - Browse repository at this point
Copy the full SHA f7d1e38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1503a32 - Browse repository at this point
Copy the full SHA 1503a32View commit details -
Configuration menu - View commit details
-
Copy full SHA for f98d318 - Browse repository at this point
Copy the full SHA f98d318View commit details -
Configuration menu - View commit details
-
Copy full SHA for 404d3cb - Browse repository at this point
Copy the full SHA 404d3cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e79c5cf - Browse repository at this point
Copy the full SHA e79c5cfView commit details -
Revert "Update ImmutableStringTrie to mimic generated class layout" -…
… taking a different direction This reverts commit 0805465.
Configuration menu - View commit details
-
Copy full SHA for 89c5b56 - Browse repository at this point
Copy the full SHA 89c5b56View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6089c5 - Browse repository at this point
Copy the full SHA c6089c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6981661 - Browse repository at this point
Copy the full SHA 6981661View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c95e02 - Browse repository at this point
Copy the full SHA 0c95e02View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef7d60a - Browse repository at this point
Copy the full SHA ef7d60aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bdda4f - Browse repository at this point
Copy the full SHA 8bdda4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f82906 - Browse repository at this point
Copy the full SHA 4f82906View commit details -
Configuration menu - View commit details
-
Copy full SHA for 125fb3c - Browse repository at this point
Copy the full SHA 125fb3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for dec19ee - Browse repository at this point
Copy the full SHA dec19eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2e67e4 - Browse repository at this point
Copy the full SHA f2e67e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67d6055 - Browse repository at this point
Copy the full SHA 67d6055View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39f4139 - Browse repository at this point
Copy the full SHA 39f4139View commit details -
Collect intermediate enhancer builders while still keeping generated …
…enhancers around
Configuration menu - View commit details
-
Copy full SHA for 3a6b35e - Browse repository at this point
Copy the full SHA 3a6b35eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b9b9ee - Browse repository at this point
Copy the full SHA 2b9b9eeView commit details -
Use semicolon as separator in class-building signatures (guaranteed n…
…ot to appear in names)
Configuration menu - View commit details
-
Copy full SHA for 0a7de4a - Browse repository at this point
Copy the full SHA 0a7de4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5db50f - Browse repository at this point
Copy the full SHA c5db50fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22a1940 - Browse repository at this point
Copy the full SHA 22a1940View commit details -
Configuration menu - View commit details
-
Copy full SHA for 338fa26 - Browse repository at this point
Copy the full SHA 338fa26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5446e2d - Browse repository at this point
Copy the full SHA 5446e2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bf7307 - Browse repository at this point
Copy the full SHA 9bf7307View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98ad246 - Browse repository at this point
Copy the full SHA 98ad246View commit details -
Configuration menu - View commit details
-
Copy full SHA for c279289 - Browse repository at this point
Copy the full SHA c279289View commit details -
Configuration menu - View commit details
-
Copy full SHA for c63c326 - Browse repository at this point
Copy the full SHA c63c326View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3fe387 - Browse repository at this point
Copy the full SHA e3fe387View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a889ae - Browse repository at this point
Copy the full SHA 6a889aeView commit details -
Only modify package-name for enhanced java.* types when we don't have…
… same-package access
Configuration menu - View commit details
-
Copy full SHA for 54be06c - Browse repository at this point
Copy the full SHA 54be06cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d95755 - Browse repository at this point
Copy the full SHA 0d95755View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0e5aa6 - Browse repository at this point
Copy the full SHA b0e5aa6View commit details -
Configuration menu - View commit details
-
Copy full SHA for da7cd43 - Browse repository at this point
Copy the full SHA da7cd43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1189618 - Browse repository at this point
Copy the full SHA 1189618View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b6c29f - Browse repository at this point
Copy the full SHA 6b6c29fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5983e53 - Browse repository at this point
Copy the full SHA 5983e53View commit details -
Configuration menu - View commit details
-
Copy full SHA for f335751 - Browse repository at this point
Copy the full SHA f335751View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85cd874 - Browse repository at this point
Copy the full SHA 85cd874View commit details -
Collect enhanceable method candidates in same order as we'll use in the
invoker table. That way the enhanced method and callback indices match.
Configuration menu - View commit details
-
Copy full SHA for bfbe367 - Browse repository at this point
Copy the full SHA bfbe367View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c757ce - Browse repository at this point
Copy the full SHA 8c757ceView commit details -
Update expectation: proxy class remains as long as host class is around.
(note that proxy classes are lightweight and have no dependency to Guice)
Configuration menu - View commit details
-
Copy full SHA for 3e2d2d4 - Browse repository at this point
Copy the full SHA 3e2d2d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e372d14 - Browse repository at this point
Copy the full SHA e372d14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 424575c - Browse repository at this point
Copy the full SHA 424575cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20f12a5 - Browse repository at this point
Copy the full SHA 20f12a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb6fb96 - Browse repository at this point
Copy the full SHA cb6fb96View commit details -
Only report matching superclass method instead of bridge when it's no…
…t from an interface
Configuration menu - View commit details
-
Copy full SHA for 046bec3 - Browse repository at this point
Copy the full SHA 046bec3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66cdf62 - Browse repository at this point
Copy the full SHA 66cdf62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59136c2 - Browse repository at this point
Copy the full SHA 59136c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 904fc8b - Browse repository at this point
Copy the full SHA 904fc8bView commit details
Commits on Apr 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4dfc507 - Browse repository at this point
Copy the full SHA 4dfc507View commit details -
Configuration menu - View commit details
-
Copy full SHA for 429a7fd - Browse repository at this point
Copy the full SHA 429a7fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91dfea7 - Browse repository at this point
Copy the full SHA 91dfea7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90d430b - Browse repository at this point
Copy the full SHA 90d430bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98f5e99 - Browse repository at this point
Copy the full SHA 98f5e99View commit details
Commits on Apr 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1d3abe4 - Browse repository at this point
Copy the full SHA 1d3abe4View commit details -
Support extending/mocking of any types defined by UnsafeClassDefiner
We do this by generating small helpers and loading them in the same package as the host class loader. If they load successfully then we can access the non-public defineClass method of any class loaders extending that type.
Configuration menu - View commit details
-
Copy full SHA for 3484d75 - Browse repository at this point
Copy the full SHA 3484d75View commit details
Commits on Apr 14, 2020
-
Match behaviour: only report non-bridge super-methods as enhanceable …
…if bridge delegation is not involved
Configuration menu - View commit details
-
Copy full SHA for e5d4601 - Browse repository at this point
Copy the full SHA e5d4601View commit details
Commits on Apr 15, 2020
-
Match behaviour: copy method modifiers when enhancing (except native/…
…synchronized/abstract)
Configuration menu - View commit details
-
Copy full SHA for 8beec58 - Browse repository at this point
Copy the full SHA 8beec58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 055c4fc - Browse repository at this point
Copy the full SHA 055c4fcView commit details
Commits on Apr 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b735851 - Browse repository at this point
Copy the full SHA b735851View commit details
Commits on Apr 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3a2c4d1 - Browse repository at this point
Copy the full SHA 3a2c4d1View commit details
Commits on Apr 23, 2020
-
If resolved method is final then don't report it as enhanceable.
This fixes an edge-case involving bridges for generic return-types where the original bridge is not final, but the resolved target is final. In such cases we shouldn't report either one as enhanceable. (If we see the non-bridge method first then we will filter it out early on. If we see the bridge method first then we will resolve it to the non-bridge method and filter it out at the end.)
Configuration menu - View commit details
-
Copy full SHA for 6f8dd8f - Browse repository at this point
Copy the full SHA 6f8dd8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd2c82a - Browse repository at this point
Copy the full SHA fd2c82aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3362a6d - Browse repository at this point
Copy the full SHA 3362a6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ea73c2 - Browse repository at this point
Copy the full SHA 4ea73c2View commit details -
Improve scanning of interface methods to handle when a later declared…
… interface extends an earlier declared interface
Configuration menu - View commit details
-
Copy full SHA for 5acc5b3 - Browse repository at this point
Copy the full SHA 5acc5b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20d38e8 - Browse repository at this point
Copy the full SHA 20d38e8View commit details -
Enable lambda optimization when we know the proxy is not anonymous, p…
…lus additional javadoc
Configuration menu - View commit details
-
Copy full SHA for 71f0658 - Browse repository at this point
Copy the full SHA 71f0658View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8040fc6 - Browse repository at this point
Copy the full SHA 8040fc6View commit details
Commits on May 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4cdd15d - Browse repository at this point
Copy the full SHA 4cdd15dView commit details
Commits on May 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 92e81c7 - Browse repository at this point
Copy the full SHA 92e81c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7c51fd - Browse repository at this point
Copy the full SHA d7c51fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98c8935 - Browse repository at this point
Copy the full SHA 98c8935View commit details
Commits on May 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6536035 - Browse repository at this point
Copy the full SHA 6536035View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30d770d - Browse repository at this point
Copy the full SHA 30d770dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99bcb47 - Browse repository at this point
Copy the full SHA 99bcb47View commit details -
Configuration menu - View commit details
-
Copy full SHA for c064987 - Browse repository at this point
Copy the full SHA c064987View commit details -
Configuration menu - View commit details
-
Copy full SHA for acacc73 - Browse repository at this point
Copy the full SHA acacc73View commit details
Commits on May 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for aca4480 - Browse repository at this point
Copy the full SHA aca4480View commit details -
method and target will have same name, but use target.getName() for c…
…onsistency with other args
Configuration menu - View commit details
-
Copy full SHA for 24c0ce4 - Browse repository at this point
Copy the full SHA 24c0ce4View commit details
Commits on May 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e193fc2 - Browse repository at this point
Copy the full SHA e193fc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0f6176 - Browse repository at this point
Copy the full SHA d0f6176View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef33fad - Browse repository at this point
Copy the full SHA ef33fadView commit details
Commits on May 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f1129c3 - Browse repository at this point
Copy the full SHA f1129c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e5a2c0 - Browse repository at this point
Copy the full SHA 5e5a2c0View commit details
Commits on May 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fcbaadd - Browse repository at this point
Copy the full SHA fcbaaddView commit details -
Configuration menu - View commit details
-
Copy full SHA for f191a0e - Browse repository at this point
Copy the full SHA f191a0eView commit details -
Small visibility changes to allow these tests to be run with CHILD cl…
…ass-loading Note that package visibility wrt method intercepting is tested in BytecodeGenTest
Configuration menu - View commit details
-
Copy full SHA for ebfb5f0 - Browse repository at this point
Copy the full SHA ebfb5f0View commit details -
Fix canFastInvoke when using CHILD class-loading to check the class a…
…nd method parameters are also PUBLIC
Configuration menu - View commit details
-
Copy full SHA for 215c153 - Browse repository at this point
Copy the full SHA 215c153View commit details
Commits on Jun 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 852942d - Browse repository at this point
Copy the full SHA 852942dView commit details
Commits on Jun 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6f29cde - Browse repository at this point
Copy the full SHA 6f29cdeView commit details -
Clarify we're wrapping exceptions with InvocationTargetException to m…
…atch JDK reflection behaviour
Configuration menu - View commit details
-
Copy full SHA for 1386c48 - Browse repository at this point
Copy the full SHA 1386c48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 774b89b - Browse repository at this point
Copy the full SHA 774b89bView commit details
Commits on Jun 8, 2020
-
Improve FastClass performance: store adapted constructor handle in st…
…atic final field
Configuration menu - View commit details
-
Copy full SHA for f396f7e - Browse repository at this point
Copy the full SHA f396f7eView commit details
Commits on Jun 28, 2020
-
Merge remote-tracking branch 'upstream/master' into issue-1133-protot…
…ype-cglib-replacement
Configuration menu - View commit details
-
Copy full SHA for d8ba81b - Browse repository at this point
Copy the full SHA d8ba81bView commit details