This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Rollback always lasts several seconds, even if there are only few changes to rollback (e.g. one method in one class). This is caused by call FileDescriptor.sync(). This call flushes all buffers to disk. Can this mechanism be somehow improved? Beause regular transactions don't call sync() and they are fast.
Created attachment 15333 [details] Stack trace
Rollback is slow and commit is fast because the storage is optimized for commits. Since rollback happens only if there is a bug in our code, optimizing it is not worth the effort, thus not a priority. Dan, please look at it, if it involves more than half a day of work or is risky (in terms of destabilizing the codebase), let it be for now.
Moved to new subcomponent java/javacore.
old target milestone, please re-evaluate
Javacore module was replaced by Retouche infrastructure. This bug is not valid in trunk any more.
Reorganization of java component