• Task
  • Status: Resolved
  • 1 Critical
  • Resolution: Fixed
  • cdennis
  • Reporter: alexsnaps
  • January 07, 2013
  • 0
  • Watchers: 3
  • March 01, 2013
  • January 30, 2013

Description

java.util.concurrent.atomic.Atomic*FieldUpdater should fit a couple of usages. … even though some changes might be a little challenging (i.e. ConcurrentHashMap.*tabAt)

Comments

Tim Eck 2013-01-07

The motivation for this is partly to help with osgi deployments I think (correct me if wrong). When using things in packages like sun.misc.* (like Unsafe) I think you need extra configuration for using ehcache in osgi. It’d be nice to not bother end users with this.

There is also the argument of not relying on internal oracle apis, but for Unsafe I don’t think that is a strong point.

Alexander Snaps 2013-01-07

osgi can probably be extended to any SecurityManage’d environment though… I think ehcache standalone would just work fine in these… until now