Starting java with many JAXB objects is very slow
-------------------------------------------------
Key: AXIS2-4051
URL: https://issues.apache.org/jira/browse/AXIS2-4051
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Affects Versions: 1.4
Environment: 64-bit Gentoo Linux
$ java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_13-b05, mixed mode)
Reporter: Jake Goulding
I have about 600 JAXB objects, and my Stub has 30 calls to
JAXBContext.newInstance. Running a completely empty main method takes 1 minute.
I presume this is because of the overhead of creating all the static instances
at once at the beginning.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]