Java startup time (Windows)
I heard java's bottle neck on start up time is disk access. (rt.jar) And I heard rt.jar is loaded by using memory mapped file. Is that correct?
I experienced similer heavy disk access when I developed application with memory mapped file. (30MB or something) And I solved this problem by scanning large file first (I used simple std::ifstream), storing file pointer (std::ifstream::tellg() returns) for index and seeked to that position when data was needed. That was interesting experience because I thought memory mapped file could efficiently handle a large file, but that was what I experienced.
Maybe can we take similer approeach for rt.jar? Sorry if I'm saying miss-pointed thing. Thank you.