mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Test updates
This commit is contained in:
parent
adbae6f1d4
commit
639430b41c
7 changed files with 73 additions and 29 deletions
|
@ -1457,7 +1457,10 @@ bool BFGC::ScanThreads()
|
|||
|
||||
mQueueMarkObjects = true;
|
||||
ConservativeScan(regVals, regValCount * sizeof(intptr));
|
||||
thread->CalcStackStart();
|
||||
intptr prevStackStart = thread->mStackStart;
|
||||
thread->CalcStackStart();
|
||||
|
||||
thread->mLastStackPtr = stackPtr;
|
||||
int length = thread->mStackStart - stackPtr;
|
||||
|
||||
AdjustStackPtr(stackPtr, length);
|
||||
|
|
|
@ -174,12 +174,14 @@ public:
|
|||
BfpThreadId mThreadId;
|
||||
void* mTEB;
|
||||
intptr mStackStart;
|
||||
intptr mLastStackPtr;
|
||||
bool mRunning;
|
||||
Beefy::Array<bf::System::Object*> mStackMarkableObjects;
|
||||
|
||||
ThreadInfo()
|
||||
{
|
||||
mThreadId = 0;
|
||||
mLastStackPtr = 0;
|
||||
mThreadHandle = NULL;
|
||||
mThreadInfo = NULL;
|
||||
mTEB = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue