RawDataManaged.java 794 B

123456789101112131415161718192021222324
  1. /* Copyright (C) 2004 Free Software Foundation
  2. This file is part of libgcj.
  3. This software is copyrighted work licensed under the terms of the
  4. Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
  5. details. */
  6. package gnu.gcj;
  7. /** A type used to indicate special data used by native code. Unlike the
  8. <code>RawData</code> type, fields declared as <code>RawDataManaged</code>
  9. will be "marked" by the memory manager and considered for garbage
  10. collection.
  11. Native data which is allocated using CNI's <code>JvAllocBytes()</code>
  12. function and stored in a <code>RawDataManaged</code> will be automatically
  13. freed when the Java object it is associated with becomes unreachable. */
  14. public final class RawDataManaged
  15. {
  16. private RawDataManaged() { }
  17. }