BALTIMORE — Maryland Gov. Larry Hogan said Tuesday he plans to propose legislation to tighten sentencing for violent criminals in the upcoming session, part of an effort to quell a surge in Baltimore bloodshed.

Hogan, a Republican, said he is planning a “truth in sentencing” measure as part of a package of bills in the legislative session that begins in January. He told reporters after a closed-door meeting of the Baltimore City Criminal Justice Coordinating Council that too many judges are waiving prison sentences for probation for repeat violent criminals.

“I believe that that’s not acceptable, and we keep putting those same exact violent people on the streets,” the governor said.

Hogan also expressed displeasure that judges declined to attend the meeting.

“We wanted input,” Hogan said. “They refused to come.”

Judge Mary Ellen Barbera, chief judge of Maryland’s highest court, wrote in a letter to the governor this month that ethical constraints prohibit judges “from making statements about how they might sentence.”

“The Code demands that judges evaluate and consider the specific circumstances in each case,” Barbera wrote.

With 231 slayings so far this year, Baltimore is on pace to have more than 300 homicides in 2017, threatening to make new records for bloodshed in the city for the third consecutive year.

Mayor Catherine Pugh, who attended Tuesday’s meeting, announced a violence prevention plan earlier this month. She echoed the governor’s concerns about repeat violent offenders and his frustration that representatives of the judiciary were not in attendance.

“I guess we’ll keep calling them,” Pugh, a Democrat, said.

Police Commissioner Kevin Clark said he also believes tougher sentencing needs to be part of the solution.

“I think detractors say, well, that’s not the only way out of this place. Well, no kidding,” Clark said. “No one ever said it was the only way out of this place. We need better housing, we need better education. We need better jobs. We need better job training. We need all of those things, but right now, where we find ourselves, we need to hold people responsible and accountable who particularly choose to carry a gun and shoot other people in our city.”

Some criticized the governor for not opening the meeting to the public.

“I know some people were concerned about why was the meeting closed, but people are much more frank and open and honest when you’re having a serious discussion in executive session, as opposed to a media circus where people are just saying things to get attention or to score points,” Hogan said.

Ben Jealous, the former head of the NAACP who is running for the Democratic nomination for governor in 2018, questioned that reasoning. He criticized the governor outside the state building where the meeting was held.

“He tells us this meeting is closed because he wants to have a candid conversation? He should be having candid conversations with the leaders of our city every day,” Jealous said.

Attorney General Brian Frosh, who attended the meeting, also said he would have preferred an open meeting. He said nothing was said in the closed setting that hasn’t been brought up in public somewhere else. He said he believes there was a mistaken impression held by some in the room about judges being able to suspend mandatory-minimum sentences. He also noted that the governor did not mention his legislative proposals in the meeting.

“The truth in sentencing package was not mentioned upstairs, but we have very tough laws,” Frosh, a Democrat, said. “We need to do a better job enforcing them. Policing, prosecuting and putting people away who are a danger to others in society.”