From 97fb61df942e2f3c69a78ff27e7c83bb73705de9 Mon Sep 17 00:00:00 2001 From: Fabio Di Fabio Date: Tue, 11 Apr 2023 22:53:00 +0200 Subject: [PATCH] Add javadoc (#5329) Signed-off-by: Fabio Di Fabio --- .../hyperledger/besu/util/platform/PlatformDetector.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/util/src/main/java/org/hyperledger/besu/util/platform/PlatformDetector.java b/util/src/main/java/org/hyperledger/besu/util/platform/PlatformDetector.java index 1e2c070393..1367c72106 100644 --- a/util/src/main/java/org/hyperledger/besu/util/platform/PlatformDetector.java +++ b/util/src/main/java/org/hyperledger/besu/util/platform/PlatformDetector.java @@ -104,6 +104,12 @@ public class PlatformDetector { return _glibc; } + /** + * Gets jemalloc version. + * + * @throws UnsatisfiedLinkError if the library cannot be found or dependent libraries are missing. + * @return the jemalloc version + */ public static String getJemalloc() { if (_jemalloc == null) { detectJemalloc();