Hello,
We have folks working on reducing JNI overhead, so they need something
to test their work on, so we’re looking for benchmarks (or better yet, real
applications) which could show high JNI overhead.
It would be especially useful if you could quantitize the amount
of overhead by some measurements.
We in 2D typically do this by rendering some tiny primitives which
don’t take any measurable time at all by themselves, so that most
of what’s the time is spent on is overhead. This is for native method
calling.
Other example is pulling data from java objects.
We have a couple of micro-benchmarks (internal and one external),
but it would be useful to have some real-world applications.
Typical Swing applications have too much stuff going on on java level,
so the JNI overhead (for rendering calls, for example), is almost
non-noticeable. Games, on the other hand, may be more
prone to the overhead.
Thanks,
Dmitri
Java2D Team