Open franz1981 opened 1 day ago
Detecting cache line can be memory and cpu intensive as it is now, involving reading (in-memory) files (in linux) or spawing new processes (on MacOS): in JCTools we save all of this via https://github.com/JCTools/JCTools/blob/a17b56f09cc9ec7d773707578c89f3ca9c11f968/jctools-core/src/main/java/org/jctools/util/PortableJvmInfo.java#L21
@radcortez you can add more data about why is costy here, if you wish
Detecting cache line can be memory and cpu intensive as it is now, involving reading (in-memory) files (in linux) or spawing new processes (on MacOS): in JCTools we save all of this via https://github.com/JCTools/JCTools/blob/a17b56f09cc9ec7d773707578c89f3ca9c11f968/jctools-core/src/main/java/org/jctools/util/PortableJvmInfo.java#L21