Reply To: Performance problems

Splash Forums Rewrite Users Performance problems Reply To: Performance problems



first of all: Sorry for the delayed response.

Hmmm. Looks like you found a real performance problem in Rewrite. Our ServiceLoader is basically an extension of the JDK ServiceLoader which does some additional stuff. It allows for example to provide custom strategies for finding SPI implementations.

Two things come to my mind:

1. Which of the rewrite-integration-* modules do you use in your project? Some of these integration modules include custom ServiceLocator implementations which are used by ServiceLoader to lookup classes. Perhaps there is some performance bottleneck in one of these implementations.

2. I don’t think that the ServiceLoader has to be called soooo often. Did you see any Rewrite class during your performance analysis which was causing this enormous number of calls to the ServiceLoader API?