Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rethink Random engine injection #766

Open
jenetics opened this issue Apr 16, 2021 · 0 comments
Open

Rethink Random engine injection #766

jenetics opened this issue Apr 16, 2021 · 0 comments

Comments

@jenetics
Copy link
Owner

The Random engine, used by the library, is currently injected statically with the help of the RandomRegistry class.

This works good in the current environment. But with the Java project Loom, the behavior in a multi threading environment will change substantially. In this environment, the method of statically injected Random engine seems no longer appropriate. The advent of an own Java random API will additionally change the environment for the usage of Random engines (see #759).

@jenetics jenetics self-assigned this Apr 16, 2021
@jenetics jenetics changed the title Rethink the injection of the Random engines Rethink Random engine injection Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant