diff --git a/src/IllimaniProfiler/AllocationSiteInfoModel.class.st b/src/IllimaniProfiler/AllocationSiteInfoModel.class.st index ffae538..fa4af5e 100644 --- a/src/IllimaniProfiler/AllocationSiteInfoModel.class.st +++ b/src/IllimaniProfiler/AllocationSiteInfoModel.class.st @@ -57,7 +57,7 @@ AllocationSiteInfoModel >> contextFingerprint [ { #category : 'accessing' } AllocationSiteInfoModel >> contextFingerprint: aContext [ - contextFingerprint := self getContextFingerprint: aContext + contextFingerprint := String streamContents: [ :stream | aContext debugStack: 5 on: stream ] ] { #category : 'accessing' } @@ -66,12 +66,6 @@ AllocationSiteInfoModel >> fullMethodName [ ^ allocatorMethod name ] -{ #category : 'initialization' } -AllocationSiteInfoModel >> getContextFingerprint: aContext [ - - ^ "String streamContents: [ :stream | aContext debugStack: 2 on: stream ]" aContext asString -] - { #category : 'inspector - extensions' } AllocationSiteInfoModel >> inspectableAssociations [ diff --git a/src/IllimaniProfiler/IllAllocationProfiler.class.st b/src/IllimaniProfiler/IllAllocationProfiler.class.st index e2b1d05..aa2260c 100644 --- a/src/IllimaniProfiler/IllAllocationProfiler.class.st +++ b/src/IllimaniProfiler/IllAllocationProfiler.class.st @@ -146,7 +146,7 @@ IllAllocationProfiler >> internalRegisterAllocation: newlyAllocatedObject [ allocatorClass: filteredContext receiver class; allocatorMethod: filteredContext compiledCode method; allocatedObjectClass: newlyAllocatedObject class; - contextFingerprint: filteredContext; + "contextFingerprint: filteredContext;" sizeInBytes: newlyAllocatedObject sizeInMemory; initializationTime: Time primUTCMicrosecondsClock.