Skip to content

JavaCL : make some use of Java 7's Automatic Resource Management features #7

@ochafik

Description

@ochafik

From @ochafik on September 1, 2011 18:34

As suggested by Jeff (aka jcpalmer : http://groups.google.com/group/nativelibs4java/browse_thread/thread/88901ffdc83b3d7b), we could add some automatic memory management support to JavaCL (and even to BridJ).

See these posts about ARM :
http://metoojava.wordpress.com/2010/12/19/java-7-awesome-aspect-automatic-resource-management/
http://www.dzone.com/links/r/garbage_collection_with_automatic_resource_manage.html

And the AutoCloseable API :
http://download.java.net/jdk7/docs/api/java/lang/AutoCloseable.html

Such support might involve having a different package for the JDK 7 features, as it will probably require implementing the AutoCloseable interface that's hard to backport...

Google Code Info:
Issue #: 72
Author: olivier.chafik
Created On: 2011-06-23T18:57:15.000Z
Closed On:

Copied from original issue: nativelibs4java/nativelibs4java#74

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions