Add javadoc (#5329)

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
This commit is contained in:
Fabio Di Fabio
2023-04-11 22:53:00 +02:00
committed by GitHub
parent a9b906cba5
commit 97fb61df94

View File

@@ -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();