Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Merge from master RC1 to feature-prof2 branch #208

Merged
merged 7 commits into from
Jun 7, 2022
Merged

Conversation

laksono
Copy link
Member

@laksono laksono commented Jun 7, 2022

Contains fixes for:

laksono added 7 commits June 6, 2022 14:56
The fix is to check the Java's "file.encoding" system property.
If the property is based on ANSI character set, it's likely it doesn't support UTF.
This assumption is not entirely correct, but good enough for now.
It seems it doesn't change to call once or twice. If once is sufficient,
avoid overcomplexity by calling refresh twice.

Minor update: add some comments
According to https://sandor.tech/java/2017/08/02/securerandom-can-hang.html the java.util.SecureRandom class may hang on Linux platforms.
It's better to use the standard Random instead to avoid hang.
It's just a test, it doesn't matter if it isn't do randomization properly.
prof2 database can have different types of id-tuple types (mpi, thread,
cores, gpu contexts, streams ...). It doesn't make sense to linearize
them to show the range range. We need to come up with a better solution.
At the moment, removing the label is a better option.
@laksono laksono merged commit 6f98b5a into feature-prof2 Jun 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant