Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 04 Aug 2014 15:43:51 +0100] rev 3195
Class reading optimization [1/4]: optimize CharacterArray class>>decodeFromJavaUTF8:
This method now uses hand-optimized inline C to decode bytes.
Also now it takes instance of a String instead of a ByteArray to avoid
excessive byte copying from byte array to string in case all characters
are below 0x80. An Unicode16String is create only when input bytes
encode a character greater then 0x80.
***
Classr reader optimization [3/x]: call self info: conditionally if Verbose flag is set.
This avoids an extra message send and a lots of string concatenations. Thanks
Claus Gittinger for spotting this.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 04 Aug 2014 00:38:22 +0100] rev 3194
Added JavaSourceFileWriter>>fileOut:on:withTimestamp:...
Used by SCM to write class source to a file.
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 03 Aug 2014 23:46:07 +0100] rev 3193
Merged 945bee015640 and b6bced0551a9
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 03 Aug 2014 23:43:40 +0100] rev 3192
Merged d9a3d685c8b9 and 5260fddf10f6
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 03 Aug 2014 23:39:01 +0100] rev 3191
Merged 304d3543242f and 603fdba602c4
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 03 Aug 2014 18:16:50 +0100] rev 3190
Fixed annotation support in reflective environment (getValue() and standard tag bits)
Changed ReflectiveElementValuePair#getValue() to actually return values as specified
in IBinaryElementValuePair. This fixes compiler when compiling annotated classes.
Also fixed standardTagBits() to be more in sync with ClassReader as it seems that Eclipse
Compiler relies solely on them.
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 03 Aug 2014 23:28:19 +0100] rev 3189
Cleanup in ReflectiveEnvironment: more comments & logging.
Added more comments here and there. Use java.util.logging when .jar could not be opened.
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 01 Aug 2014 14:27:48 +0100] rev 3188
Force a garbage collect after each run of classreader benchmark.
Classes read are garbage anyway and this avoids GC routines to
garble profiling results.
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 01 Aug 2014 14:25:45 +0100] rev 3187
Fixed JavaRelease>>validateJavaVersionString:
Allow for extra content before 'java version..." string.
There may be some (garbage) output from linker or whatever
(actually happens when profiling libjava under callgrind).
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 31 Jul 2014 09:30:15 +0100] rev 3186
Made JavaClass>>package returning Smalltalk/X package name from annotation, if annotated.
The stx.libjava.annotation.Package marks a class to belong to a Smalltalk/X package so
IDE tooling, especially source code managers, can use this information (and commit Java
classes along with Smalltalk classes, for instance)