File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -2491,6 +2491,7 @@ private void AddSubType(PythonType subtype) {
24912491 }
24922492
24932493 lock ( _subtypesLock ) {
2494+ _subtypes . RemoveAll ( x => ! x . TryGetTarget ( out _ ) ) ; // remove dead entries
24942495 _subtypes . Add ( new WeakReference < PythonType > ( subtype ) ) ;
24952496 }
24962497 }
Original file line number Diff line number Diff line change @@ -62,12 +62,6 @@ Reason=New test needs to be written for new csharp version
6262Ignore =true
6363Reason =Assertion error
6464
65- [IronPython.test_memory]
66- # RunCondition=NOT $(IS_POSIX)
67- # Reason=Memory allocation on Mono may not match MS.NET
68- Ignore =true
69- Reason =Fails intermittently - https://github.com/IronLanguages/ironpython3/issues/508
70-
7165[IronPython.test_number]
7266Timeout =300000 # 5 minute timeout - slow on macOS
7367
Original file line number Diff line number Diff line change @@ -82,9 +82,9 @@ def setUp(self):
8282 from Microsoft .Scripting .Generation import Snippets
8383
8484 self .skipMemoryCheck = Snippets .Shared .SaveSnippets or clr .GetCurrentRuntime ().Configuration .DebugMode
85- self .expectedMem = 24000
8685
8786 # account for adaptive compilation
87+ self .expectedMem = 24000
8888 if is_cli64 :
8989 self .expectedMem = int (self .expectedMem * 1.25 )
9090
You can’t perform that action at this time.
0 commit comments