eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'InstrumentationInfo':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: InstrumentationInfo


Inheritance:

   Object
   |
   +--InstrumentationInfo
      |
      +--InstrumentingCompiler::MethodInvocationInfo
      |
      +--InstrumentingCompiler::StatementExecutionInfo

Package:
stx:libcomp
Category:
System-Compiler-Instrumentation
Version:
rev: 1.7 date: 2015/01/29 18:16:51
user: cg
file: InstrumentationInfo.st directory: libcomp
module: stx stc-classLibrary: libcomp

Description:


(sub)instances of me are placed by the instrumenting compiler into the literal
array of instrumented methods. 
The InstrumentingCompiler generates code to update these, as code is executed.


Class protocol:

cleanup
o  allInfosDo: aBlock

o  allInfosOfClass: aClass do: aBlock

o  allInfosOfMethod: aMethod do: aBlock

o  cleanAllInfoFor: aClass withChange: withChangeNotifications

o  cleanAllInfoWithChange: withChange
InstrumentingCompiler::InstrumentationInfo cleanAllInfo
InstrumentingCompiler::MethodInvocationInfo cleanAllInfo


Instance protocol:

accessing
o  currentInstrumentationContext

o  owningMethod: something

cleanup
o  cleanInfoWithChange: withChange

instrumentation probe calls
o  entry: callingContext
called on entry from instrumented code

private
o  changeClassToAlreadyEntered
nothing done here

o  changeClassToCoverageAndAlreadyEntered
nothing done here

testing
o  isBlockExecutionInfo

o  isMethodInvocationInfo

o  isSpecialInstrumentationInfoLiteral
return true, if the receiver is a special instrumentation info
object as placed into the literal array of instrumented methods

o  isStatementExecutionInfo

o  isVariableAccessExecutionInfo



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sat, 20 Apr 2024 08:17:28 GMT