• Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    Quote:

    Georg wrote:

    Would it be possible to (optionally) have a stronger isolation of the tabs from each other. So (not knowing the code), if at the moment it is like one single ~browser "object" and multiple ~ŧab/page "objects" you change that to one ~browser "object" per open tab. So when closing tab -> browser object killed -> more/all memory gets freed just like what happens now when quitting Odyssey.




    I actually tried to use one instance of the js virtual machine per browser object, but it didn't work as expected. By design, in WebKit1, the VM is shared by all instances, and it relies on that. In WebKit2, that's different, each browser is isolated in a thread, with its own js VM instance, so it wouldn't be a problem there. At task destruction, all the memory could easily be released. But porting WebKit2 is quite some work.


    [ Edited by Fab 10.05.2015 - 22:25 ]
  • »10.05.15 - 00:17
    Profile Visit Website