diff options
Diffstat (limited to 'tests/src/GC/Stress')
25 files changed, 76 insertions, 51 deletions
diff --git a/tests/src/GC/Stress/Framework/DetourHelpers.cs b/tests/src/GC/Stress/Framework/DetourHelpers.cs index 13ee0b5b0d..0cf38e8b01 100644 --- a/tests/src/GC/Stress/Framework/DetourHelpers.cs +++ b/tests/src/GC/Stress/Framework/DetourHelpers.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // diff --git a/tests/src/GC/Stress/Framework/LoaderClass.cs b/tests/src/GC/Stress/Framework/LoaderClass.cs index a1dbbc0545..59d2e5fe43 100644 --- a/tests/src/GC/Stress/Framework/LoaderClass.cs +++ b/tests/src/GC/Stress/Framework/LoaderClass.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // diff --git a/tests/src/GC/Stress/Framework/RFLogging.cs b/tests/src/GC/Stress/Framework/RFLogging.cs index b0648249c8..a4972c0b97 100644 --- a/tests/src/GC/Stress/Framework/RFLogging.cs +++ b/tests/src/GC/Stress/Framework/RFLogging.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // diff --git a/tests/src/GC/Stress/Framework/ReliabilityConfiguration.cs b/tests/src/GC/Stress/Framework/ReliabilityConfiguration.cs index fae4eae1c1..f0d6627090 100644 --- a/tests/src/GC/Stress/Framework/ReliabilityConfiguration.cs +++ b/tests/src/GC/Stress/Framework/ReliabilityConfiguration.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // diff --git a/tests/src/GC/Stress/Framework/ReliabilityFramework.cs b/tests/src/GC/Stress/Framework/ReliabilityFramework.cs index bd6e8980cf..8877e262e6 100644 --- a/tests/src/GC/Stress/Framework/ReliabilityFramework.cs +++ b/tests/src/GC/Stress/Framework/ReliabilityFramework.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // diff --git a/tests/src/GC/Stress/Framework/ReliabilityTest.cs b/tests/src/GC/Stress/Framework/ReliabilityTest.cs index a22381f6bc..66ea47e85c 100644 --- a/tests/src/GC/Stress/Framework/ReliabilityTest.cs +++ b/tests/src/GC/Stress/Framework/ReliabilityTest.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // diff --git a/tests/src/GC/Stress/Framework/ReliabilityTestSet.cs b/tests/src/GC/Stress/Framework/ReliabilityTestSet.cs index b5d2b9fefe..119843652f 100644 --- a/tests/src/GC/Stress/Framework/ReliabilityTestSet.cs +++ b/tests/src/GC/Stress/Framework/ReliabilityTestSet.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // diff --git a/tests/src/GC/Stress/Tests/573277.cs b/tests/src/GC/Stress/Tests/573277.cs index 185217d717..d2d5ce252c 100644 --- a/tests/src/GC/Stress/Tests/573277.cs +++ b/tests/src/GC/Stress/Tests/573277.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // diff --git a/tests/src/GC/Stress/Tests/ExpandHeap.cs b/tests/src/GC/Stress/Tests/ExpandHeap.cs index d2b2bbc812..7731ce5322 100644 --- a/tests/src/GC/Stress/Tests/ExpandHeap.cs +++ b/tests/src/GC/Stress/Tests/ExpandHeap.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // diff --git a/tests/src/GC/Stress/Tests/GCSimulator.cs b/tests/src/GC/Stress/Tests/GCSimulator.cs index ad62c69286..0350f65185 100644 --- a/tests/src/GC/Stress/Tests/GCSimulator.cs +++ b/tests/src/GC/Stress/Tests/GCSimulator.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System.Diagnostics; using System; diff --git a/tests/src/GC/Stress/Tests/LargeObjectAlloc.cs b/tests/src/GC/Stress/Tests/LargeObjectAlloc.cs index 8d4e7ca9d1..1324257c87 100644 --- a/tests/src/GC/Stress/Tests/LargeObjectAlloc.cs +++ b/tests/src/GC/Stress/Tests/LargeObjectAlloc.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Bug#94878 Problem with the Large Object Allocator // Repro test from MStanton diff --git a/tests/src/GC/Stress/Tests/LargeObjectAlloc1.cs b/tests/src/GC/Stress/Tests/LargeObjectAlloc1.cs index 5029bee1d6..0201e9d132 100644 --- a/tests/src/GC/Stress/Tests/LargeObjectAlloc1.cs +++ b/tests/src/GC/Stress/Tests/LargeObjectAlloc1.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Allocate arrays from 20KB to 25MB, 200 times // If memory is low, after every loop, the large objects should be collected @@ -39,4 +40,4 @@ public class Test TestLibrary.Logging.WriteLine("Test Passed"); return 100; } -}
\ No newline at end of file +} diff --git a/tests/src/GC/Stress/Tests/LargeObjectAlloc2.cs b/tests/src/GC/Stress/Tests/LargeObjectAlloc2.cs index c8ff41d43a..d559319c62 100644 --- a/tests/src/GC/Stress/Tests/LargeObjectAlloc2.cs +++ b/tests/src/GC/Stress/Tests/LargeObjectAlloc2.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Allocate nested objects of ~ 25 MB // If memory is low, after every loop, the large objects should be collected diff --git a/tests/src/GC/Stress/Tests/LargeObjectAlloc3.cs b/tests/src/GC/Stress/Tests/LargeObjectAlloc3.cs index 86d23a7fd9..522a75341e 100644 --- a/tests/src/GC/Stress/Tests/LargeObjectAlloc3.cs +++ b/tests/src/GC/Stress/Tests/LargeObjectAlloc3.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Allocate nested objects of increasing size ranging from 200 KB to ~ 25 MB // If memory is low, after every loop, the large objects should be collected diff --git a/tests/src/GC/Stress/Tests/LargeObjectAlloc4.cs b/tests/src/GC/Stress/Tests/LargeObjectAlloc4.cs index 2d5a5bcc7a..9a940f1978 100644 --- a/tests/src/GC/Stress/Tests/LargeObjectAlloc4.cs +++ b/tests/src/GC/Stress/Tests/LargeObjectAlloc4.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // This test should need to allocated a maximum of 20 MB and so, should pass without // OOM Exception. On RTM as the largeobjects were never committed, this test would diff --git a/tests/src/GC/Stress/Tests/LargeObjectAllocPinned.cs b/tests/src/GC/Stress/Tests/LargeObjectAllocPinned.cs index 919d7005bb..4f255fa4af 100644 --- a/tests/src/GC/Stress/Tests/LargeObjectAllocPinned.cs +++ b/tests/src/GC/Stress/Tests/LargeObjectAllocPinned.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Regression Test for Bug# 145842(Possible GC hole with byrefs into the large heap) diff --git a/tests/src/GC/Stress/Tests/PlugGaps.cs b/tests/src/GC/Stress/Tests/PlugGaps.cs index 292a9b530a..e354d8983f 100644 --- a/tests/src/GC/Stress/Tests/PlugGaps.cs +++ b/tests/src/GC/Stress/Tests/PlugGaps.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // diff --git a/tests/src/GC/Stress/Tests/RedBlackTree.cs b/tests/src/GC/Stress/Tests/RedBlackTree.cs index 8e08e51884..b7757753b1 100644 --- a/tests/src/GC/Stress/Tests/RedBlackTree.cs +++ b/tests/src/GC/Stress/Tests/RedBlackTree.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. /*************************** Red-Black Tree ************************************************ diff --git a/tests/src/GC/Stress/Tests/StressAllocator.cs b/tests/src/GC/Stress/Tests/StressAllocator.cs index 2c3c89e568..25f1ec1758 100644 --- a/tests/src/GC/Stress/Tests/StressAllocator.cs +++ b/tests/src/GC/Stress/Tests/StressAllocator.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System; using System.Threading; diff --git a/tests/src/GC/Stress/Tests/allocationwithpins.cs b/tests/src/GC/Stress/Tests/allocationwithpins.cs index 0c7ac79d0b..d23a1bdc0d 100644 --- a/tests/src/GC/Stress/Tests/allocationwithpins.cs +++ b/tests/src/GC/Stress/Tests/allocationwithpins.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // diff --git a/tests/src/GC/Stress/Tests/b115557.cs b/tests/src/GC/Stress/Tests/b115557.cs index 7a02d51ad1..5906b5c72e 100644 --- a/tests/src/GC/Stress/Tests/b115557.cs +++ b/tests/src/GC/Stress/Tests/b115557.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // diff --git a/tests/src/GC/Stress/Tests/bestfit-finalize.cs b/tests/src/GC/Stress/Tests/bestfit-finalize.cs index 0f319e423d..ad308a1fb9 100644 --- a/tests/src/GC/Stress/Tests/bestfit-finalize.cs +++ b/tests/src/GC/Stress/Tests/bestfit-finalize.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // diff --git a/tests/src/GC/Stress/Tests/concurrentspin2.cs b/tests/src/GC/Stress/Tests/concurrentspin2.cs index dc4ef8406c..93ccc4ba2c 100644 --- a/tests/src/GC/Stress/Tests/concurrentspin2.cs +++ b/tests/src/GC/Stress/Tests/concurrentspin2.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // diff --git a/tests/src/GC/Stress/Tests/pinstress.cs b/tests/src/GC/Stress/Tests/pinstress.cs index 61c056bd9b..30b4c58f92 100644 --- a/tests/src/GC/Stress/Tests/pinstress.cs +++ b/tests/src/GC/Stress/Tests/pinstress.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // diff --git a/tests/src/GC/Stress/Tests/plug.cs b/tests/src/GC/Stress/Tests/plug.cs index 8ba52c71b0..b118d04609 100644 --- a/tests/src/GC/Stress/Tests/plug.cs +++ b/tests/src/GC/Stress/Tests/plug.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // |