This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Jessie security providers can't be precompiled


Andrew Haley wrote:

or rather, if they are precompiled we still load the bytecode anyway.
This is because VMCompiler depends on the security providers, so any
that are loaded before VMCompiler is initialized are interpreted. The
cure is to bypass the security provider machinery.


Would it make sense to include a small C implementation of MD5 to be used by VMCompiler? Initializing the providers was bringing a LOT of code into the application startup/runtime bootstrap code path. I suppose this fixes it too, since we're only calling MD5 directly, but a native implementation may still be smaller/faster?

Bryce


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]