deps: switch to tikv-jemallocator crates in Cargo.toml (#32828)

`jemallocator` and `jemallocator-sys` crates are same as the `tikv-*`
versions and these aliases were maintained for historical reasons, based
on crates.io documentation. For newer projects, it is recommended to use
the `tikv-` versions of the crate. Even though Servo is not a new
project, it makes sense to switch to the newer version for the sake of
clarity.

Also, more importantly, `tikv-jemallocator` has new release (0.6.0)
which includes a fix for #32720. There doesn't seem to be a
corresponding version publised for the `jemallocator` crate.

Fixes #32720

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
Mukilan Thiyagarajan 2024-07-22 13:25:46 +05:30 committed by GitHub
parent f6dc35f11d
commit a007baa4cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 32 additions and 32 deletions

46
Cargo.lock generated
View file

@ -3233,26 +3233,6 @@ version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
[[package]]
name = "jemalloc-sys"
version = "0.5.4+5.3.0-patched"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac6c1946e1cea1788cbfde01c993b52a10e2da07f4bac608228d1bed20bfebf2"
dependencies = [
"cc",
"libc",
]
[[package]]
name = "jemallocator"
version = "0.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0de374a9f8e63150e6f5e8a60cc14c668226d7a347d8aee1a45766e3c4dd3bc"
dependencies = [
"jemalloc-sys",
"libc",
]
[[package]]
name = "jni"
version = "0.21.1"
@ -4808,7 +4788,6 @@ name = "profile"
version = "0.0.1"
dependencies = [
"ipc-channel",
"jemalloc-sys",
"libc",
"profile_traits",
"regex",
@ -4816,6 +4795,7 @@ dependencies = [
"serde_json",
"servo_config",
"task_info",
"tikv-jemalloc-sys",
]
[[package]]
@ -5698,9 +5678,9 @@ dependencies = [
name = "servo_allocator"
version = "0.0.1"
dependencies = [
"jemalloc-sys",
"jemallocator",
"libc",
"tikv-jemalloc-sys",
"tikv-jemallocator",
"windows-sys 0.52.0",
]
@ -6432,6 +6412,26 @@ dependencies = [
"weezl",
]
[[package]]
name = "tikv-jemalloc-sys"
version = "0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cd3c60906412afa9c2b5b5a48ca6a5abe5736aec9eb48ad05037a677e52e4e2d"
dependencies = [
"cc",
"libc",
]
[[package]]
name = "tikv-jemallocator"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4cec5ff18518d81584f477e9bfdf957f5bb0979b0bac3af4ca30b5b3ae2d2865"
dependencies = [
"libc",
"tikv-jemalloc-sys",
]
[[package]]
name = "time"
version = "0.1.45"