An inspection of the RefTracker inc and dec methods suggests that a particular Java Stub instance is included in the javaObjs map if and only if its reference count, refcnt, is larger than zero. A newly created reference created by RefTracker.createRef has zero refcnt but was also inserted in the javaObjs map, violating the invariant. Fix that by not inserting new references in javaObjs. Without the fix a Stub instance that were never passed to Go would leak, along with any other instances it referenced, transitively. This fixes a Java reference tracking problem, I have not verified if the same problem applies to the Go and ObjC sides of the Seq machinery. Change-Id: I3ede90d5258630bc837fe61bba850df222d09a26 Reviewed-on: https://go-review.googlesource.com/19261 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Go support for Mobile devices
The Go mobile repository holds packages and build tools for using Go on mobile platforms.
Package documentation as a starting point:
The Go Mobile project is experimental. Use this at your own risk. While we are working hard to improve it, neither Google nor the Go team can provide end-user support.
This is early work and installing the build system requires Go 1.5. Follow the instructions on golang.org/wiki/Mobile to install the gomobile command, build the basic and the bind example apps.
--
Contributions to Go are appreciated. See https://golang.org/doc/contribute.html.
- Bugs can be filed at the Go issue tracker.
- Feature requests should preliminary be discussed on golang-nuts mailing list.
Description
Languages
Go
86.9%
Objective-C
4.7%
Java
4.6%
C
3.4%
HTML
0.3%
Other
0.1%