Discussion:
[Gc] Arm64 iOS support
Kirill Prazdnikov
2015-12-01 10:05:00 UTC
Permalink
Hi,

does the collector support arm64 iOS ?

Thanks
Shiro Kawai
2015-12-02 22:51:25 UTC
Permalink
I'm using bdwgc on iOS8 and later (including arm64). You need development
HEAD.
Post by Kirill Prazdnikov
Hi,
does the collector support arm64 iOS ?
Thanks
_______________________________________________
bdwgc mailing list
https://lists.opendylan.org/mailman/listinfo/bdwgc
Kirill Prazdnikov
2015-12-02 23:06:29 UTC
Permalink
Hi Shiro,

RoboVM is a Java compiler for iOS.
They have a repo (github.com/robovm/bdwgc), a fork of official (
github.com/ivmai/bdwgc)

They have solved many issues using the collector on iOS (32, 64, and 32 on
64).
Like this one:
https://github.com/robovm/bdwgc/commit/330797462474976093d631058f784c843040e294

Does it mean that I will face all that issues on iOS using original bdwgc
code ?

Thanks,
-Kirill
I'm using bdwgc on iOS8 and later (including arm64). ro,.
Post by Kirill Prazdnikov
Hi,
does the collector support arm64 iOS ?
Thanks
_______________________________________________
bdwgc mailing list
https://lists.opendylan.org/mailman/listinfo/bdwgc
Shiro Kawai
2015-12-02 23:47:05 UTC
Permalink
Could be the case; my use was limited so it's very likely that I haven't
stepped
on to those nasty issues. Hopefully those fixes will get merged
into the upstream. The arm64 support is pre-release anyways, so YMMV...
Post by Kirill Prazdnikov
Hi Shiro,
RoboVM is a Java compiler for iOS.
They have a repo (github.com/robovm/bdwgc), a fork of official (
github.com/ivmai/bdwgc)
They have solved many issues using the collector on iOS (32, 64, and 32 on
64).
https://github.com/robovm/bdwgc/commit/330797462474976093d631058f784c843040e294
Does it mean that I will face all that issues on iOS using original bdwgc
code ?
Thanks,
-Kirill
I'm using bdwgc on iOS8 and later (including arm64). ro,.
Post by Kirill Prazdnikov
Hi,
does the collector support arm64 iOS ?
Thanks
_______________________________________________
bdwgc mailing list
https://lists.opendylan.org/mailman/listinfo/bdwgc
Ivan Maidanski
2015-12-04 10:05:57 UTC
Permalink
Hello,
The mentioned patch https://github.com/robovm/bdwgc/commit/330797462474976093d631058f784c843040e294 has been recently cherry-picked to bdwgc master, see https://github.com/ivmai/bdwgc/commit/2c870edc
--
Could be the case; my use was limited so it's very likely that I haven't stepped
on to those nasty issues.  Hopefully those fixes will get merged
into the upstream.   The arm64 support is pre-release anyways, so YMMV...
Post by Kirill Prazdnikov
Hi Shiro,
RoboVM is a Java compiler for iOS.
They have a repo ( github.com/robovm/bdwgc ), a fork of official ( github.com/ivmai/bdwgc )
They have solved many issues using the collector on iOS (32, 64, and 32 on 64).
Like this one: https://github.com/robovm/bdwgc/commit/330797462474976093d631058f784c843040e294
Does it mean that I will face all that issues on iOS using original bdwgc code ?
Thanks,
   -Kirill
I'm using bdwgc on iOS8 and later (including arm64).  ro,.
Hi, 
 does the collector support arm64 iOS ?
Thanks
_______________________________________________
bdwgc mailing list
https://lists.opendylan.org/mailman/listinfo/bdwgc
_______________________________________________
bdwgc mailing list
https://lists.opendylan.org/mailman/listinfo/bdwgc
Ivan Maidanski
2015-12-05 14:05:11 UTC
Permalink
Hello Kirill,
GC scans registers of other thread. This is a very target specific part - e.g. in case of Windows and iOS it uses context structure which contains all registers of the suspended thread.
I see, thanks
Unfortunatelly RoboVM have closed sources and we will not be able to see any further bugs fixed.
I have one more question about the GC,
What if one thread call gcalloc and have the result on a register for some time, how come the collecting thread (another one) can see this pointer ?
Thanks
Post by Ivan Maidanski
Hello,
The mentioned patch https://github.com/robovm/bdwgc/commit/330797462474976093d631058f784c843040e294 has been recently cherry-picked to bdwgc master, see https://github.com/ivmai/bdwgc/commit/2c870edc
--
Could be the case; my use was limited so it's very likely that I haven't stepped
on to those nasty issues.  Hopefully those fixes will get merged
into the upstream.   The arm64 support is pre-release anyways, so YMMV...
Post by Kirill Prazdnikov
Hi Shiro,
RoboVM is a Java compiler for iOS.
They have a repo ( github.com/robovm/bdwgc ), a fork of official ( github.com/ivmai/bdwgc )
They have solved many issues using the collector on iOS (32, 64, and 32 on 64).
Like this one: https://github.com/robovm/bdwgc/commit/330797462474976093d631058f784c843040e294
Does it mean that I will face all that issues on iOS using original bdwgc code ?
Thanks,
   -Kirill
I'm using bdwgc on iOS8 and later (including arm64).  ro,.
Hi, 
 does the collector support arm64 iOS ?
Thanks
_______________________________________________
bdwgc mailing list
https://lists.opendylan.org/mailman/listinfo/bdwgc
_______________________________________________
bdwgc mailing list
https://lists.opendylan.org/mailman/listinfo/bdwgc
Continue reading on narkive:
Loading...