Opened 11 years ago
Closed 11 years ago
#398 closed defect (fixed)
fix UCERF2 thread safety
Reported by: | Peter Powers | Owned by: | Peter Powers |
---|---|---|---|
Priority: | major | Milestone: | OpenSHA 1.3 |
Component: | sha | Version: | |
Keywords: | Cc: |
Description
Threading issues exist when running multiple instances of UCERF2 in the same JVM. Specifically:
- magLen relationships are commonly declared static even though they have a settable fields
- deformation and fault model fetchers are usually only initialized once, but their internal tables are static and may not be fully initialized when accessed by multiple threads
- nnls is unsynchronized
Change History (2)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
in [8930]
org.opensha.commons.nnls.Nnls.nnls()
UCERF2...A_FaultSegmentedSourceGenerator.java
UCERF2...DeformationModelPrefDataFinal?
UCERF2...PrefFaultSectionDataFinal?
UCERF2...NSHMP_GridSourceGenerator