diff --git a/runtime/src/mimalloc/c/LICENSE b/licenses/third_party/mimalloc_LICENSE.txt similarity index 100% rename from runtime/src/mimalloc/c/LICENSE rename to licenses/third_party/mimalloc_LICENSE.txt diff --git a/runtime/src/mimalloc/c/alloc-aligned.c b/runtime/src/mimalloc/c/alloc-aligned.c index 5a59a63ab26..8d502208f43 100644 --- a/runtime/src/mimalloc/c/alloc-aligned.c +++ b/runtime/src/mimalloc/c/alloc-aligned.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ #include "mimalloc.h" diff --git a/runtime/src/mimalloc/c/alloc-override-osx.c b/runtime/src/mimalloc/c/alloc-override-osx.c index fef4b929f4e..ba35a4b7951 100644 --- a/runtime/src/mimalloc/c/alloc-override-osx.c +++ b/runtime/src/mimalloc/c/alloc-override-osx.c @@ -2,9 +2,12 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ - +/* + * Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license + * that can be found in the LICENSE file. + */ #if !KONAN_MI_MALLOC #include "mimalloc.h" #include "mimalloc-internal.h" diff --git a/runtime/src/mimalloc/c/alloc-override.c b/runtime/src/mimalloc/c/alloc-override.c index 3bde565ab35..8a1612d0402 100644 --- a/runtime/src/mimalloc/c/alloc-override.c +++ b/runtime/src/mimalloc/c/alloc-override.c @@ -2,8 +2,12 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ +/* + * Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license + * that can be found in the LICENSE file. + */ #if !KONAN_MI_MALLOC #if !defined(MI_IN_ALLOC_C) #error "this file should be included from 'alloc.c' (so aliases can work)" diff --git a/runtime/src/mimalloc/c/alloc-posix.c b/runtime/src/mimalloc/c/alloc-posix.c index 505e42e4489..17403772df8 100644 --- a/runtime/src/mimalloc/c/alloc-posix.c +++ b/runtime/src/mimalloc/c/alloc-posix.c @@ -2,7 +2,7 @@ Copyright (c) 2018,2019, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ // ------------------------------------------------------------------------ diff --git a/runtime/src/mimalloc/c/alloc.c b/runtime/src/mimalloc/c/alloc.c index e68b48d2025..ade7d1307aa 100644 --- a/runtime/src/mimalloc/c/alloc.c +++ b/runtime/src/mimalloc/c/alloc.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ #include "mimalloc.h" #include "mimalloc-internal.h" diff --git a/runtime/src/mimalloc/c/heap.c b/runtime/src/mimalloc/c/heap.c index daa9b241c34..7bae495bf95 100644 --- a/runtime/src/mimalloc/c/heap.c +++ b/runtime/src/mimalloc/c/heap.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ #include "mimalloc.h" diff --git a/runtime/src/mimalloc/c/include/mimalloc-atomic.h b/runtime/src/mimalloc/c/include/mimalloc-atomic.h index 56c1320170b..df1d7d4723b 100644 --- a/runtime/src/mimalloc/c/include/mimalloc-atomic.h +++ b/runtime/src/mimalloc/c/include/mimalloc-atomic.h @@ -2,8 +2,12 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ +/* + * Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license + * that can be found in the LICENSE file. + */ #pragma once #ifndef MIMALLOC_ATOMIC_H #define MIMALLOC_ATOMIC_H diff --git a/runtime/src/mimalloc/c/include/mimalloc-internal.h b/runtime/src/mimalloc/c/include/mimalloc-internal.h index f27589ba5eb..b7ca5d7f70f 100644 --- a/runtime/src/mimalloc/c/include/mimalloc-internal.h +++ b/runtime/src/mimalloc/c/include/mimalloc-internal.h @@ -2,8 +2,12 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ +/* + * Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license + * that can be found in the LICENSE file. + */ #pragma once #ifndef MIMALLOC_INTERNAL_H #define MIMALLOC_INTERNAL_H diff --git a/runtime/src/mimalloc/c/include/mimalloc-new-delete.h b/runtime/src/mimalloc/c/include/mimalloc-new-delete.h index 050f94334eb..254cd7b4095 100644 --- a/runtime/src/mimalloc/c/include/mimalloc-new-delete.h +++ b/runtime/src/mimalloc/c/include/mimalloc-new-delete.h @@ -2,7 +2,7 @@ Copyright (c) 2018,2019 Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ #pragma once #ifndef MIMALLOC_NEW_DELETE_H diff --git a/runtime/src/mimalloc/c/include/mimalloc-override.h b/runtime/src/mimalloc/c/include/mimalloc-override.h index 201fb8b49ba..43a33ed1223 100644 --- a/runtime/src/mimalloc/c/include/mimalloc-override.h +++ b/runtime/src/mimalloc/c/include/mimalloc-override.h @@ -2,7 +2,7 @@ Copyright (c) 2018,2019 Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ #pragma once #ifndef MIMALLOC_OVERRIDE_H diff --git a/runtime/src/mimalloc/c/include/mimalloc-types.h b/runtime/src/mimalloc/c/include/mimalloc-types.h index cc8803aaf1a..fb64462a221 100644 --- a/runtime/src/mimalloc/c/include/mimalloc-types.h +++ b/runtime/src/mimalloc/c/include/mimalloc-types.h @@ -2,8 +2,12 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ +/* + * Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license + * that can be found in the LICENSE file. + */ #pragma once #ifndef MIMALLOC_TYPES_H #define MIMALLOC_TYPES_H diff --git a/runtime/src/mimalloc/c/include/mimalloc.h b/runtime/src/mimalloc/c/include/mimalloc.h index 7f26896c039..3e3a4ff9dde 100644 --- a/runtime/src/mimalloc/c/include/mimalloc.h +++ b/runtime/src/mimalloc/c/include/mimalloc.h @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ #pragma once #ifndef MIMALLOC_H diff --git a/runtime/src/mimalloc/c/init.c b/runtime/src/mimalloc/c/init.c index 81413aa92ff..3c1eeac8897 100644 --- a/runtime/src/mimalloc/c/init.c +++ b/runtime/src/mimalloc/c/init.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ #include "mimalloc.h" #include "mimalloc-internal.h" diff --git a/runtime/src/mimalloc/c/memory.c b/runtime/src/mimalloc/c/memory.c index dd03cf9565f..c96424d74c9 100644 --- a/runtime/src/mimalloc/c/memory.c +++ b/runtime/src/mimalloc/c/memory.c @@ -2,7 +2,7 @@ Copyright (c) 2019, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ /* ---------------------------------------------------------------------------- diff --git a/runtime/src/mimalloc/c/options.c b/runtime/src/mimalloc/c/options.c index d6b0558b0f6..abc33226e54 100644 --- a/runtime/src/mimalloc/c/options.c +++ b/runtime/src/mimalloc/c/options.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ #include "mimalloc.h" #include "mimalloc-internal.h" diff --git a/runtime/src/mimalloc/c/os.c b/runtime/src/mimalloc/c/os.c index 3de6e361544..ea40616aacd 100644 --- a/runtime/src/mimalloc/c/os.c +++ b/runtime/src/mimalloc/c/os.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ #ifndef _DEFAULT_SOURCE #define _DEFAULT_SOURCE // ensure mmap flags are defined diff --git a/runtime/src/mimalloc/c/page-queue.c b/runtime/src/mimalloc/c/page-queue.c index 95443a69bb5..2ea0381265e 100644 --- a/runtime/src/mimalloc/c/page-queue.c +++ b/runtime/src/mimalloc/c/page-queue.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ /* ----------------------------------------------------------- diff --git a/runtime/src/mimalloc/c/page.c b/runtime/src/mimalloc/c/page.c index 437cd0a57a1..757b2461233 100644 --- a/runtime/src/mimalloc/c/page.c +++ b/runtime/src/mimalloc/c/page.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ /* ----------------------------------------------------------- diff --git a/runtime/src/mimalloc/c/segment.c b/runtime/src/mimalloc/c/segment.c index dcc6a04b398..a8c2cf5e492 100644 --- a/runtime/src/mimalloc/c/segment.c +++ b/runtime/src/mimalloc/c/segment.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ #include "mimalloc.h" #include "mimalloc-internal.h" diff --git a/runtime/src/mimalloc/c/static.c b/runtime/src/mimalloc/c/static.c index f8aa4c1e88d..1d25b018b77 100644 --- a/runtime/src/mimalloc/c/static.c +++ b/runtime/src/mimalloc/c/static.c @@ -2,8 +2,12 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ +/* + * Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license + * that can be found in the LICENSE file. + */ #if !KONAN_MI_MALLOC #define _DEFAULT_SOURCE diff --git a/runtime/src/mimalloc/c/stats.c b/runtime/src/mimalloc/c/stats.c index 50bd029db0a..451942c1992 100644 --- a/runtime/src/mimalloc/c/stats.c +++ b/runtime/src/mimalloc/c/stats.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"LICENSE" at the root of this distribution. +"licenses/third_party/mimalloc_LICENSE.txt" at the root of this distribution. -----------------------------------------------------------------------------*/ #include "mimalloc.h" #include "mimalloc-internal.h"