100218: BigInteger staticRandom field (original) (raw)
Paul Ciprich paul.ciprich at gmail.com
Tue Dec 13 14:44:15 UTC 2011
- Previous message: 100218: BigInteger staticRandom field
- Next message: 100218: BigInteger staticRandom field
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
All,
I've created a bug report to address a scalability problem with BigInteger's staticRandom field. The problem is that the shared staticRandom field causes bottlenecks with parallel code. The proposed solution is to change the staticRandom field to a ThreadLocal and eliminate the bottleneck by giving each thread its own copy of the SecureRandom object. Bug 100218 contains a patch with the proposed change if it is deemed acceptable.
Thanks, -Paul Ciprich
- Previous message: 100218: BigInteger staticRandom field
- Next message: 100218: BigInteger staticRandom field
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]