The threshold warning is actually determined by GLOBALBLOCKSUSED / GLOBALMAX. This percentage is the number monitored by GLOBALWARNTHRESH .
GLOBALALLOC is the sum of GLOBALBLOCKSUSED and GLOBALFREE.
GLOBALFREE has the number of blocks that have been allocated and freed later.
The same logic applies to the temporary global variable workspace parameters:
GLOBALTEMPBLKSUSED
GLOBALTEMPFREE
GLOBALTEMPALLOC
GLOBALTEMPMAX