#1 2020-04-23 09:05:12

radexpol
Member
From: Poland, Krk
Registered: 2019-11-29
Posts: 116

FastMM Compiler Hints

I decided to move from regular fastmm4 to mORMot version. After I configured it according to my needs (inc file) I'm getting hints:

[Hint] FastMM4.pas(6718): Value assigned to 'LLockLargeBlocksLocked' never used
[Hint] FastMM4.pas(7212): Value assigned to 'LMediumBlocksLocked' never used

  {$ifndef AssumeMultiThreaded}
    if IsMultiThread then
  {$endif}
    begin
      LLockLargeBlocksLocked := True;
      {$ifdef LogLockContention}ADidSleep:={$endif}
       {Insert the large block into the linked list of large blocks}
      LockLargeBlocks;
    end;

I defined:

{$define AssumeMultiThreaded}

in inc file.

Offline

#2 2020-04-23 09:41:33

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,673
Website

Re: FastMM Compiler Hints

Offline

Board footer

Powered by FluxBB