Replies: 1 comment 27 replies
-
These bundles have service registrations that rely on class loader visibility:
If I recall correctly, it's specifically ImageWriter registered by org.apache.batik.codec that's not found by org.apache.xmlgraphics. In principle it's possible to split up the recipes and use https://wiki.eclipse.org/Context_Class_Loader_Enhancements#Eclipse-RegisterBuddy to be more selective, but there needs to be a faster feedback cycle so that I can test that it does not break existing things (BIRT) while improving performance for your use case. Of course I only expect it to look for services in jars that are downstream of batik, but given the platform is using it, that can be quite a lot of bundles... I'm not sure what would be special in Capella. Just bigger and more things downstream from batik? |
Beta Was this translation helpful? Give feedback.
-
Hello ed,
With 6e25ee9 you've added the "Eclipse-BuddyPolicy: dependent" header to batik.
Using that version of batik, I'm observing a very long freeze of eclipse on the first use of anything that tries to use SVG files.
When using a sirius (Capella) based product, the first creation of a SVG node in a diagram takes up to 30 seconds because batik now tries to look inside (seemingly) every single jar of the platform to find its services, due to the buddy policy.
Could we have more information on why you added that header? Was there a bug with batik without it?
Beta Was this translation helpful? Give feedback.
All reactions