Oracle JDBC (MOSC)

MOSC Banner

Behavior of ThreadedCachingBlockSource

in Oracle JDBC (MOSC) 3 commentsAnswered

Oracle Product: Oracle JDBC Driver 21.1.0.0

Question:

About the byte[][] array in "stack" field of oracle.jdbc.dirver.BlockSource$ThreadedCachingBlockSource objects hold by each oracle.jdbc.driver.PhysicalConnection object:

 - What is the condition that the size of byte[][] array is expanded?

 - What is the condition that the element of each byte[] array is removed (null cleared)?

 - How to avoid these expantion/compaction behavior?

I'm confused that these expantion/compaction behavior makes many large byte[] array object to be monotonically increased. (it will fill the Tenured area, and will be collected by FullGC only)

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center