- 03 Aug, 2016 4 commits
-
-
Lubomir Bulej authored
(currently unimplemented) instead of an array of string descriptors. - Add getInterfaceDescriptors() to return an array of string descriptors for consistency with the normal reflection API. - Renamed getDeclaredClasses() to getDeclaredClassDescriptors(). - Changed getDeclaredClasses() to return an array of type descriptors instead of an array of internal names of the declared classes.
-
Lubomir Bulej authored
abstract ShadowClass to derive answers to most queries, leaving the subclasses to only deal with to deal with the specifics.
-
Lubomir Bulej authored
ArrayShadowClass: reorder constructor parameters to consistently pass ASM Type after net reference. ObjectShadowClass: make the class final. PrimitiveShadowClass: make the class package private and final. ShadowClassTable: reflect the changes in constructor parameter order.
-
Lubomir Bulej authored
ShadowClassTable: other cosmetic changes to simplify future merges.
-
- 23 Jul, 2016 3 commits
-
-
Lubomir Bulej authored
ShadowString, ShadowThread: get rid of overriden hashCode() and equals() and rely on the superclass implementation that only cares about net reference equality. ShadowObject, ShadowString, ShadowThread: make a shadow object updatable from other object with the same net reference (required for partially-constructed special objects). ShadowString, ShadowThread: get rid of setter methods in favor of updateFrom() method. ShadowThread: make additional information about a thread atomically updateable. ShadowClassTable: log when the JAVA_LANG_CLASS reference is updated. ShadowClassTable, ShadowObjectTable: make the classes final. ShadowObjectTable: use the updateFrom() method from shadow object instead of hand-coding updates in the registration method. ShadowObjectTable: simplify the get() method by extracting code to create shadow objects in conjunction with the use of computeIfAbsent() method on the shadow object map.
-
Lubomir Bulej authored
-
Lubomir Bulej authored
ShadowClassTable: preprocess data from ClassInfoLoader before calling newInstance(). ShadowClassTable: simplify the implementation of newInstance(), extract class creation into __createShadowClass(). ShadowObject: make getNetRef() package private. ShadowObject: use get() on the JAVA_LANG_CLASS atomic reference. ObjectShadowClass: use ASM Type instead of String with class signature.
-
- 22 Jul, 2016 6 commits
-
-
Lubomir Bulej authored
NetReferenceHelper: make the method names conform to normal Java style. ShadowClass, ShadowObject, ShadowClassTable, ShadowObjectTable: updated to reflect the changes.
-
Lubomir Bulej authored
ShadowString, ShadowThread: add constructors for un-initialized shadows. StringInfoHandler, ThreadInfoHandler: let ShadowObjectTable handle the registration, keep only IO in the handler code. ShadowObjectTable: drop the debug parameter from the register() method, use logging instead. ShadowObjectTable: use special constructors when creating un-initialized shadows of special objects. ShadowClassTable: avoid using the debug parameter when calling the register() static method.
-
Lubomir Bulej authored
MethodInfo: do all copying on demand. MethodInfo: add getDescriptor() to provide full method type information.
-
Lubomir Bulej authored
FieldInfo: getType() renamed to getDescriptor(), as it really returns a String descriptor of the type. MethodInfo: get*Type() or get*Types() renamed to get*Descriptor() or get*Descriptors() for the same reason as in case of FieldInfo. ArrayShadowClass, ObjectShadowClass: updated to reflect the changes.
-
Lubomir Bulej authored
-
Lubomir Bulej authored
ShadowCommonClass: renamed to ObjectShadowClass ShadowPrimitiveClass: renamed to PrimitiveShadowClass ShadowClassTable: updated to reflect the changes
-
- 21 Jul, 2016 1 commit
-
-
Lubomir Bulej authored
-
- 19 Jul, 2016 1 commit
-
-
Lubomir Bulej authored
-
- 14 Jul, 2016 1 commit
-
-
Lubomir Bulej authored
ShadowObject: add typed variant of setStateIfAbsent() method. ShadowObject: implement setStateIfAbsent() using computeStateIfAbsent() and a trivial lambda. ShadowObject: make getNetRef() method deprecated (it should never have been public).
-
- 12 Jul, 2016 6 commits
-
-
Lubomir Bulej authored
-
Lubomir Bulej authored
UnprocessedCode: move rewriting of accesses to thread-local variables to Weaver. Weaver: rewrite accesses to thread-local variables at the end of the weaving phase. DiSL: updated to reflect the changes in Snippet and UnprocessedCode. RewriteThreadLocalVarAccessesCodeTransformer: moved to the weaver package for now.
-
Lubomir Bulej authored
init() method. ArgProcessor: convert ordered stream to unordered stream in the getReferencedSCMs() method.
-
Lubomir Bulej authored
ArgProcessorParser.
-
Lubomir Bulej authored
-
Lubomir Bulej authored
scalar load.
-
- 25 May, 2016 1 commit
-
-
Lubomir Bulej authored
disl-agent: removed dislagent.h, because it is not needed for anything. disl-agent: provide thread names and ids during runtime logging where possible. disl-agent: register also for VM_START event to track the state of the VM. disl-agent: close connections in Agent_OnUnload handler instead of VM_DEATH callback.
-
- 15 Apr, 2016 3 commits
-
-
Petr Tůma authored
No commit message
-
Lubomir Bulej authored
Don't set properties outside targets to avoid problems with outdated property values when running multiple targets at the same time.
-
Lubomir Bulej authored
-
- 14 Apr, 2016 1 commit
-
-
Lubomir Bulej authored
build.xml: check presence of the required dependency artifacts. build.xml: make JUnit generate test reports. lib: remove included dependencies.
-
- 08 Apr, 2016 1 commit
-
-
Lubomir Bulej authored
-
- 01 Apr, 2016 1 commit
-
-
Lubomir Bulej authored
-
- 18 Feb, 2016 1 commit
-
-
Lubomir Bulej authored
JavaNames: added methods for constructing method names. UnprocessedCode, InvocationInterpreter: replaced direct usage of Constants with methods from JavaNames. BasicBlockStaticContext: clean up API methods, deprecate the old ones. BytecodeStaticContext: deprecate class, replaced with InstructionStaticContext. InstructionStaticContext: introduced to replace BytecodeStaticContext, allows querying instruction opcode and index. FieldAccessStaticContext: added public method comments, varous clean ups. BasicBlockStaticContext: customData->methodCfg, various clean ups. LoopStaticContext: reflect changes in BasicBlockStaticContext. BasicBlock: getEntrance->getEntryNode, getExit->getExitNode, various clean ups. CtrlFlowGraph, PartialEvaluator: reflect changes in BasicBlock.
-
- 17 Feb, 2016 1 commit
-
-
Lubomir Bulej authored
-
- 17 Nov, 2015 2 commits
-
-
Lubomir Bulej authored
-
Lubomir Bulej authored
-
- 16 Nov, 2015 4 commits
-
-
Lubomir Bulej authored
disl-agent: Updated makefile to avoid using -flto and -fwhole-program on Mac OS X, the GCC is usually too old for that. disl-agent: Updated network.c to define AI_NUMERICSERV if it is missing (which is the case on MinGW and DarwinX).
-
Lubomir Bulej authored
disl-agent: various cleanups to the header files and imports.
-
Lubomir Bulej authored
-
Lubomir Bulej authored
JavaNames: avoid using "canonical" for the non-internal names, they are actually "type names" in Java terminology.
-
- 14 Nov, 2015 2 commits
-
-
Lubomir Bulej authored
-
Lubomir Bulej authored
To enable, use -Ddisl.forcesuperclass=true or -Ddisl.forceinterfaces=true in the client JVM command line.
-
- 12 Nov, 2015 1 commit
-
-
Lubomir Bulej authored
-