Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Results of running TestConstructor with -XX:+PrintCompilation
java -XX:+PrintCompilation com.vyazelenko.blog.copyobject.TestConstructor
59 1 java.lang.String::hashCode (55 bytes)
61 2 java.lang.String::indexOf (70 bytes)
70 3 sun.nio.cs.UTF_8$Encoder::encode (361 bytes)
77 4 java.lang.Object::<init> (1 bytes)
80 5 java.util.ArrayList::add (29 bytes)
80 6 java.util.ArrayList::ensureCapacityInternal (23 bytes)
81 7 java.util.ArrayList::ensureExplicitCapacity (26 bytes)
81 8 com.vyazelenko.blog.copyobject.TestConstructor::callCopy (7 bytes)
81 9 com.vyazelenko.blog.copyobject.primitives.constructor.ConstructorCopy::copy (9 bytes)
83 10 com.vyazelenko.blog.copyobject.primitives.constructor.ConstructorCopy::<init> (6 bytes)
83 11 com.vyazelenko.blog.copyobject.primitives.BaseClass::<init> (118 bytes)
83 12 com.vyazelenko.blog.copyobject.primitives.Root::<init> (61 bytes)
83 13 % com.vyazelenko.blog.copyobject.TestConstructor::doCopy @ 38 (92 bytes)
113 14 com.vyazelenko.blog.copyobject.TestConstructor::doCopy (92 bytes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.