Difference between revisions of "AppendCCATempAllocatorInfo (Stringlist function)"

From m204wiki
Jump to: navigation, search
(Automatically generated page update)
 
 
Line 1: Line 1:
 
{{Template:Stringlist:AppendCCATempAllocatorInfo subtitle}}
 
{{Template:Stringlist:AppendCCATempAllocatorInfo subtitle}}
  
This page is [[under construction]].
+
Produce information useful in identifying the cause of a CCATEMP page leak.
 
==Syntax==
 
==Syntax==
 
{{Template:Stringlist:AppendCCATempAllocatorInfo syntax}}
 
{{Template:Stringlist:AppendCCATempAllocatorInfo syntax}}
Line 11: Line 11:
 
</table>
 
</table>
 
==Usage notes==
 
==Usage notes==
 +
If a CCATEMP page leak is suspected, this method can be run in the Online with the suspected leak, and the contents of the output <var>Stringlist</var> sent to Rocket Model 204 support. The <var>Stringlist</var> items contain offsets in the Model 204 assembler code so are not likely to be useful without interaction with Rocket Model 204 support.
 
==Examples==
 
==Examples==
==See also==
+
The following sorts the <var>AppendCCATempAllocatorInfo</var> output and saves it to procedure -1:
 +
<p class="code">
 +
USE PROC -1
 +
b                                                     
 +
                                                       
 +
%sl  is object stringlist                             
 +
%x    is string len 32                                 
 +
%i    is float                                         
 +
                                                       
 +
%sl = new                                             
 +
%sl:AppendCCATempAllocatorInfo                         
 +
%sl:sort("1,10,D")                                     
 +
                                                       
 +
for %i from 1 to %sl:count                             
 +
  print %sl(%i):unspace(leading=false, compress=false) 
 +
end for                                               
 +
                                                       
 +
end
 +
</p>
 
{{Template:Stringlist:AppendCCATempAllocatorInfo footer}}
 
{{Template:Stringlist:AppendCCATempAllocatorInfo footer}}

Latest revision as of 04:36, 24 May 2021

Add CCATEMP allocator information to a Stringlist (Stringlist class)


Produce information useful in identifying the cause of a CCATEMP page leak.

Syntax

[%rc =] sl:AppendCCATempAllocatorInfo

Syntax terms

%rcnumber
sl Stringlist object

Usage notes

If a CCATEMP page leak is suspected, this method can be run in the Online with the suspected leak, and the contents of the output Stringlist sent to Rocket Model 204 support. The Stringlist items contain offsets in the Model 204 assembler code so are not likely to be useful without interaction with Rocket Model 204 support.

Examples

The following sorts the AppendCCATempAllocatorInfo output and saves it to procedure -1:

USE PROC -1 b %sl is object stringlist %x is string len 32 %i is float %sl = new %sl:AppendCCATempAllocatorInfo %sl:sort("1,10,D") for %i from 1 to %sl:count print %sl(%i):unspace(leading=false, compress=false) end for end