Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MONDRIAN: Fixes memory leaks in the test suite.
Fixes a bug where the grouping sets would mix up the order of the measures and wouldn't map the correct SQL column to the proper cell data. Fixes a bug in the monitor system where obtaining the server instance (through the Locus) would fail if the connection had been closed before the monitor actor would have time to send the events out. Fixes a bug in SegmentHeader.canConstrain where it would return true when a cell region to flush was overlapping over an entire axis of the header. When we flush completely an axis, there is no reason to keep that header, since it's completely stale. Refactored the segment cache indexes so there is one index per RolapStar instance. This prevents memory leaks (the index was owned by the server instance and was refering to the RolapSchema objects). It also makes the indexes more efficient, since an index only contains data relevant to a single star, and not all of the stars of a MondrianServer instance. Fixes bugs in the finalize() methods of some objects. If an exception is thrown when the garbage collector calls finalize(), the object becomes a true-memory-leak and never gets GC'd even if nobody refers to it. [git-p4: depot-paths = "//open/mondrian/": change = 14915]
- Loading branch information
1 parent
a8a487b
commit b12cfad
Showing
32 changed files
with
1,149 additions
and
458 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.